Pauli-Y gate
Flips the bit and adds a phase of ±i, a half-turn about the Y axis.
Bit and phase flip · 1 qubit · reviewed November 2026
Matrix
[ 0 −i ] [ i 0 ]
What it does
| |0⟩ | → | i|1⟩ |
| |1⟩ | → | −i|0⟩ |
In plain words
Y equals i·X·Z. It does both a bit flip and a phase flip, and it is the third of the Pauli gates together with X and Z. Any single-qubit error can be written as a mix of I, X, Y and Z, which is why error correction focuses on them.
Identities
- Y·Y = I
- Y = i·X·Z
- Y = RY(π) up to a global phase
Where it is used
- Modelling errors
- Completing the set of Pauli rotations
- Measuring in the Y basis with the help of S† and H
Code
# Qiskit qc.y(0) // OpenQASM 2.0 y q[0];
Qiskit prints qubit 0 on the right of a bitstring. The builder prints it on the left.
Related gates
Questions
Why is Y used less than X and Z?
Algorithms can usually be written with X and Z flips and rotations, so Y shows up mostly in analysis and error models.