3D color code [1]
Description
Color code defined on a four-valent, four-colorable 3-colex in a 3-manifold. In the original colex realization, qubits sit on vertices, \(X\)-type stabilizers are attached to 3-cells, and \(Z\)-type stabilizers are attached to faces [1].
For a closed 3-manifold, the code encodes \(k=3h_1\) logical qubits, where \(h_1\) is the first Betti number over \(\mathbb{Z}_2\) [1]. Logical operators can be represented by colored strings and colored membranes. Excitations consist of point-like color charges at cell defects and loop-like color fluxes at face defects; winding a \(p\)-charge around a \(pq\)-flux produces a \(-1\) phase [1].
There are 101 different types of boundaries for any uniform tiling [2]; this was shown for the great rhombated cubic honeycomb (a.k.a. cantitruncated cubic honeycomb) uniform tiling, but is valid for general uniform tilings.
Protection
On a closed 3-manifold with first Betti number \(h_1\) over \(\mathbb{Z}_2\), the 3D color code encodes \(k=3h_1\) logical qubits [1]. In tetrahedral and cubic 3D color codes, \(Z\)-type logical operators are strings along a border where two boundaries meet, and \(X\)-type logical operators are membranes covering a boundary [3]. The minimum weight of an \(X\)-type logical operator therefore scales as the square of the code distance [3].Transversal and Permutation-Based Gates
Transversal action of \(T\) gates on color codes on general 3-manifolds realizes a \(CCZ\) gate on three logical qubits and is related to a topological invariant that is called the triple intersection number; this gate is related to the fact that this code admits a cup product structure [4].Transversal \(S\) gate on color codes on general 3-manifolds corresponds to a higher-form symmetry [4].Families of 3D color codes on quasi-hyperbolic, fibre-bundle, and Torelli mapping-torus 3-manifolds support collective logical \(CCZ\) gates via transversal \(T\) and individually addressable, parallelizable logical \(CZ\) gates via transversal \(S\) on codimension-1 submanifolds. Their rate-distance scalings are \(O(1/\log n)\) with \(d=O(\log n)\), \(O(1/\log^{1/2} n)\) with \(d=\Omega(\log^{1/2} n)\), and \(O(1)\), respectively [4].Gates
Universal fault-tolerant computation using transversal gates and lattice surgery [4].Magic-state distillation protocols [5].Non-Clifford gates can be implemented via code switching [5].Decoding
Decoder that projects the 3D color code onto a collection of 3D surface codes, decoding bit-flip errors on one surface code per color and phase-flip errors on one surface code per pair of colors [6].3D concatenated MWPM decoder for codes with boundaries [3], a 3D extension of the concatenated MWPM decoder for 2D color codes [7]. It decodes \(X\) errors from face syndromes merged into cell syndromes, which reduces the effective \(X\) distance to the \(Z\) distance [3].Code Capacity Threshold
Bit- and phase-flip noise on the bcc lattice: \(0.77\%\) for point-like and \(13.1\%\) for loop-like excitations under restriction decoder [8].Bit- and phase-flip noise on the \([[5d^3-12d^2+16,3,d]]\) cubic color code family [9]: \(1.55(6)\%\), with pseudo-threshold \(0.60(6)\%\) and logical error rate scaling as \(p^{d/2}\), under the 3D concatenated MWPM decoder [3].Notes
See the qCodePlot3D Python package for visualizations of 3D color codes and their decoding paths [3].Cousins
- 3D surface code— On closed 3-manifolds, the 3D color code is equivalent to multiple decoupled copies of the 3D surface code via a local constant-depth Clifford circuit [10–12]. This process can be viewed as an ungauging [13–22] of certain symmetries. This mapping can also be done via code concatenation [23]. In contrast to the 3D surface/toric code, the original colex Hamiltonian can be viewed as both a string-net condensate and a membrane-net condensate [1].
- Concatenated qubit code— On closed 3-manifolds, the 3D color code is equivalent to multiple decoupled copies of the 3D surface code via a local constant-depth Clifford circuit [10–12]. This process can be viewed as an ungauging [13–22] of certain symmetries. This mapping can also be done via code concatenation [23].
- XS stabilizer code— The 3D color code on a particular lattice admits XS stabilizers; see talk by M. Kesselring at the 2020 FTQC conference.
- Symmetry-protected topological (SPT) code— Transversal action of \(T\) gates on color codes on general 3-manifolds realizes a \(CCZ\) gate on three logical qubits and is related to a topological invariant that is called the triple intersection number [4]. Transversal \(S\) gate on color codes on general 3-manifolds corresponds to a higher-form symmetry [4].
- 3D DA color code— At certain measurement rounds, the 3D DA color code realizes the instantaneous stabilizer group (ISG) of the 3D color code [24; Sec. VI.A].
- Brickwork \(XS\) stabilizer code— The brickwork \(XS\) stabilizer code can be obtained from a 3D color code [25].
- Haah cubic code (CC)— The 3D color and cubic code families both include 3D codes that do not admit string-like operators.
- Tricycle code— Both 3D color codes and tricycle codes admit constant-depth \(CCZ\) circuits stemming from cup products on three-dimensional chain complexes [26]. Tricycle codes attain much higher rates at comparable block lengths [26].
- 2D color code— Gauge fixing can be used to code switch between 2D and 3D color codes, thereby yielding fault-tolerant computation with constant time overhead using only local quantum operations [27]. There is a fault-tolerant measurement-free scheme for code switching between 2D and 3D color codes [28].
- 3D XYZ color code— The 3D XYZ color code is defined on the same lattices as the 3D color code, with \(X\)-, \(Y\)-, or \(Z\)-type face generators fixed by color labels. On a closed 3-manifold, it encodes \(b_2\) logical qubits, while the 3D color code encodes \(3b_2\) [29; Sec. 3.4].
- 3D subsystem color code— On a fixed 3D lattice, the 3D subsystem color code is gauge-related to the 3D color code; switching between the \((1,1)\) and \((1,2)\) members yields transversal \(CNOT\), \(H\), and \(R_3\) gates [30].
Member of code lists
Primary Hierarchy
References
- [1]
H. Bombin and M. A. Martin-Delgado, “Exact topological quantum order inD=3and beyond: Branyons and brane-net condensates”, Physical Review B 75, (2007) arXiv:cond-mat/0607736 DOI
- [2]
Z. Song and G. Zhu, “Magic Boundaries of 3D Color Codes”, Quantum 9, 1831 (2025) arXiv:2404.05033 DOI
- [3]
F. Butt, L. Esser, and M. Müller, “Decoding 3D color codes with boundaries”, (2025) arXiv:2512.13436
- [4]
G. Zhu, S. Sikander, E. Portnoy, A. W. Cross, and B. J. Brown, “Non-Clifford and Parallelizable Fault-Tolerant Logical Gates on Constant and Almost-Constant Rate Homological Quantum Low-Density Parity-Check Codes via Higher Symmetries”, PRX Quantum 6, (2025) arXiv:2310.16982 DOI
- [5]
A. M. Kubica, The ABCs of the Color Code: A Study of Topological Quantum Codes as Toy Models for Fault-Tolerant Quantum Computation and Quantum Phases Of Matter, California Institute of Technology, 2018 DOI
- [6]
A. B. Aloshious and P. K. Sarvepalli, “Projecting three-dimensional color codes onto three-dimensional toric codes”, Physical Review A 98, (2018) arXiv:1606.00960 DOI
- [7]
S.-H. Lee, A. Li, and S. D. Bartlett, “Color code decoder with improved scaling for correcting circuit-level noise”, Quantum 9, 1609 (2025) arXiv:2404.07482 DOI
- [8]
A. Kubica and N. Delfosse, “Efficient color code decoders in <mml:math xmlns:mml=”http://www.w3.org/1998/Math/MathML”> <mml:mi>d</mml:mi> <mml:mo>&#x2265;</mml:mo> <mml:mn>2</mml:mn> </mml:math> dimensions from toric code decoders”, Quantum 7, 929 (2023) arXiv:1905.07393 DOI
- [9]
D. Hangleiter, M. Kalinowski, D. Bluvstein, M. Cain, N. Maskara, X. Gao, A. Kubica, M. D. Lukin, and M. J. Gullans, “Fault-Tolerant Compiling of Classically Hard Instantaneous Quantum Polynomial Circuits on Hypercubes”, PRX Quantum 6, (2025) arXiv:2404.19005 DOI
- [10]
B. Yoshida, “Classification of quantum phases and topology of logical operators in an exactly solved model of quantum codes”, Annals of Physics 326, 15 (2011) arXiv:1007.4601 DOI
- [11]
A. Kubica, B. Yoshida, and F. Pastawski, “Unfolding the color code”, New Journal of Physics 17, 083026 (2015) arXiv:1503.02065 DOI
- [12]
A. B. Aloshious, A. N. Bhagoji, and P. K. Sarvepalli, “On the Local Equivalence of 2D Color Codes and Surface Codes with Applications”, (2018) arXiv:1804.00866
- [13]
M. Levin and Z.-C. Gu, “Braiding statistics approach to symmetry-protected topological phases”, Physical Review B 86, (2012) arXiv:1202.3120 DOI
- [14]
J. Haegeman, K. Van Acoleyen, N. Schuch, J. I. Cirac, and F. Verstraete, “Gauging Quantum States: From Global to Local Symmetries in Many-Body Systems”, Physical Review X 5, (2015) arXiv:1407.1025 DOI
- [15]
S. Vijay, J. Haah, and L. Fu, “Fracton topological order, generalized lattice gauge theory, and duality”, Physical Review B 94, (2016) arXiv:1603.04442 DOI
- [16]
D. J. Williamson, “Fractal symmetries: Ungauging the cubic code”, Physical Review B 94, (2016) arXiv:1603.05182 DOI
- [17]
L. Bhardwaj, D. Gaiotto, and A. Kapustin, “State sum constructions of spin-TFTs and string net constructions of fermionic phases of matter”, Journal of High Energy Physics 2017, (2017) arXiv:1605.01640 DOI
- [18]
A. Kubica and B. Yoshida, “Ungauging quantum error-correcting codes”, (2018) arXiv:1805.01836
- [19]
W. Shirley, K. Slagle, and X. Chen, “Foliated fracton order from gauging subsystem symmetries”, SciPost Physics 6, (2019) arXiv:1806.08679 DOI
- [20]
K. Dolev, V. Calvera, S. S. Cree, and D. J. Williamson, “Gauging the bulk: generalized gauging maps and holographic codes”, Journal of High Energy Physics 2022, (2022) arXiv:2108.11402 DOI
- [21]
T. Rakovszky and V. Khemani, “The Physics of (good) LDPC Codes I. Gauging and dualities”, (2023) arXiv:2310.16032
- [22]
D. J. Williamson and T. J. Yoder, “Low-overhead fault-tolerant quantum computation by gauging logical operators”, Nature Physics 22, 598 (2026) arXiv:2410.02213 DOI
- [23]
M. Vasmer and D. E. Browne, “Three-dimensional surface codes: Transversal gates and fault-tolerant architectures”, Physical Review A 100, (2019) arXiv:1801.04255 DOI
- [24]
M. Davydova, N. Tantivasadakarn, S. Balasubramanian, and D. Aasen, “Quantum computation from dynamic automorphism codes”, Quantum 8, 1448 (2024) arXiv:2307.10353 DOI
- [25]
M. Davydova, A. Bauer, J. C. Magdalena de la Fuente, M. Webster, D. J. Williamson, and B. J. Brown, “Universal Fault-Tolerant Quantum Computation in 2D without Getting Tied in Knots”, Physical Review X 16, (2026) arXiv:2503.15751 DOI
- [26]
V. Menon, J. P. Bonilla Ataides, R. Mehta, A. Gu, D. B. Tan, and M. D. Lukin, “Magic Tricycles: Efficient Magic-State Generation with Finite Block-Length Quantum LDPC Codes”, Physical Review X 16, (2026) arXiv:2508.10714 DOI
- [27]
H. Bombin, “Dimensional Jump in Quantum Error Correction”, (2016) arXiv:1412.5079
- [28]
F. Butt, D. F. Locher, K. Brechtelsbauer, H. P. Büchler, and M. Müller, “Measurement-free, scalable and fault-tolerant universal quantum computing”, (2024) arXiv:2410.13568
- [29]
D. Lee and B. Yoshida, “Chiral Color Code : Single-shot error correction for exotic topological order”, (2025) arXiv:2509.18324
- [30]
H. Bombin, “Gauge Color Codes: Optimal Transversal Gates and Gauge Fixing in Topological Stabilizer Codes”, (2015) arXiv:1311.0879
Page edit log
- Victor V. Albert (2026-11-06) — most recent
- Victor V. Albert (2026-10-26)
- Victor V. Albert (2026-10-12)
- Victor V. Albert (2026-06-08)
- Victor V. Albert (2023-11-13)
- Cella Kove (2023-06-20)
Cite as:
“3D color code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/3d_color, arXiv:2606.11484