Why Magic States
A fault-tolerant quantum computer is built from a quantum error-correcting code together with a set of logical gates that can be applied without spreading errors uncatastrophically. The cleanest such gates are transversal: they act on the encoded block as a tensor product of single-physical-qubit operations, so a fault in one physical qubit stays confined to one qubit of the block. Transversality is exactly what makes a gate fault-tolerant for free. The trouble is that transversal gates are not enough.
The Eastin–Knill obstruction
The Eastin–Knill theorem states that for any quantum code that detects at least one error, the set of transversal logical gates is a finite group — and a finite group can never be universal for quantum computation, because universality requires a dense subgroup of the (continuous) unitary group.[^gottesman-eastin-knill]
For many natural codes the transversal gates land inside the Clifford group
the normalizer of the -qubit Pauli group . The Clifford group is generated by and is the symmetry group of the stabilizer formalism. But the Clifford group alone is not universal — worse, by the Gottesman–Knill theorem any circuit built only from Clifford gates, stabilizer-state inputs, and computational-basis measurements can be simulated efficiently on a classical computer. A purely Clifford "quantum computer" offers no speedup.
The missing ingredient
To climb out of the Clifford world we need just one non-Clifford gate. The canonical choice is the gate (the gate)
The set — Clifford plus — is universal: any unitary can be approximated to arbitrary precision. So fault-tolerant universality reduces to one problem: implement fault-tolerantly. And that is precisely the gate the Eastin–Knill theorem forbids us from getting transversally on a code whose transversal set is the Clifford group.
Magic states resolve the tension
The resolution, due to Bravyi and Kitaev, is to move the hard part off the data and into a special ancilla.[^bravyi-kitaev] Suppose we are handed a fresh copy of the magic state
Then, using only Clifford operations (a controlled-NOT, a measurement, and a Clifford correction that depends on the outcome), we can consume that one copy of to apply a gate to an arbitrary data qubit. The non-Clifford resource has been factored out of the circuit: the only thing that is not Clifford is the preparation of , which is done once, offline, in a dedicated factory.
Why "magic"?
States that can be prepared by Clifford circuits from are stabilizer states, and they are classically simulable. A magic state is a state that lies outside the stabilizer set in a way that cannot be removed by Cliffords — it carries genuine non-Clifford resource, which later lessons quantify with magic monotones. The term is informal but vivid: this little ancilla is the spark that the otherwise-classical Clifford machinery cannot manufacture for itself.
The catch, and the rest of the module
There is one more obstacle. Because cannot be made by a transversal (hence cheap, robust) circuit, factories produce it noisily. A raw magic state arrives with some error probability . Magic-state distillation is the protocol that takes many noisy copies and, using only Clifford operations and measurements, outputs fewer copies of much higher fidelity. The rest of this module develops this story: the gate and its magic state, the stabilizer/magic distinction, injection, noise models, the famous 15-to-1 distillation routine, its error threshold, its resource cost, and the monotones that measure magic.
[^bravyi-kitaev]: Bravyi, Kitaev, Universal quantum computation with ideal Clifford gates and noisy ancillas, arXiv:quant-ph/0403025. [^gottesman-eastin-knill]: Eastin, Knill, Restrictions on transversal encoded quantum gate sets, arXiv:0811.4262.
Sign in on the full site to ask questions and join the discussion.