Explainer
Magic states and magic state distillation explained
Error-corrected qubits can do only a limited set of operations easily, and a universal quantum computer also needs special resource states called magic states.[1][2] Distillation turns many noisy magic states into fewer, better ones. It was shown on logical qubits in a 2025 Nature paper, and newer proposals aim to make it much cheaper.[3][4][5]
Reading order: read quantum gates and circuits, quantum error correction and the surface-code first. This page explains the last missing ingredient for a fault-tolerant computer.
The problem: protected qubits can’t do everything
Error correction spreads one reliable “logical” qubit across many noisy physical qubits.[6] The catch is that only some operations are easy to perform on these protected qubits.[1] The easy ones, called Clifford operations, are not enough on their own. Circuits made only of them can be simulated efficiently on an ordinary computer.[7] To run the algorithms that make quantum computers interesting, the machine needs one more ingredient.
Transversal gates act qubit by qubit across code blocks, so they cannot spread an error within a block.[8] The Eastin-Knill theorem (2009) shows that any code that can detect an arbitrary single-qubit error lacks a universal transversal gate set.[9] A non-Clifford gate such as T must therefore be supplied another way.[1][10]
Magic states and distillation
In 2005 Bravyi and Kitaev showed a way round this. If the computer can prepare special “magic states”, Clifford operations plus those states are enough for any quantum computation.[2] Magic states made directly on hardware are noisy, so they are purified. Distillation takes several noisy copies and produces one better copy. Repeating it gives states as clean as needed, provided the starting copies are good enough.[3]
Bravyi and Kitaev considered a model with ideal Clifford unitaries, computational-basis preparation and measurement, plus a noisy one-qubit ancilla. Their protocols raise the ancilla’s polarization along “magic” directions. Above a threshold of about 65% polarization, iteration converges to a pure magic state.[3] Clifford operations plus magic-state preparation then give universal quantum computation.[2]
Why it is expensive
Distillation has often been seen as a very costly step that dominates the resources of a fault-tolerant quantum computer.[11] One 2026 Google estimate for breaking elliptic-curve encryption, for example, called for 90 million non-Clifford (Toffoli) gates on fewer than 1,200 logical qubits.[12] A 2019 paper in the journal Quantum argued the cost had been overstated. Most qubits used in distillation can be encoded at low code distance, and in extreme cases distilling a magic state can cost less than a logical Clifford gate.[13]
A demonstration on logical qubits
A team using a neutral-atom quantum computer reported in Nature in 2025 that it had distilled magic states encoded in logical qubits. It used colour codes of distance 3 and 5, and the output magic states had higher logical fidelity than the inputs.[4] Later that year Harvard, MIT and QuEra reported a 448-atom architecture that combined the essential elements of scalable error-corrected computing.[14]
Cultivation and what’s still open
A 2024 preprint proposed “magic state cultivation”, which grows a single T state step by step inside one surface-code patch. Its authors estimate it uses roughly as many physical gates as one lattice-surgery CNOT of equal reliability.[15] In simulations it used about ten times fewer qubit-rounds than earlier methods to reach very low error rates. The authors suggest further distillation “may never be needed in practice”.[5] That is a preprint and simulation result, not yet an experiment.
Open questions this page tracks: whether cultivation-style methods work on real hardware, how large magic-state factories must be for useful algorithms, and how much they add to the qubit counts in published resource estimates.
Read next
Next in the crash course
AlphaQubit: AI that decodes quantum computing errors
AlphaQubit is a Google DeepMind neural network that finds quantum computing errors more accurately than earlier decoders, but not yet in real time.
More in Quantum computing
Questions readers ask
What is a magic state?
A special quantum state that, combined with the "Clifford" operations that error-corrected qubits do easily, makes universal quantum computing possible.[2][1]
Why can't error-correcting codes just do every gate directly?
A 2009 theorem showed that no code able to detect an arbitrary single-qubit error has a universal set of transversal gates, the simplest fault-tolerant kind.[9]
What does distillation do?
It consumes several noisy copies of a magic state to make one better copy. It works only if the inputs are already above a quality threshold.[3]
Has magic state distillation been done on real hardware?
Yes. A neutral-atom experiment published in Nature in 2025 distilled magic states encoded in logical qubits and got outputs of higher fidelity than the inputs.[4]
Sources
· 15 claims from 7 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
The logical operations that are easy to perform on error-corrected qubits are often limited, so universal, classically hard circuits need special resource states known as magic states. confirmedas of 2026-11-22
- Experimental demonstration of logical magic state distillation (Nature 645, 620-625, 2025; PubMed abstract) · Nature (via PubMed, NLM) · Primary source · 2025-07-14 (retrieved 2026-11-22)
- [2]
Bravyi and Kitaev showed in 2005 that Clifford operations combined with the preparation of special "magic" states are enough for universal quantum computation. confirmedas of 2026-11-22
- Universal quantum computation with ideal Clifford gates and noisy ancillas (Phys. Rev. A 71, 022316, 2005) · Physical Review A (American Physical Society) · Primary source · 2005-02-22 (retrieved 2026-11-22)
- [3]
Their purification (distillation) protocols consume several noisy copies of a state to produce one better copy, and work if the input quality along a "magic" direction exceeds a threshold of about 65% polarization. confirmedas of 2026-11-22
- Universal quantum computation with ideal Clifford gates and noisy ancillas (Phys. Rev. A 71, 022316, 2005) · Physical Review A (American Physical Society) · Primary source · 2005-02-22 (retrieved 2026-11-22)
- Universal quantum computation with ideal Clifford gates and noisy ancillas (Phys. Rev. A 71, 022316, 2005) · Physical Review A (American Physical Society) · Primary source · 2005-02-22 (retrieved 2026-11-22)
- [4]
A team using a neutral-atom quantum computer reported in Nature in 2025 the experimental distillation of magic states encoded in logical qubits (color codes of distance 3 and 5), with output states of higher logical fidelity than the inputs. confirmedas of 2026-11-22
- Experimental demonstration of logical magic state distillation (Nature 645, 620-625, 2025; PubMed abstract) · Nature (via PubMed, NLM) · Primary source · 2025-07-14 (retrieved 2026-11-22)
- Experimental demonstration of logical magic state distillation (Nature 645, 620-625, 2025; PubMed abstract) · Nature (via PubMed, NLM) · Primary source · 2025-07-14 (retrieved 2026-11-22)
- Experimental demonstration of logical magic state distillation (Nature 645, 620-625, 2025; PubMed abstract) · Nature (via PubMed, NLM) · Primary source · 2025-07-14 (retrieved 2026-11-22)
- [5]
A 2024 preprint proposed "magic state cultivation", which grows one T state inside a surface-code patch and, in simulation, used about ten times fewer qubit-rounds than prior methods to reach very low error rates; its authors suggest further distillation may never be needed in practice. reportedas of 2026-11-22· interpretation
- Magic state cultivation: growing T states as cheap as CNOT gates (arXiv:2409.17595, preprint) · arXiv · Secondary source · 2024-09-26 (retrieved 2026-11-22)
- Magic state cultivation: growing T states as cheap as CNOT gates (arXiv:2409.17595, preprint) · arXiv · Secondary source · 2024-09-26 (retrieved 2026-11-22)
- [6]
In the surface code, data qubits and measure qubits are interleaved on a square lattice; repeated measurements flag physical errors without disturbing the stored logical information. confirmedas of 2026-01-13
- Dynamic surface codes open new avenues for quantum error correction · Google Research · Primary source · 2026-01-13 (retrieved 2026-10-10)
- Dynamic surface codes open new avenues for quantum error correction · Google Research · Primary source · 2026-01-13 (retrieved 2026-10-10)
- [7]
Under the Gottesman-Knill theorem, a circuit made only of CNOT, Hadamard and phase gates (a stabilizer circuit) can be simulated efficiently on a classical computer. confirmedas of 2026-11-22
- Improved simulation of stabilizer circuits (Phys. Rev. A 70, 052328, 2004) · Physical Review A (American Physical Society) · Primary source · 2004-11-30 (retrieved 2026-11-22)
- [8]
Transversal gates do not couple physical qubits within the same code block, so they do not spread errors inside a block. confirmedas of 2026-11-22
- Restrictions on transversal encoded quantum gate sets (Phys. Rev. Lett. 102, 110502, 2009) · Physical Review Letters (American Physical Society) · Primary source · 2009-03-18 (retrieved 2026-11-22)
- [9]
A 2009 theorem showed that no quantum code able to detect an arbitrary error on a single physical qubit can have a universal set of transversal gates, the simplest fault-tolerant kind. confirmedas of 2026-11-22
- Restrictions on transversal encoded quantum gate sets (Phys. Rev. Lett. 102, 110502, 2009) · Physical Review Letters (American Physical Society) · Primary source · 2009-03-18 (retrieved 2026-11-22)
- [10]
The Solovay-Kitaev algorithm compiles any single-qubit gate into an efficient sequence of gates from a fixed, finite set, such as the set of Hadamard, controlled-NOT and pi/8 gates used for fault tolerance. reportedas of 2026-11-22
- The Solovay-Kitaev algorithm (arXiv:quant-ph/0505030; accepted to Quantum Information and Computation as a review article) · arXiv · Secondary source · 2005-05-04 (retrieved 2026-11-22)
- The Solovay-Kitaev algorithm (arXiv:quant-ph/0505030; accepted to Quantum Information and Computation as a review article) · arXiv · Secondary source · 2005-05-04 (retrieved 2026-11-22)
- [11]
Magic state distillation has often been considered a very costly step that dominates the resources of fault-tolerant quantum computers. confirmedas of 2026-11-22
- Magic State Distillation: Not as Costly as You Think (Quantum 3, 205, 2019; publisher abstract via the Crossref record, as quantum-journal.org timed out) · Quantum (via Crossref) · Primary source · 2019-12-02 (retrieved 2026-11-22)
- [12]
In March 2026 Google researchers, in work framed around safeguarding cryptocurrency, estimated that 256-bit elliptic-curve cryptography could be broken with fewer than 1,200 logical qubits and 90 million Toffoli gates, or fewer than 500,000 physical superconducting qubits running for a few minutes, under standard hardware assumptions. confirmedas of 2026-03-31
- Safeguarding cryptocurrency by disclosing quantum vulnerabilities responsibly · Google Research · Primary source · 2026-03-31 (retrieved 2026-10-10)
- [13]
A 2019 paper in Quantum argued that by encoding most distillation qubits at low code distance, distilling a magic state can in extreme cases cost less than a logical Clifford gate on full-distance qubits. confirmedas of 2026-11-22· interpretation
- Magic State Distillation: Not as Costly as You Think (Quantum 3, 205, 2019; publisher abstract via the Crossref record, as quantum-journal.org timed out) · Quantum (via Crossref) · Primary source · 2019-12-02 (retrieved 2026-11-22)
- [14]
In November 2025 Harvard, MIT and QuEra researchers reported in Nature an architecture using up to 448 rubidium-atom qubits that combined the essential elements of scalable error-corrected computation and suppressed errors below the threshold. confirmedas of 2025-11-12
- A potential quantum leap · Harvard Gazette · Primary source · 2025-11-12 (retrieved 2026-10-10)
- [15]
The cultivation preprint estimates that the procedure fits inside one surface-code patch and uses roughly as many physical gates as a lattice-surgery CNOT of the same reliability. reportedas of 2026-11-22· interpretation
- Magic state cultivation: growing T states as cheap as CNOT gates (arXiv:2409.17595, preprint) · arXiv · Secondary source · 2024-09-26 (retrieved 2026-11-22)
Revision history (1)
- Page created.
Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: May 24, 2027.
Cite this page
"Magic states and magic state distillation explained." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/magic-state-distillation
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.