Sign in
← Atlas
Exact & formalGatesPhase gate

T† gate

The Hermitian conjugate (and inverse) of the non-Clifford T gate, applying a -π/4 phase to |1⟩ and appearing throughout fault-tolerant circuits as the T-count partner of T.

phasenon-cliffordsingle qubitinversefault tolerant

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.

T† matters because fault-tolerant compilers count T and T† together as the expensive resource (T-count): the Toffoli decomposition in this catalog, for instance, uses both 4 T and 3 T† gates, and each costs the same magic-state budget.

Circuit & simulation
P(|0⟩) unchanged100%
P(|1⟩) unchanged0%
What this takes and returns
Takes1 qubitWhat joins here

Takes a 1-qubit register and states no assumption about what is on it. That is the whole condition: anything returning 1 qubits can feed it.

15 entries meet this end. Named below.

Returns1 qubitWhat joins here

Returns a 1-qubit register a next stage can take. This is the end that joins.

13 entries meet this end. Named below.

A unitary. The same register goes in and comes out, and this entry states no assumption about what is on it — which is what lets anything of the same width feed it. See all 29 →

How it works

Definition

T=(100eiπ/4)T^\dagger = \begin{pmatrix} 1 & 0 \\ 0 & e^{-i\pi/4} \end{pmatrix}

TT^\dagger is the conjugate transpose of T=diag(1,eiπ/4)T = \mathrm{diag}(1, e^{i\pi/4}), and since TT is unitary, TT^\dagger is also its inverse: TT=TT=ITT^\dagger = T^\dagger T = I.

Action on basis states

T0=0,T1=eiπ/41T^\dagger|0\rangle = |0\rangle, \qquad T^\dagger|1\rangle = e^{-i\pi/4}|1\rangle

Applied to +|+\rangle, TT^\dagger rotates the equatorial phase by π/4-\pi/4, the mirror image of what TT does.

Key identities

  • (T)2=S(T^\dagger)^2 = S^\dagger and (T)8=I(T^\dagger)^8 = I: the phase ladder {I,T,S,}\{I, T^\dagger, S^\dagger, \dots\} steps down in π/4-\pi/4 increments exactly as {I,T,S,}\{I,T,S,\dots\} steps up.
  • T=P(π/4)=RZ(π/4)T^\dagger = P(-\pi/4) = R_Z(-\pi/4) up to global phase.
  • T=T7T^\dagger = T^7 since T8=IT^8=I, so seven applications of TT implement one TT^\dagger when a compiler's native gate set exposes only TT.
  • TT^\dagger is not Clifford: conjugating XX by TT^\dagger does not return a Pauli operator, which is exactly why {H,S,CX,T}\{H, S, \mathrm{CX}, T^\dagger\} (or TT) is needed for universal fault-tolerant quantum computation.
Implementation
Native
t-dagger.qasm
OPENQASM 3.0;
include "stdgates.inc";
qubit q;
tdg q;
Quantum vs classical

Classical baseline

Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.

Quantum claim

The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.

How to compare

Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.

Declared gaps

Nobody has reviewed this record for gaps yet.

Literature & references
Quantum Computation and Quantum Information: 10th Anniversary Edition2010 · Michael A. Nielsen and Isaac L. Chuang

Standard reference for gate matrices, the Clifford/non-Clifford distinction, and controlled-gate constructions used throughout this record.

doi.org/10.1017/cbo9780511976667
OpenQASM 3: A broader and deeper quantum assembly language2021 · Andrew W. Cross, Ali Javadi-Abhari, Thomas Alexander, Niel de Beaudrap, Lev S. Bishop, Steven Heidel, Colm A. Ryan, Prasahnt Sivarajah, John Smolin, Jay M. Gambetta, Blake R. Johnson

Defines the standard gate library (id, sdg, tdg, cy, crz, rxx, rzz, ccx, cx…) used natively by the code snippets on this record.

arxiv.org/abs/2104.14722