[Jump to code hierarchy]

\([[23, 1, 7]]\) Quantum Golay code [1]

Alternative Names: Qubit Golay code.

Description

A \([[23, 1, 7]]\) self-dual CSS code with eleven stabilizer generators of each type, and with each generator being weight eight. The automorphism group of the code is the Mathieu group \(M_{23}\) [2].

The code’s 11-by-23 stabilizer generator matrix blocks \(H_{X}\) and \(H_{Z}\) are both parity-check matrices of the classical Golay code. Equivalently, it can be obtained from the \([24,12,8]\) extended Golay code by shortening on one bit to a self-orthogonal \([23,11,8]\) code [3; Appx. A.1.5]. More generally, shortening the extended Golay code on \(j\) bits yields a self-orthogonal doubly even code whose CSS code is, for \(j=1,\dots,8\), the \([[23,1,7]]\), \([[22,2,6]]\), \([[21,3,5]]\), \([[20,4,4]]\), \([[19,5,3]]\), \([[18,6,3]]\), \([[17,7,2]]\), and \([[16,8,2]]\) code, respectively. The \([[21,3,5]]\) code is equivalently obtained by puncturing this code twice [3]. Since \(M_{24}\) is 5-transitive, the shortened code is independent of which bits are chosen for \(j\leq 5\); for larger \(j\) it depends on the choice.

Protection

Detects up to 6-qubit errors and corrects up to 3-qubit errors.

Magic

Magic-state distillation scaling exponent \(\gamma=\log_2 23 \approx 4.52\) [4].

Encoding

Depth-7 encoding circuit for the logical zero state using 57 CNOT gates, obtained by exploiting overlaps between stabilizer generators [5].Circuit with 56 entangling gates using A* search [6].

Transversal and Permutation-Based Gates

Single-qubit Clifford group via transversal \(H\) and \(S\) gates, which implement logical \(H\) and \(S^\dagger\), respectively [5].

Gates

The Golay code can be used to perform magic-state distillation for the magic state defined as \(|T\rangle\langle T|=\frac{1}{2}(I+\frac{1}{\sqrt{3}}(X+Y+Z) )\), where \(|T\rangle\) is an eigenstate of the Clifford “facet” gate \(SH\) [7].Pipelining the \([[23,1,7]]\) code after \([[7,1,3]]\) and \([[17,1,5]]\) inner-code stages yields a 95-to-1 seventh-order magic-state distillation protocol [3; Sec. V.B.3].

Decoding

Meggitt decoding for the cyclic CSS structure was used in comparative logical-CNOT simulations [8].

Fault Tolerance

Fault-tolerant logical zero preparation with 297 CNOT gates that verifies four differently permuted copies of the 57-CNOT encoding circuit against one another via transversal CNOT gates [5].Flag-at-origin fault-tolerant preparation of the logical zero state with 237 CNOT gates and 80 flag qubits [9; Table I].

Threshold

\(1.32\times 10^{-3}\)-per gate error rate for depolarizing noise upon recursive concatenation [5], improving previous lower bounds [8,10,11]. A numerical study [10] found that the Golay code achieved the highest threshold among a dozen well-known codes at the time [8].

Realizations

Trapped-ion devices: flag-at-origin preparation of the logical zero state on the H2-1 device by Quantinuum, with logical error rate \(3.3\times 10^{-4}\) at \(47\%\) acceptance [9].

Notes

See Ref. [12] for more details.Two levels of concatenation of the qubit Golay code can tolerate high teleportation errors [13,14].

Cousins

  • \([23, 12, 7]\) Golay code— The qubit Golay code is a CSS code constructed with the Golay code.
  • \([[11,1,5]]_3\) qutrit Golay code— The qubit Golay code is the qubit counterpart of the qutrit Golay code.
  • Triorthogonal code— A \([[95,1,7]]\) triorthogonal code with a transversal \(T\) gate can be obtained from the qubit Golay code via the doubling transformation [15].
  • Small-distance qubit stabilizer code— The quantum Golay code can be punctured twice to obtain a \([[21,3,5]]\) code.
  • Concatenated cat code— Two-component cat codes concatenated with Steane and Golay codes are estimated to be fault tolerant against photon loss noise with rate \(\eta < 5\times 10^{-4}\) provided that \(\alpha > 1.2\) [16].
  • \([[22,2,6]]\) shortened Golay code— The \([[22,2,6]]\) shortened Golay code is obtained by shortening the extended Golay code on two bits, while the qubit Golay code is obtained by shortening on one bit [3; Appx. A.1.5].

References

  1. [1]

    A. M. Steane, “Simple quantum error-correcting codes”, Physical Review A 54, 4741 (1996) arXiv:quant-ph/9605021 DOI

  2. [2]

    H. Hao, “Investigations on Automorphism Groups of Quantum Stabilizer Codes”, (2021) arXiv:2109.12735

  3. [3]

    J. Haah, M. B. Hastings, D. Poulin, and D. Wecker, “Magic state distillation with low space overhead and optimal asymptotic input count”, Quantum 1, 31 (2017) arXiv:1703.07847 DOI

  4. [4]

    S. Prakash, “Magic state distillation with the ternary Golay code”, Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 476, (2020) arXiv:2003.02717 DOI

  5. [5]

    A. Paetznick and B. W. Reichardt, “Fault-tolerant ancilla preparation and noise threshold lower bounds for the 23-qubit Golay code”, (2013) arXiv:1106.2190

  6. [6]

    M. Webster, S. Koutsioumpas, and D. E. Browne, “Heuristic and Optimal Synthesis of CNOT and Clifford Circuits”, Quantum 10, 2212 (2026) arXiv:2503.14660 DOI

  7. [7]

    B. W. Reichardt, “Quantum Universality from Magic States Distillation Applied to CSS Codes”, Quantum Information Processing 4, 251 (2005) arXiv:quant-ph/0411036 DOI

  8. [8]

    A. W. Cross, D. P. DiVincenzo, and B. M. Terhal, “A comparative code study for quantum fault-tolerance”, (2009) arXiv:0711.1556

  9. [9]

    D. Forlivesi and D. Amaro, “Flag at origin: a modular fault-tolerant preparation for CSS codes”, (2026) arXiv:2508.14200

  10. [10]

    A. M. Steane, “Overhead and noise threshold of fault-tolerant quantum error correction”, Physical Review A 68, (2003) arXiv:quant-ph/0207119 DOI

  11. [11]

    B. Reichardt and Y. Ouyang. Unpublished (2006)

  12. [12]

    B. W. Reichardt, “Error-detection-based quantum fault tolerance against discrete Pauli noise”, (2006) arXiv:quant-ph/0612004

  13. [13]

    R. D. Van Meter, “Architecture of a Quantum Multicomputer Optimized for Shor’s Factoring Algorithm”, (2006) arXiv:quant-ph/0607065

  14. [14]

    R. Van Meter, K. Nemoto, and W. Munro, “Communication Links for Distributed Quantum Computation”, IEEE Transactions on Computers 56, 1643 (2007) arXiv:quant-ph/0701043 DOI

  15. [15]

    M. Sullivan, “Code conversion with the quantum Golay code for a universal transversal gate set”, Physical Review A 109, (2024) arXiv:2307.14425 DOI

  16. [16]

    A. P. Lund, T. C. Ralph, and H. L. Haselgrove, “Fault-Tolerant Linear Optical Quantum Computing with Small-Amplitude Coherent States”, Physical Review Letters 100, (2008) arXiv:0707.0327 DOI

  17. [17]

    C.-Y. Lai and C.-C. Lu, “A Construction of Quantum Stabilizer Codes Based on Syndrome Assignment by Classical Parity-Check Matrices”, IEEE Transactions on Information Theory 57, 7163 (2011) arXiv:0712.0103 DOI

  18. [18]

    A. Ashikhmin, C.-Y. Lai, and T. A. Brun, “Quantum Data-Syndrome Codes”, IEEE Journal on Selected Areas in Communications 38, 449 (2020) arXiv:1907.01393 DOI

Page edit log

Your contribution is welcome!

on github.com (edit & pull request)

— see instructions

Zoo Code ID: qubit_golay

Cite as:
“\([[23, 1, 7]]\) Quantum Golay code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/qubit_golay, arXiv:2606.11484
BibTeX:
@incollection{eczoo_qubit_golay,
title={\([[23, 1, 7]]\) Quantum Golay code},
booktitle={The Error Correction Zoo},
year={2026},
editor={Albert, Victor V. and Faist, Philippe},
eprint={2606.11484},
doi={10.48550/arXiv.2606.11484},
url={https://errorcorrectionzoo.org/c/qubit_golay}
}
Share via:
Twitter | Mastodon |  | E-mail
Permanent link:
https://errorcorrectionzoo.org/c/qubit_golay

Cite as:

“\([[23, 1, 7]]\) Quantum Golay code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/qubit_golay, arXiv:2606.11484

Github: https://github.com/errorcorrectionzoo/eczoo_data/edit/main/codes/quantum/qubits/stabilizer/magic/qubit_golay.yml.