intermediate · Physics · Spin-½ Systems & Pauli Algebra
The Rotation Operator for Spin
Time evolution under a spin Hamiltonian, and any single-qubit gate, is a rotation of the spin
state. The operator that rotates a spin by angle θ about a unit axis n^ is the exponential
of the corresponding spin component.
Deriving the rotation operator
Evolution generated by n^⋅S=2ℏn^⋅σ
produces
Rn^(θ)=exp(−i2θn^⋅σ).
Because (n^⋅σ)2=I, the exponential series splits into even and odd parts
that resum into cosine and sine — just as eix=cosx+isinx, but with the matrix
n^⋅σ in place of the unit:
Rn^(θ)=cos2θI−isin2θ(n^⋅σ).
The half-angleθ/2 reappears: rotating physical space by θ rotates the state by
θ/2.
The three axis rotations
Specializing to the coordinate axes gives the familiar qubit rotation gates:
In particular RZ(θ)=diag(e−iθ/2,e+iθ/2), which winds
the relative phase between ∣0⟩ and ∣1⟩ — precisely the Larmor precession of the previous
lessons.
The 4π identity
Setting θ=2π gives
Rn^(2π)=cosπI−isinπ(n^⋅σ)=−I.
A full 2π rotation does not return a spin-½ to itself — it multiplies the state by −1. Only a
4π rotation gives Rn^(4π)=+I. This sign is real and measurable in neutron
interferometry, and it is the geometric heart of the spinor nature of spin-½.
Try it
Prepare ∣+x⟩ with a Hadamard, then rotate about the z-axis by θ=π/2 using
RZ(θ). The Bloch arrow should swing from +x to +y.
Run your code to see the quantum state.
Sign in on the full site to ask questions and join the discussion.