nLab magic state (Rev #2)

Context

Quantum systems

quantum logic

\linebreak

quantum physics

\linebreak

quantum probability theory – observables and states

\linebreak

quantum information

\linebreak

quantum technology

\linebreak

quantum computing

Computation

\tableofcontents

Idea

In quantum computing and quantum information theory, magic states are a kind of quantum states that are (envisioned to be) used as a quantum resource in order to retain viability of quantum error correction by surface codes or similar means.

The Clifford group of quantum gates on nn qbits (the normalizer of the Pauli group in U(2 n)U(2^n), generated by the Hadamard gate HH, the phase gate S=diag(1,i)S = diag(1,\mathrm{i}) and the CNOT gate) is computationally weak: By the Gottesman-Knill theorem, Clifford quantum circuits acting on stabilizer states and followed by Pauli quantum measurements are efficiently simulable on a classical computer. But adjoining any one non-Clifford gate yields a universal gate set.

The prominent choice of that extra non-Clifford gate is the T-gate T=diag(1,e πi/4)T = \mathrm{diag}(1, e^{\pi \mathrm{i}/4}) (but there are other reasonable choices, like the CCZ gate): The set Clifford+TT generates, up to global phase, a dense subgroup of $SU(2^n)$, so that every quantum circuit is efficiently approximated by Clifford+TT circuits (by the Solovay-Kitaev theorem).

The catch is that:

The now standard strategy to work around this problem, trades the missing gate for a resource state: TT-gates are enacted by gate teleportation, consuming magic states |A⟩=T|+⟩\vert A \rangle = T \vert + \rangle via a CNOT, a $Z$-measurement and a classically controlled SS-correction (which are all Clifford operations).

These magic states, in turn, are encoded without protection (“state injection”) and then purified by magic state distillation (Bravyi & Kitaev 2005), a protocol which uses only Clifford operations and measurements to turn many noisy copies into fewer, better ones.

The resulting architecture — the surface code as a protected “Clifford substrate”, fed with non-Clifford resources by dedicated “magic state factories” — is expensive: A TT-gate costs a few hundred times a Clifford gate in space-time overhead (Campbell, Terhal & Vuillot 2017, §II.5), and in the estimate of Fowler et al. 2012 for factoring, magic state production occupies over 94% of the physical qubits.

Accordingly, the “TT-count” (number of T-gates in a quantum circuit) has become a standard cost measure of quantum algorithms, and much current work aims to reduce this overhead by various proposed methods:

  1. by more efficient distillation (Litinski 2019);

  2. by magic state cultivation, which grows a TT-state inside a single surface-code patch at roughly the cost of a lattice-surgery CNOT and may make distillation unnecessary in practice (Gidney, Shutty & Jones 2024);

  3. by circumventing the 2-dimensional no-go theorem, either via 3-dimensional codes with transversal TT (Bombín 2015) or via non-constant-depth protocols on the surface code itself (Brown 2020). For review see Terhal 2015, §II.7, Campbell, Terhal & Vuillot 2017.

Although efficiency of magic state architectures is improving consistently [7, 8] approaching believed fundamental limits [9], large resource demands remain a serious obstacle for near-future architectures.

References

Review:

  • Barbara Terhal: Quantum error correction for quantum memories, Rev. Mod. Phys. 87 (2015) 307 [[doi:10.1103/RevModPhys.87.307](https://doi.org/10.1103/RevModPhys.87.307), arXiv:1302.3428]

  • Earl T. Campbell, Barbara M. Terhal, Christophe Vuillot: Roads towards fault-tolerant universal quantum computation, Nature 549 (2017) 172–179 [doi:10.1038/nature23460, arXiv:1612.07330]

See also:

No-go theorems for transversal and topologically protected gates:

  • Bryan Eastin, Emanuel Knill: Restrictions on transversal encoded quantum gate sets, Phys. Rev. Lett. 102 (2009) 110502 [[doi:10.1103/PhysRevLett.102.110502](https://doi.org/10.1103/PhysRevLett.102.110502), arXiv:0811.4262]

  • Sergey Bravyi, Robert König: Classification of topologically protected gates for local stabilizer codes, Phys. Rev. Lett. 110 (2013) 170503 [[doi:10.1103/PhysRevLett.110.170503](https://doi.org/10.1103/PhysRevLett.110.170503), arXiv:1206.1609]

The analogous situation for anyons:

On magic states and their distillation for the surface code:

  • Sergey Bravyi, Alexei Kitaev: Universal quantum computation with ideal Clifford gates and noisy ancillas, Phys. Rev. A 71 (2005) 022316 [[doi:10.1103/PhysRevA.71.022316](https://doi.org/10.1103/PhysRevA.71.022316), arXiv:quant-ph/0403025]

  • Robert Raussendorf, Jim Harrington, Kovid Goyal: Topological fault-tolerance in cluster state quantum computation, New J. Phys. 9 (2007) 199 [[doi:10.1088/1367-2630/9/6/199](https://doi.org/10.1088/1367-2630/9/6/199), arXiv:quant-ph/0703143]

  • Austin G. Fowler, Ashley M. Stephens, Peter Groszkowski: High threshold universal quantum computation on the surface code, Phys. Rev. A 80 (2009) 052312 [[doi:10.1103/PhysRevA.80.052312](https://doi.org/10.1103/PhysRevA.80.052312), arXiv:0803.0272]

  • Austin G. Fowler, Matteo Mariantoni, John M. Martinis, Andrew N. Cleland: Surface codes: Towards practical large-scale quantum computation, Phys. Rev. A 86 (2012) 032324 [[doi:10.1103/PhysRevA.86.032324](https://doi.org/10.1103/PhysRevA.86.032324), arXiv:1208.0928]

  • Daniel Litinski: Magic state distillation: Not as costly as you think, Quantum 3 (2019) 205 [[doi:10.22331/q-2019-12-02-205](https://doi.org/10.22331/q-2019-12-02-205), arXiv:1905.06903]

  • Craig Gidney, Noah Shutty, Cody Jones: Magic state cultivation: growing T states as cheap as CNOT gates [[arXiv:2409.17595](https://arxiv.org/abs/2409.17595)]

Circumventing the 2-dimensional no-go theorem:

  • Héctor Bombín: Gauge color codes: optimal transversal gates and gauge fixing in topological stabilizer codes, New J. Phys. 17 (2015) 083002 [[doi:10.1088/1367-2630/17/8/083002](https://doi.org/10.1088/1367-2630/17/8/083002), arXiv:1311.0879]

  • Benjamin J. Brown: A fault-tolerant non-Clifford gate for the surface code in two dimensions, Science Advances 6 (2020) eaay4929 [[doi:10.1126/sciadv.aay4929](https://doi.org/10.1126/sciadv.aay4929), arXiv:1903.11634]

Revision on October 10, 2026 at 09:54:46 by Urs Schreiber See the history of this page for a list of all contributions to it.