T Gate

The “magic” gate that enables universal quantum computation when combined with Clifford gates.


The T gate (also called the π/8 gate) is a single-qubit phase gate needed for universal quantum computation.

Definition

Action: ,

The name “π/8 gate” comes from writing where the global phase is π/8.

Why T is Special

Non-Clifford

The Clifford gates (H, S, CNOT, and combinations) can be efficiently simulated classically. Adding the T gate makes the gate set universal and computationally powerful.

Magic States

T gates can be implemented using “magic states” and Clifford operations:

This is important for fault-tolerant quantum computing.

T Gate Count

In fault-tolerant quantum computing, T gates are typically the most expensive operation (requiring complex state distillation). Algorithm efficiency is often measured in T-count: the number of T gates required.

OperationApproximate T-count
Toffoli~7
Controlled rotation~10-50
Quantum arithmeticVaries widely

Properties

T† (T-dagger) is the inverse:

Bloch Sphere

T is a π/4 (45°) rotation around the Z-axis, an eighth of a full rotation.

In Practice

T gates appear throughout quantum algorithms:


See also: Phase Gate, Universal Gate Set, Fault-Tolerant Quantum Computing, Toffoli Gate