T Gate
The T gate applies a pi/4 phase rotation to |1⟩, mapping |1⟩ to e^(i*pi/4)|1⟩. It is the square root of the S gate and essential for universal quantum computation.
What it means
The T gate (also called the pi/8 gate because T = e^(i*pi/8) * Rz(pi/4)) applies a phase of e^(i*pi/4) to |1⟩.Its matrix is [[1,0],[0,e^(i*pi/4)]].On the Bloch sphere, it is a 45-degree rotation about the z-axis.T-squared = S and T to the fourth = Z.The T gate is crucial because it is the simplest gate outside the Clifford group, and together with the Clifford gates (H, S, CNOT), it completes a universal gate set.This means any quantum computation can be approximated to arbitrary precision using only H, S, T, and CNOT gates.T gates are expensive in fault-tolerant quantum computing, requiring magic state distillation.Everyday analogy
Common misconceptions
- The T gate is NOT a Clifford gate -- it extends the Clifford group to achieve universality.
- The T gate is NOT cheap in fault-tolerant computing -- it requires expensive magic state distillation, making T-count a key optimization metric.
Key takeaways
- T|0⟩ = |0⟩, T|1⟩ = e^(i*pi/4)|1⟩ -- a 45-degree phase rotation.
- T + Clifford gates (H, S, CNOT) = universal gate set.
- T gate count is a primary cost metric in fault-tolerant quantum computing.
Check your understanding
Why is the T gate significant for universal quantum computation?
- A.It is the fastest gate
- B.It completes the universal gate set when added to Clifford gates
- C.It creates entanglement
- D.It measures qubits
Show the answer
Answer: B. It completes the universal gate set when added to Clifford gates
Why: The T gate is the simplest non-Clifford gate. Adding it to the Clifford group (H, S, CNOT) creates a universal gate set capable of approximating any unitary operation.
Builds on
Primary source: Barenco et al., Phys. Rev. A 52, 3457 (1995), doi:10.1103/PhysRevA.52.3457
T + Clifford universality per Boykin et al. (1999).
Learn it hands-on
This concept is part of a 46-level curriculum with an interactive simulator and Lumen, a tutor whose answers are verified before you see them. Levels 1–5 are free.
