nLab T gate

Redirected from "T-gate".

Context

Quantum systems

quantum logic


quantum physics


quantum probability theory – observables and states


quantum information


quantum technology


quantum computing

Contents

Idea

In quantum information theory and quantum computing, by the T-gate and the S-gate one refers to the quantum gates acting on single qbits that in the defining measurement-basis {|0⟩,|1⟩}\big\{ {\vert 0 \rangle}, {\vert 1 \rangle} \big\} are given by the 2×22 \times 2 complex matrices

T=[1 0 0 e πi/4] T \;=\; \left[ \begin{array}{cc} 1 & 0 \\ 0 & e^{\pi \mathrm{i}/4} \end{array} \right]

and

S=T 2=[1 0 0 i], S \;=\; T^2 \;=\; \left[ \begin{array}{cc} 1 & 0 \\ 0 & \mathrm{i} \end{array} \right] \mathrlap{\,,}

respectively, where “i\mathrm{i}” denotes the imaginary unit.

In particular, the Pauli Z-gate is decomposable into these gates as

Z=S 2=T 4. Z \;=\; S^2 \;=\; T^4 \,.

Remark

Beware of these alternative names and their subtleties:

  • The T-gate is also known as the “π/8\pi/8-gate” (e.g. in Nielsen & Chuang 2000 p xxx), even though the phase rotation is by π/4\pi/4 – but differs by only a global phase from the R Z(π/8)R_Z(\pi/8) rotation gate.

  • The S-gate is also known as the “phase gate”, but that term is ambiguous.

Properties

Role in fault-tolerant quantum computing

The Clifford group of quantum gates on nn qbits (the normalizer of the Pauli group in U(2 n)U(2^n), generated by the Hadamard gate HH, the phase gate S=diag(1,i)S = diag(1,\mathrm{i}) and the CNOT gate) is computationally weak: By the Gottesman-Knill theorem, Clifford quantum circuits acting on stabilizer states and followed by Pauli quantum measurements are efficiently simulable on a classical computer. But adjoining any one non-Clifford gate yields a universal gate set.

The prominent choice of that extra non-Clifford gate is the T-gate T=diag(1,e πi/4)T = \mathrm{diag}(1, e^{\pi \mathrm{i}/4}): The set Clifford+TT generates, up to global phase, a dense subgroup of SU ( 2 n ) SU(2^n) , so that every quantum circuit is efficiently approximated by Clifford+TT circuits (by the Solovay-Kitaev theorem).

The catch is that:

The now standard strategy to work around this problem, trades the missing gate for a resource state: TT-gates are enacted by gate teleportation, consuming magic states |A⟩=T|+⟩\vert A \rangle = T \vert + \rangle via a CNOT, a Z Z -measurement and a classically controlled SS-correction (which are all Clifford operations).

For more see at magic state.

References

General

As a non-Clifford gate

Last revised on October 9, 2026 at 18:00:40. See the history of this page for a list of all contributions to it.