S and T Gates

qc/gates qc/math

Two more special cases of the general phase gate , smaller rotations than Z’s full half-turn:

S (“phase gate,” a quarter-turn about the Z-axis) and T (sometimes called the ” gate,” an eighth-turn). and — each is literally a finer subdivision of the last, all rotating about the same axis on the Bloch Sphere.

Why T specifically matters

Key insight: T is the standard “magic” gate that shows up throughout fault-tolerant quantum computing. See Universal Gate Sets and the Clifford Group for why — S and H are not enough on their own, but adding T is. This is also the exact T referenced (without being defined) in Error Correction (EC)‘s magic state distillation section: “prepare many noisy magic states… consume one via gate teleportation to apply a fault-tolerant T gate” — this note is what that T actually is.

Self-Check

  • Could you write the matrices for S and T and verify ?
  • Why are S and T both described as smaller rotations than Z, geometrically?
  • Why does Error Correction (EC) care about T specifically, rather than S or Z?