The Pauli-Y gate

Pauli-Y also swaps ∣0⟩|{0}\rangle and ∣1⟩|{1}\rangle, but it turns the sphere about the y axis instead of x, and it adds phases on the way: Y∣0⟩=i∣1⟩Y|0\rangle = i|1\rangle and Y∣1⟩=−i∣0⟩Y|1\rangle = -i|0\rangle.

On the Bloch sphere, Y turns the whole sphere 180° about y.

A Bloch sphere: Y turns the arrow 180° about y, from where it starts (dashed) along the arc to where it ends.|0⟩|1⟩|+⟩|−⟩|+i⟩|−i⟩
Y turns ∣0⟩|{0}\rangle half a turn about the y axis. It passes ∣+⟩|{+}\rangle on the way to ∣1⟩|{1}\rangle.

The matrix

Y=[0−ii0]Y = \begin{bmatrix} 0 & -i \\ i & 0 \end{bmatrix}

Column 0 is (0,i)(0, i), so Y sends ∣0⟩|{0}\rangle to i∣1⟩i|1\rangle. On any state:

Y (α∣0⟩+β∣1⟩)=−iβ ∣0⟩+iα ∣1⟩Y\,(\alpha|0\rangle + \beta|1\rangle) = -i\beta\,|0\rangle + i\alpha\,|1\rangle

As a rotation

Y=i Ry(180∘)Y = i\,R_y(180^\circ)

The factor ii in front is a global phase: it changes the matrix but not what any measurement sees, so Y and Ry(180∘)R_y(180^\circ) turn the sphere the same way. See rotation gates.

What it does to the six key states

BeforeAfter YOn the sphere
∣0⟩|{0}\ranglei∣1⟩i|{1}\rangle+z → −z
∣1⟩|{1}\rangle−i∣0⟩-i|{0}\rangle−z → +z
∣+⟩|{+}\rangle−i∣−⟩-i|{-}\rangle+x → −x
∣−⟩|{-}\ranglei∣+⟩i|{+}\rangle−x → +x
∣+i⟩|{+i}\rangle∣+i⟩|{+i}\ranglestays put
∣−i⟩|{-i}\rangle−∣−i⟩-|{-i}\ranglestays put

A factor in front of a result, such as a minus sign or ii, is a global phase: the arrow lands on the named state all the same.

X and Y: the same flip by a different road

On ∣0⟩|{0}\rangle and ∣1⟩|{1}\rangle, X and Y look alike: both flip one to the other, and the ii in front is a global phase. They differ on the equator. X leaves ∣+⟩|{+}\rangle where it is and swaps ∣+i⟩|{+i}\rangle with ∣−i⟩|{-i}\rangle; Y leaves ∣+i⟩|{+i}\rangle where it is and swaps ∣+⟩|{+}\rangle with ∣−⟩|{-}\rangle. Each gate keeps the states on its own axis.

Y is X and Z combined: Y=i XZY = i\,X Z. As turns, a half turn about z followed by a half turn about x is a half turn about y.

Try it

See also: Pauli-X · Pauli-Z · All gates