|q⟩ Bad Qubits

advanced · Physics · Fault-Tolerant Quantum Computing

Resource States

Why we need special states

Eastin–Knill forbids a universal transversal gate set, so the non-Clifford gate that makes computing universal — typically T=diag(1,eiπ/4)T = \mathrm{diag}(1, e^{i\pi/4}) — cannot be applied transversally to a fixed code. The dominant resolution is to manufacture a resource state offline and consume it to enact the gate using only operations the code does support fault-tolerantly: Clifford gates and measurement. The non-transversal difficulty is thereby exported out of the live computation into the preparation of these states.

The magic state and gate teleportation

The resource state for the TT gate is the magic state

T=T+=12(0+eiπ/41).|T\rangle = T|+\rangle = \tfrac{1}{\sqrt2}\big(|0\rangle + e^{i\pi/4}|1\rangle\big).

Given one clean copy of T|T\rangle, a TT gate is applied to a data qubit by a short circuit using only a CNOT, a measurement, and a Clifford correction conditioned on the outcome. The circuit "teleports" the TT through:

Tψ=(Clifford correction)(measure)CNOT(ψT).T|\psi\rangle = \big(\text{Clifford correction}\big)\circ \big(\text{measure}\big)\circ \mathrm{CNOT}\,\big(|\psi\rangle \otimes |T\rangle\big).

The correction is either II or the Clifford SS depending on the measurement bit. Every operation the live data sees is Clifford and therefore transversal — only the consumed ancilla carried the non-Clifford content. The same idea supplies Toffoli gates from a CCZ|CCZ\rangle resource state.

Distillation: clean states from dirty ones

Raw magic states prepared on hardware are noisy — too noisy to inject directly, since their error feeds straight into the logical computation. Magic-state distillation purifies them: take many noisy copies, run them through a small stabilizer (Clifford-only) circuit that detects errors, and post-select on the "no error detected" outcome. The survivors are cleaner. The classic Bravyi–Kitaev 1515-to-11 protocol (built from the [[15,1,3]][[15,1,3]] Reed–Muller code) takes 1515 input copies of error rate pp and outputs one copy with error rate

pout35p3.p_{\text{out}} \approx 35\,p^{3}.

The cubic suppression means a few rounds of distillation drive the magic-state error far below the surrounding logical error rate. Because distillation uses only Clifford circuits, it is itself fully fault-tolerant — the impossibility theorem is respected at every step.

The cost, and why factories dominate

Distillation is the expensive part of a fault-tolerant machine. A factory consumes many physical qubits and many rounds of error correction to emit one clean magic state, and an algorithm rich in TT gates may need a continuous stream of them. In surface-code resource estimates the magic-state factories frequently occupy more chip area than the logical data qubits they feed. Reducing this cost — better distillation protocols, lower input error rates, or schemes that prepare good magic states with less overhead (such as cultivation directly on the code) — is one of the most active fronts in fault-tolerant architecture design.

Other resource states

Magic states are the most prominent example, but the resource-state viewpoint is broader. Cluster states are the universal resource for measurement-based quantum computation, where the entire computation is a pattern of single-qubit measurements on a pre-entangled lattice. Bell pairs are the resource for teleportation-based gates and for Knill's error-correction scheme. In each case a specific entangled state, prepared and verified in advance, is consumed to drive computation — fault tolerance becomes the discipline of preparing those states reliably and spending them wisely.

What to remember

Universality is recovered without violating Eastin–Knill by consuming resource states — above all the magic state T|T\rangle — through Clifford-only injection. Noisy copies are purified by distillation, whose cubic-or-better error suppression makes clean magic states at the price of large factories that often dominate a fault-tolerant computer's footprint.

Sign in on the full site to ask questions and join the discussion.