The Magic State: The Ingredient Error Correction Cannot Make Cheaply
An error-corrected quantum computer can do most of its steps safely and cheaply. One kind of step it cannot, so it prepares that step in advance as a special state, and making good ones has long been one of the biggest items on the bill.
For one family of operations, the Clifford gatesA family of basic quantum operations, including the Hadamard and CNOT, that the leading error-correcting codes can perform safely., this is manageable. In some codes you apply one by doing the same thing to every physical qubit separately. Nothing couples two qubits of the same block, so an error on one cannot spread to the others.2
But Clifford gates are not enough. A circuit built only from them can be simulated efficiently on an ordinary computer.3 Completing the toolkit takes one more kind of operation, such as the T gateA fixed, small rotation of a qubit’s phase, one eighth of a full turn, which completes the gate set when added to the Clifford gates.. And a theorem says no code that can catch every single-qubit error can perform a complete gate set in that simple, separate way.2 In the leading codes, the T gate is the step left out.
Turning a hard gate into a state
The workaround is to prepare the gate in advance. A magic state is a qubit set up in one special state. Feeding it, together with the data, into a short routine of Clifford operations and a measurement applies a T gate to the data.1 Each magic state is used up once.
This helps because a state, unlike a gate mid-calculation, can be made ahead of time, checked, and thrown away if it looks bad. The trouble is that a freshly made magic state is only about as good as the physical hardware. In one recent experiment, a state put directly into a code had an error of about 4 in 1,000.5 Large algorithms need errors per state of roughly one in a million or far lower.
Distillation: many in, one out
The classic fix is distillation. Take 15 noisy copies, each with error p. Run them through a check circuit made only of Clifford steps. If any check fails, discard all 15. If every check passes, one better copy comes out, with an error of about 35p³.1
If p is 1 percent, the output error is about 3.5 in 100,000. Repeat the trick on 15 of those outputs, 225 starting copies in all, and the error drops to around 1.5 in a trillion.1 It only works if the starting copies are already good enough.
The catch is cost. Every step runs on logical qubits, each built from many physical ones, and distillation became a leading contributor to the expected cost of fault-tolerant computations.4
Cultivation: grow one state in place
Cultivation, proposed in 2024, starts with one state in a small code instead of many protected copies.4 It checks the state repeatedly with cheap physical operations inside that code, enlarging the code as the state improves. Any alarm, and the attempt is thrown away and restarted. A survivor moves into a larger code to be kept. In simulations, its authors estimated it needs about as many physical gates as one logical two-qubit gate of similar reliability, at the price of discarding most attempts.4
Figure 1: Two ways to make a good magic state. Distillation spends 15 protected copies to get one better one. Cultivation checks a single state inside a small, growing code and starts over at any alarm. Both pay by throwing attempts away.
An experiment on a superconducting processor then tested it. The error fell about 40-fold, to roughly 1 in 10,000, keeping about 8 percent of attempts.5 When the state was moved into a larger code, that code’s own errors brought it back to about the level without cultivation. The authors call that step a proof of principle.5
Why it matters
The cost of a quantum algorithm is often counted mainly in the operations that need magic states, so cheaper magic states lower the estimated bill for many large algorithms.4
S. Bravyi and A. Kitaev, “Universal quantum computation with ideal Clifford gates and noisy ancillas,” Physical Review A 71, 022316 (2005). DOI: 10.1103/PhysRevA.71.022316; arXiv:quant-ph/0403025. (Clifford operations plus magic states suffice for universal computation; 15-copy distillation: success only when all checks pass, yield close to 1/15, output error about 35ε³ for small ε, recursion over levels; distillation requires inputs better than a threshold.) ↩
B. Eastin and E. Knill, “Restrictions on transversal encoded quantum gate sets,” Physical Review Letters 102, 110502 (2009). arXiv:0811.4262. (Transversal gates do not couple qubits within a block and so do not spread errors; a code that detects any single-qubit error cannot have a universal transversal gate set.) ↩
S. Aaronson and D. Gottesman, “Improved simulation of stabilizer circuits,” Physical Review A 70, 052328 (2004). arXiv:quant-ph/0406196. (Gottesman-Knill theorem: circuits of CNOT, Hadamard and phase gates can be simulated efficiently on a classical computer.) ↩
C. Gidney, N. Shutty, and C. Jones (Google Quantum AI), “Magic state cultivation: growing T states as cheap as CNOT gates,” preprint, arXiv:2409.17595 (2024). (Non-Clifford gates costly in the surface code; distillation runs on logical operations and has been a leading contributor to the expected cost of fault-tolerant computation; algorithm costs often counted in magic-state gates; cultivation grows one state and its code, postselects on error detection, then escapes to a larger code; roughly the gates of a lattice-surgery CNOT of equivalent reliability; simulated end-to-end discard rates of 80 to 99 percent.) ↩
E. Rosenfeld, C. Gidney, et al. (Google Quantum AI and collaborators), “Magic state cultivation on a superconducting quantum processor,” Science (published online October 15, 2026), DOI: 10.1126/science.aee7961; preprint arXiv:2512.13908 (December 2025). (Injection-only logical error 4.4(2) × 10⁻³; cultivation in a distance-3 color code reduces error about 40-fold, upper bound 1(1) × 10⁻⁴, about 8 percent of attempts retained; magic states consumed by gate teleportation; infidelities of about 10⁻⁶ to 10⁻¹⁰ needed by applications; after grafting into a distance-5 surface code the state’s quality was about the same as injection-only, limited by the larger code’s idle error; described as a proof of principle. Numbers checked against the arXiv v1 text.) ↩
A. Lavasani, A. P. Reed, J. M. Dreiling, et al. (Quantinuum), “Quantum error correction well below the color code threshold,” preprint, arXiv:2610.24077 (October 16, 2026). (Color-code memory at distances 3, 5 and 7 on a trapped-ion processor; logical error suppression factor Λ = 12 (+3/−2) per increase in code distance.) ↩