Intuition
X exchanges the basis states. Y also exchanges them but introduces phases. Z preserves both basis labels and multiplies |1⟩ by −1. On the Bloch sphere, each Pauli is equivalent up to global phase to a half-turn about its named axis.
S and T produce smaller rotations about z. Starting at a pole can hide these rotations because poles are eigenstates of Z. Begin on the equator to see the azimuth change.
Learning objectives
- Predict Pauli action on basis states
- Relate phase gates to z rotations
- Compose rotation gates
Interactive exploration
Use the controls to change the state and see its calculated readout. You can return to this experiment as you work through the derivation.
State geometry
Drag or use arrow keysQubit controls
|ψ⟩Mathematical foundation
A Pauli rotation exponentiates the corresponding Pauli matrix. Because a Pauli squared is the identity, the even and odd Taylor terms produce cosine and sine.
A phase gate equals a z rotation up to a global factor. S uses α = π/2 and T uses α = π/4.
Worked example
Two T gates give S and four give Z. On |+⟩, the first T advances the azimuth by 45°, and S takes it to 90°, pointing along +y.
Guided experiment
Reset to |0⟩ and apply H, then T twice. Compare with H followed by S. Use Undo to compare the intermediate states.
Go to the controlsCompare with the expected result
Both sequences produce the same final state and different intermediate azimuths.
Understanding check
Next steps
Want to keep your results? Start your learning journey
Open Bloch Sphere