Distillation Protocols
Magic-state distillation takes many noisy copies of a magic state and, using only stabilizer operations (Clifford gates, Pauli measurements, and stabilizer-state ancillas), outputs fewer copies of much higher fidelity. The flagship example is the -to- protocol of Bravyi and Kitaev.[^bravyi-kitaev]
The idea: encode, then decode
Distillation is built from a quantum error-correcting code whose transversal (or ) gate is supported by its structure. The recipe is:
- Take noisy copies of the magic state, each carrying error .
- Treat them as if they were the inputs to a transversal logical on a particular code.
- Measure the code's stabilizers. The measurement detects any single faulty input, because the code has distance .
- Post-select on the trivial syndrome (all stabilizers ). If any check fires, throw the batch away and start over. If all checks pass, decode to recover one output magic state.
Because the code detects every weight-one error, a single bad input among the is caught and rejected. The output is corrupted only when three or more inputs were simultaneously bad in a correlated way — an event of order .
The code: quantum Reed–Muller
The -to- protocol uses the punctured quantum Reed–Muller code , a self-dual CSS code on qubits encoding logical qubit with distance . Its defining feature is that the transversal application of (one on each of the physical qubits) implements a logical . Feeding in copies of and measuring the -type stabilizers projects onto the codespace; the surviving logical qubit is a distilled .
The output-error scaling
The headline result, derived by counting which input-error patterns survive post-selection, is that to leading order the output error is
The coefficient counts the weight- error patterns that the distance- code cannot distinguish from a logical error (the minimal-weight representatives of the logical operator); it is the exact leading coefficient computed by Bravyi and Kitaev. The crucial qualitative feature is the cubic suppression: each round of distillation roughly cubes the error. If , one round gives — a improvement from a single round.
Iterating to arbitrary fidelity
Because each round cubes the error (times ), concatenating rounds drives the error down doubly-exponentially fast in . After rounds,
so as long as — i.e. , the threshold of the next lesson — the error collapses toward zero extremely quickly. This is what makes distillation practical: a handful of rounds takes physically-achievable raw error rates down to the – logical-error regime that large algorithms demand.[^fowler-surface]
Beyond 15-to-1
The -to- protocol is conceptually clean but wasteful: inputs (plus rejected batches) per output. A large literature improves the yield — the ratio of output to input copies. Bravyi and Haah constructed a family of "triorthogonal" codes with asymptotically vanishing overhead,[^bravyi-haah] and modern surface-code architectures use multi-level distillation factories whose cost we estimate in the next two lessons. But the -to- routine remains the canonical pedagogical and practical workhorse, and its law is the formula to remember.
[^bravyi-kitaev]: Bravyi, Kitaev, Universal quantum computation with ideal Clifford gates and noisy ancillas, arXiv:quant-ph/0403025. [^bravyi-haah]: Bravyi, Haah, Magic state distillation with low overhead, arXiv:1209.2426. [^fowler-surface]: Fowler, Mariantoni, Martinis, Cleland, Surface codes, arXiv:1208.0928.
Sign in on the full site to ask questions and join the discussion.