quantum gate directory
Shift
Symbol
$X_d$
Qubits: $1$ Dimension: $d$
Description:
Qudit generalization of Pauli-$X$ that cyclically increments the basis state, $|j\rangle \mapsto |j+1 \bmod d\rangle$.
Alternate notations:
- $X_d$
- $\Sigma_x$
- $\tau$
Controlled variant: Controlled Shift (SUM)
SDK Support
| SDK | Name |
|---|---|
| Qiskit | — |
| PennyLane |
pennylane.TShift
ⓘ
|
| Cirq | — ⓘ |
| Q# | — |
| PyQuil | — |
| Braket | — |
| BQSKit |
bqskit.ir.gates.ShiftGate
ⓘ
|
| Qibo | — |
| pytket | — |
| Stim | — |
| OpenQASM | — |
Groups
This gate is contained in the following groups:
The shift gate generalizes Pauli-$X$ from qubits to $d$-level qudits. Instead of flipping between two states, it cycles through all $d$ of them:
$$ X_d |j\rangle = |j + 1 \bmod d\rangle, \qquad X_3 = \begin{bmatrix} 0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{bmatrix} $$
Properties
- Order $d$: $X_d^d = I$, and for $d > 2$ the gate is not Hermitian — its inverse is the down-shift $X_d^{d-1}$. At $d = 2$ it reduces exactly to Pauli-$X$.
- A permutation matrix, hence real and orthogonal.
- Weyl commutation relation with the clock gate: $Z_d X_d = \omega \, X_d Z_d$ where $\omega = \mathrm{e}^{2\pi i/d}$. Together, products $\omega^a X_d^b Z_d^c$ form the generalized Pauli (Weyl–Heisenberg) group.
- Diagonalized by the Fourier transform: $F X_d F^\dagger = Z_d$, so its eigenvalues are the $d$-th roots of unity and its eigenvectors are the Fourier basis states.
Usage
- Together with the clock gate, this is the starting point for qudit stabilizer codes, qudit teleportation, and discrete phase-space (Wigner function) constructions.
Back to home