Future Predictions · Error Correction
Magic States and the Cost of Non-Clifford Gates
Error-corrected machines get most operations cheaply but need special resource states for the T gate. Magic state factories have consumed half or more of the qubits in resource estimates, and new methods such as cultivation could cut that cost by about an order of magnitude.
Why a special state is needed
Fault-tolerant machines can perform some gates, the Clifford gates, easily and exactly on encoded qubits. Those gates alone cannot do a useful quantum computation, because circuits made only of Clifford gates can be simulated efficiently on a classical computer, by the Gottesman-Knill theorem. A non-Clifford gate such as the T gate is required, and the Eastin-Knill theorem of 2009 shows that no code that detects local errors can implement a universal gate set transversally, so some extra technique is unavoidable.
The standard solution, proposed by Bravyi and Kitaev in 2005, is to prepare a special state, a magic state, offline and consume it with a small circuit that teleports the gate onto the data, a method of gate teleportation described by Gottesman and Chuang in 1999. The difficulty is that the magic state itself must be of very high quality, often with error of one part in a billion or better, while raw preparation gives errors of about one percent.
The traditional approach: distillation
Magic state distillation purifies many noisy states into fewer good ones using Clifford operations and measurements. The best-known protocol takes 15 noisy states with error p and produces one with error about 35 p cubed. Repeating rounds reaches the required quality, but each round multiplies the number of states consumed by 15, so full distillation uses hundreds of raw states per output and requires regions of the chip set aside as factories.
Resource estimates show the consequence. In the 2019 estimate by Gidney and Ekerå for RSA-2048, factories take a large fraction of the machine, and in estimates for chemistry, the number of T gates, which can reach billions to trillions, sets the run time as well as the size. Litinski showed in 2019 that careful layouts and lattice surgery reduce the cost substantially, but it remained a dominant term.
New methods: cultivation and logical-level experiments
In 2024, Gidney, Shutty, and Jones proposed magic state cultivation. A small color code is prepared in a noisy T-like state and repeatedly checked by measurements, with runs discarded when errors are detected, and the code is enlarged in stages before the state is moved into a surface code. At a physical error rate of 0.1 percent, the method produces T states with error near a part in a billion at a cost of a few hundred qubit-rounds, roughly the cost of a few CNOT gates and about an order of magnitude below distillation. The 2025 estimate that RSA-2048 could be factored with under a million noisy qubits relied on it.
Experiments are beginning. QuEra and Harvard reported logical-level magic state distillation on a neutral-atom machine in 2025, and Quantinuum has reported logical magic states with fidelity beyond that of physical ones on its trapped-ion systems. These experiments are small and have not shown the full scaling, but they confirm that the steps work on real hardware.
Alternatives
Other routes to non-Clifford gates exist. Some three-dimensional codes have transversal T gates, which avoids magic states but needs a three-dimensional layout that is natural in atom arrays and photonic architectures. Code switching moves a logical qubit between two codes that together have complementary transversal gates, at a cost in time and qubits. Gauge fixing and other techniques fall in a similar family. For rotations by arbitrary angles, which appear in simulation and chemistry, synthesis of rotations with T gates, as in the work of Ross and Selinger, costs several T gates per rotation, and algorithms that reduce the number of rotations lower the cost directly.
A different approach is to reduce the demand for T gates in the algorithm, with better arithmetic circuits, qubitization instead of Trotter steps, and tensor hypercontraction for chemistry, as in the work of Lee and coauthors. In practice, the future cost of non-Clifford gates will be set by both hardware methods and algorithm design.
Our assessment
We expect the cost of T gates to fall substantially over the next five years as cultivation and related methods are demonstrated and as architectures integrate them. By around 2030, we expect magic state production to be a smaller share of a large machine, perhaps a quarter or less, compared with half or more in older estimates, although the exact figure depends on hardware error rates and the algorithm. This change is one of the main reasons that estimates for cryptanalysis and chemistry keep falling. The remaining risk is that real devices have correlated errors or leakage that reduce the benefit of postselection-heavy methods such as cultivation.
What this means for algorithm designers
Algorithm designers can reduce the burden on hardware by counting T gates as carefully as they count qubits. Qubitization and linear combination of unitaries methods use fewer T gates than Trotter-based simulation for the same accuracy, and tensor hypercontraction reduces the cost of chemistry Hamiltonians. Arithmetic circuits for factoring and elliptic curves have been rewritten to use fewer Toffoli gates, each of which needs several T gates. For rotations, using a small number of high-precision rotations is cheaper than many low-precision ones.
As hardware makes T gates cheaper, the balance may shift again, and different algorithms may become preferable. This interplay between algorithm and architecture is one of the reasons that resource estimates move, and it argues for keeping teams that work on algorithms close to those who design error-correcting architectures.
Our forecast, step by step
| When | What we expect |
|---|---|
| 2026 to 2027 | Experimental tests of cultivation and logical-level distillation at small scale on several platforms. |
| 2028 to 2030 | Magic state production integrated in architectures; T-gate cost near that of a few CNOT gates at target error rates. |
| 2031 to 2033 | Factories occupy a minor share of large machines; non-Clifford cost is no longer the main bottleneck. |
Signals to watch
- Experimental cultivation with measured output infidelity below 10^-6.
- Estimates of the factory share of qubits in new resource studies.
- 3D codes with transversal T gates demonstrated in hardware.
- Algorithms with lower T counts for chemistry.
Why this forecast could be wrong
- Correlated noise could undermine cultivation.
- Postselection rates could be higher than assumed.
- Factory throughput may limit logical clock speed.
Frequently asked questions
What is a magic state?
A special quantum state that, when consumed in a small circuit, lets an error-corrected machine apply a non-Clifford gate such as the T gate.
Why is the T gate costly?
Because it cannot be applied directly on most codes and needs high-quality magic states.
What is magic state cultivation?
A method that grows a high-quality T state inside a code through repeated checks, at a much lower cost than distillation.
References
- Bravyi, S., & Kitaev, A. (2005). Universal quantum computation with ideal Clifford gates and noisy ancillas. Physical Review A, 71, 022316.
- Gottesman, D., & Chuang, I. L. (1999). Demonstrating the viability of universal quantum computation using teleportation and single-qubit operations. Nature, 402, 390-392.
- Eastin, B., & Knill, E. (2009). Restrictions on transversal encoded quantum gate sets. Physical Review Letters, 102, 110502.
- Litinski, D. (2019). Magic state distillation: Not as costly as you think. Quantum, 3, 205.
- Litinski, D. (2019). A game of surface codes: Large-scale quantum computing with lattice surgery. Quantum, 3, 128.
- Gidney, C., Shutty, N., & Jones, C. (2024). Magic state cultivation: growing T states as cheap as CNOT gates. arXiv:2409.17595.
- Rodriguez, P. S., et al. (2025). Experimental demonstration of logical magic state distillation. Nature, 645, 620-625.
- Ross, N. J., & Selinger, P. (2016). Optimal ancilla-free Clifford+T approximation of z-rotations. Quantum Information and Computation, 16, 901-953.
Keep exploring
- Paper: Universal Quantum Computation with Ideal Clifford Gates and Noisy Ancillas
- Paper: Magic State Cultivation: Growing T States as Cheap as CNOT Gates
- Paper: Restrictions on Transversal Encoded Quantum Gate Sets
- Paper: Demonstrating the Viability of Universal Quantum Computation Using Teleportation and Single-Qubit Operations
- Term: Magic State Distillation
- Term: T Gate
This page is a forecast, not a fact. It reflects our reading of public roadmaps, papers, and expert surveys as of 2026, and it will be wrong in places. It is not investment, legal, or security advice.