Skip to main content
KetQat

Appearance

Topic · advanced

Color Codes

Topological codes on three-colourable lattices in which every face carries both an X and a Z check. Covers the 2D codes and their transversal Clifford gates, the equivalence to toric codes, 3D and gauge color codes with a transversal T gate, and why decoding is harder than for surface codes.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

Color codes are topological codes built on lattices whose faces can be coloured with three colours. Their distinguishing feature is symmetry between the two kinds of check: every face carries an XX check and a ZZ check on the same qubits. As a consequence the whole Clifford group can be applied to a logical qubit by acting on each physical qubit separately, which the surface code cannot do. In three dimensions a color code also has a transversal TT gate. The price is paid in decoding and in the weight of the checks.

The codes were introduced by Bombin and Martin-Delgado. The smallest example, on seven qubits, is the code of Steane.

Intuition

In the toric code a single error creates a pair of excitations, and decoding means pairing them up. In a color code a qubit sits where three faces of three different colours meet, and a single error lights up all three. Excitations therefore carry a colour, and three of them, one of each colour, can be created or removed together at a point. A string of errors still produces excitations only at its ends, but strings may branch. The decoder has to group excitations into pairs and triples, and that is a harder combinatorial problem than pairing.

The same three-fold structure is the source of the transversal gates. Because the XX and ZZ checks coincide, swapping XX and ZZ on every qubit maps the code to itself, and so does the phase gate once signs are arranged to cancel on every face.

Prerequisites

CSS codes, the toric code, the Clifford group and the notion of a transversal gate. For the three-dimensional codes, subsystem codes and gauge fixing.

Mathematical Definitions

Quantum codeTwo-dimensional color codeEstablished definition

Lattice. A cellulation of a surface in which every vertex has exactly three edges and the faces can be coloured red, green and blue so that faces sharing an edge have different colours. Every face then has an even number of vertices, because the faces around it alternate between the two other colours, and two distinct faces share an even number of vertices. One qubit sits on each vertex.

Checks. For every face ff, with vv running over its vertices,

Xf=∏v∈fXv,Zf=∏v∈fZv.X_f = \prod_{v \in f} X_v , \qquad Z_f = \prod_{v \in f} Z_v .

XfX_f and Zf′Z_{f'} overlap on an even number of qubits for all f,f′f, f', so all checks commute. The XX-type and ZZ-type checks have identical supports: the code is a self-dual CSS code.

Parameters on a closed surface. On a closed surface of Euler characteristic χ\chi the code encodes k=4−2χk = 4 - 2\chi qubits: none on the sphere and four on the torus, twice as many as the toric code on the same surface (Bombin and Martin-Delgado).

Triangular codes. Removing one vertex of a lattice on the sphere, together with the three faces and three edges that meet there, leaves a planar triangular patch with three sides, one of each colour, that encodes k=1k = 1 qubit in an odd number nn of qubits with (n−1)/2(n-1)/2 faces. Two standard families, with odd distance dd, are

Lattice Faces nn d=3,5,7d = 3, 5, 7
hexagonal (6.6.6) hexagons, weight-4 faces on the sides (3d2+1)/4(3d^2 + 1)/4 7,19,377, 19, 37
square-octagon (4.8.8) squares and octagons, weight-4 faces on the sides (d2+2d−1)/2(d^2 + 2d - 1)/2 7,17,317, 17, 31

with qubit counts as given by Landahl, Anderson and Rice. Both begin with the [[7,1,3]][[7,1,3]] Steane code, whose three weight-4 checks of each type are the three faces of the smallest triangle.

Logical operators. In a triangular code Xˉ=X⊗n\bar X = X^{\otimes n} and Zˉ=Z⊗n\bar Z = Z^{\otimes n}: each commutes with all checks because faces are even, and they anticommute because nn is odd. Multiplying by checks reduces them to strings of weight dd running along one side of the triangle. On a closed surface the logical operators are strings of a given colour, which run along the edges joining faces of that colour and may branch at a vertex into strings of the other two colours.

Properties. Every qubit lies on three faces, so a single-qubit XX error flips up to three ZZ checks (three in the bulk, fewer at the sides and corners). The transversal gates are stated in the transversal Clifford theorem. Bombin and Martin-Delgado compare the qubit cost with surface codes: the best planar color-code lattice in their study has n/d2→3/4n / d^2 \to 3/4, against n/d2=1n / d^2 = 1 for the best planar surface code, both counted in data qubits only.

Three-dimensional and gauge color codes

In three dimensions the lattice is four-valent with four-colourable cells. Qubits sit on vertices, XX checks on the three-dimensional cells and ZZ checks on the faces. The code is no longer self-dual, so the Hadamard is not transversal, but the TT gate is: applying TT and T†T\dagg to the two sublattices implements a logical TT gate up to inversion (Bombin and Martin-Delgado). The smallest instance is a [[15,1,3]][[15,1,3]] code on a tetrahedron.

The gauge color code of Bombin is a subsystem code on the same lattice. Fixing its gauge in one way gives a stabilizer code with transversal TT; fixing it in the other way gives one with transversal HH. Switching between the two by measuring gauge operators and applying a correction yields the universal set {H,CNOT,T}\{H, \mathrm{CNOT}, T\} without distilling magic states; the measured operators act on only 4 or 6 qubits. Kubica and Beverland give a self-contained construction in any dimension DD, where the transversal gate is RD=diag⁡(1,e2πi/2D)R_D = \operatorname{diag}(1, e^{2\pi i / 2^{D}}).

Theorems

TheoremTransversal Clifford gates of two-dimensional color codesEstablished result

Let CC be a code satisfying the assumptions, for instance a triangular two-dimensional color code. Then each of the following unitaries maps the code space to itself and acts on the encoded qubit as stated.

  1. Hadamard. H⊗nH^{\otimes n} acts as the logical Hadamard gate.
  2. Phase gate. UT=⨂v∈TSv⊗⨂v∈TcSv†U_T = \bigotimes_{v \in T} S_v \otimes \bigotimes_{v \in T^{c}} S_v\dagg acts as the logical SS gate if ∣T∣−∣Tc∣≡1(mod4)\abs{T} - \abs{T^{c}} \equiv 1 \pmod 4 and as the logical S†S\dagg if ∣T∣−∣Tc∣≡3(mod4)\abs{T} - \abs{T^{c}} \equiv 3 \pmod 4.
  3. Uniform phase gate. If every face has a number of qubits divisible by 4, then S⊗nS^{\otimes n} acts as the logical SS if n≡1(mod4)n \equiv 1 \pmod 4 and as the logical S†S\dagg if n≡3(mod4)n \equiv 3 \pmod 4.
  4. Controlled-NOT. For two copies of CC, the product of controlled-NOT gates from each qubit of the first block to the matching qubit of the second acts as the logical controlled-NOT.

Since HH, SS and the controlled-NOT generate the Clifford group, every logical Clifford gate on blocks of such a code is a product of transversal gates.

That color codes implement the Clifford group transversally is due to Bombin and Martin-Delgado; the alternating pattern for phase gates, which also works when faces are not divisible by 4, follows the presentation of Kubica and Beverland.

Holds when
  • A CSS code on an odd number nn of qubits with checks XfX_f and ZfZ_f for every ff in a family of even-size subsets ("faces") of the qubits, any two of which share an even number of qubits, encoding k=1k = 1 qubit with Xˉ=X⊗n\bar X = X^{\otimes n} and Zˉ=Z⊗n\bar Z = Z^{\otimes n}.
  • For the phase gate, the qubits are split into two classes TT and TcT^{c} so that every face has equally many qubits in each. Triangular color codes satisfy all of these conditions.
Proof · Proof of the transversal Clifford gates of two-dimensional color codes

Principle. A unitary UU that maps the stabilizer group to itself under conjugation maps the code space to itself. Its action on the encoded qubit is then fixed, up to a phase, by the images of Xˉ\bar X and Zˉ\bar Z, because these two operators generate all operators on the encoded qubit.

Preliminaries. Xˉ=X⊗n\bar X = X^{\otimes n} commutes with every ZfZ_f because ∣f∣\abs{f} is even, and XˉZˉ=(−1)nZˉXˉ=−ZˉXˉ\bar X \bar Z = (-1)^n \bar Z \bar X = -\bar Z \bar X because nn is odd. The single-qubit identities used are HXH=ZH X H = Z, SXS†=Y=iXZS X S\dagg = Y = iXZ, S†XS=−Y=−iXZS\dagg X S = -Y = -iXZ, and SZS†=ZS Z S\dagg = Z.

1. Hadamard. H⊗nXfH⊗n=ZfH^{\otimes n} X_f H^{\otimes n} = Z_f and H⊗nZfH⊗n=XfH^{\otimes n} Z_f H^{\otimes n} = X_f, so the set of generators is mapped to itself. Also H⊗nXˉH⊗n=ZˉH^{\otimes n} \bar X H^{\otimes n} = \bar Z and conversely, which is the action of a logical Hadamard.

2. Alternating phase gate. UTU_T commutes with every ZfZ_f. For an XX check,

UT Xf UT†=∏v∈f∩T(iXvZv)∏v∈f∩Tc(−iXvZv)=i∣f∩T∣ (−i)∣f∩Tc∣  XfZf,U_T\, X_f\, U_T\dagg = \prod_{v \in f \cap T} (i X_v Z_v) \prod_{v \in f \cap T^{c}} (-i X_v Z_v) = i^{\abs{f \cap T}}\, (-i)^{\abs{f \cap T^{c}}}\; X_f Z_f ,

where the last step uses that Pauli operators on different qubits commute, so ∏v∈fXvZv=XfZf\prod_{v \in f} X_v Z_v = X_f Z_f. By assumption ∣f∩T∣=∣f∩Tc∣\abs{f \cap T} = \abs{f \cap T^{c}}, so the prefactor is (i⋅(−i))∣f∩T∣=1(i \cdot (-i))^{\abs{f \cap T}} = 1 and UTXfUT†=XfZfU_T X_f U_T\dagg = X_f Z_f, a product of generators. Hence UTU_T preserves the stabilizer group. On the logical operators, UTZˉUT†=ZˉU_T \bar Z U_T\dagg = \bar Z and

UT Xˉ UT†=i∣T∣(−i)∣Tc∣ X⊗nZ⊗n=i ∣T∣−∣Tc∣  XˉZˉ.U_T\, \bar X\, U_T\dagg = i^{\abs{T}} (-i)^{\abs{T^{c}}}\, X^{\otimes n} Z^{\otimes n} = i^{\,\abs{T} - \abs{T^{c}}}\; \bar X \bar Z .

The exponent is odd because n=∣T∣+∣Tc∣n = \abs{T} + \abs{T^{c}} is odd. A logical SS gate maps Xˉ↦iXˉZˉ\bar X \mapsto i \bar X \bar Z and a logical S†S\dagg maps Xˉ↦−iXˉZˉ\bar X \mapsto -i \bar X \bar Z; both fix Zˉ\bar Z. So UTU_T is the logical SS when ∣T∣−∣Tc∣≡1(mod4)\abs{T} - \abs{T^{c}} \equiv 1 \pmod 4 and the logical S†S\dagg when it is ≡3(mod4)\equiv 3 \pmod 4.

3. Uniform phase gate. The same computation with TT the set of all qubits gives S⊗nXfS†⊗n=i∣f∣XfZfS^{\otimes n} X_f S^{\dagger \otimes n} = i^{\abs{f}} X_f Z_f, which is XfZfX_f Z_f exactly when ∣f∣≡0(mod4)\abs{f} \equiv 0 \pmod 4, and S⊗nXˉS†⊗n=inXˉZˉS^{\otimes n} \bar X S^{\dagger \otimes n} = i^{n} \bar X \bar Z.

4. Controlled-NOT. A controlled-NOT with control cc and target tt maps Xc↦XcXtX_c \mapsto X_c X_t, Zt↦ZcZtZ_t \mapsto Z_c Z_t and fixes XtX_t and ZcZ_c. Applied qubit-wise to two blocks it maps Xf⊗I↦Xf⊗XfX_f \otimes I \mapsto X_f \otimes X_f, I⊗Zf↦Zf⊗ZfI \otimes Z_f \mapsto Z_f \otimes Z_f and fixes I⊗XfI \otimes X_f and Zf⊗IZ_f \otimes I, so the stabilizer group of the pair of blocks is preserved. The same rule applied to the logical operators gives Xˉ⊗I↦Xˉ⊗Xˉ\bar X \otimes I \mapsto \bar X \otimes \bar X and I⊗Zˉ↦Zˉ⊗ZˉI \otimes \bar Z \mapsto \bar Z \otimes \bar Z, the action of a logical controlled-NOT. This step holds for every CSS code.

The assumptions hold for triangular color codes. Faces are even and overlap evenly by the definition of the lattice, nn is odd and k=1k = 1. The lattice of a triangular code is a subgraph of a three-valent lattice on the sphere all of whose faces are even; a graph drawn on the sphere with all faces even is bipartite, so its vertices split into two classes with every edge joining different classes. Going around a face, the vertices alternate between the classes, so every face is split evenly.

Check on the Steane code. Label the qubits so that the faces are {1,3,5,7}\{1,3,5,7\}, {2,3,6,7}\{2,3,6,7\}, {4,5,6,7}\{4,5,6,7\}. The two classes are T={1,2,4,7}T = \{1, 2, 4, 7\} and Tc={3,5,6}T^{c} = \{3, 5, 6\}, each face having two qubits in each. Then ∣T∣−∣Tc∣=1\abs{T} - \abs{T^{c}} = 1, so SS on qubits 1,2,4,71,2,4,7 and S†S\dagg on 3,5,63,5,6 is the logical SS. All faces have 4 qubits and n=7≡3(mod4)n = 7 \equiv 3 \pmod 4, so by item 3 the uniform S⊗7S^{\otimes 7} is the logical S†S\dagg. The two statements agree: S⊗7=UT⋅Z3Z5Z6S^{\otimes 7} = U_T \cdot Z_3 Z_5 Z_6, and Z3Z5Z6Z_3 Z_5 Z_6 times the three ZZ checks is Z⊗7=ZˉZ^{\otimes 7} = \bar Z, while SZ=S†S Z = S\dagg.

Limits on transversal gates

Two general results explain why the gate set stops where it does. No code that detects single-qubit errors has a universal set of transversal gates (Eastin and Knill), which is why the three-dimensional construction switches between two codes. And a gate implemented by a constant-depth circuit on a local stabilizer code in DD dimensions lies in the DD-th level of the Clifford hierarchy (Bravyi and König): Clifford gates in two dimensions, and gates such as TT in three. Color codes attain this bound in every dimension (Bombin).

Relation to the toric code

A two-dimensional color code on a closed surface is equivalent to two copies of the toric code on that surface, under a local unitary circuit and the addition or removal of ancilla qubits. This follows from the classification of Bombin, Duclos-Cianci and Poulin and is made explicit, in any dimension, by Kubica, Yoshida and Pastawski; it accounts for k=4−2χk = 4 - 2\chi being twice the toric-code value 2−χ2 - \chi. A triangular color code is equivalent in the same sense to a toric code with boundaries folded along a diagonal. The equivalence does not make the codes interchangeable: a transversal gate of the color code becomes, after the mapping, a gate that acts between the two layers.

Thresholds

With perfect measurements and independent bit-flip noise, optimal decoding of the color code maps to a random three-body Ising model, and Monte Carlo simulation gives a threshold pc=0.109(2)p_c = 0.109(2), the same within errors as the toric code (Katzgraber, Bombin and Martin-Delgado). The loss relative to surface codes therefore comes from practical decoders and from circuits, not from the code itself. Published thresholds, each for its own noise model and decoder:

Source Setting Decoder Threshold
Delfosse hexagonal lattice, phase-flip noise, perfect measurement projection onto three surface codes, each decoded by matching about 8.7%8.7\%
Kubica and Delfosse square-octagon lattice, bit-flip or phase-flip noise, perfect measurement restriction decoder about 10.2%10.2\%
Lee, Li and Bartlett bit-flip noise, perfect measurement concatenated matching 8.2%8.2\%
Landahl, Anderson and Rice (preprint) 4.8.8 lattice, circuit-level noise integer program 0.082(3)%0.082(3)\%
Chamberland, Kubica, Yoder and Zhu triangular code with flag qubits, circuit-level depolarizing noise restriction decoder using flag information 0.2%0.2\%
Beverland, Kubica and Svore triangular code, circuit-level noise restriction decoder, optimised 0.37(1)%0.37(1)\%
Lee, Li and Bartlett triangular code, circuit-level noise concatenated matching 0.46%0.46\%

Worked Examples

The Steane code as the smallest color code

Draw a triangle divided into three quadrilateral faces that meet at a central vertex. There are seven vertices: the centre (qubit 7), the three corners (qubits 1, 2, 4) and the three midpoints of the sides (qubits 3, 5, 6). With this labelling the faces are

f1={1,3,5,7},f2={2,3,6,7},f3={4,5,6,7},f_1 = \{1,3,5,7\}, \qquad f_2 = \{2,3,6,7\}, \qquad f_3 = \{4,5,6,7\},

which are the supports of the three parity checks of the [7,4,3][7,4,3] Hamming code. Each face gives an XX check and a ZZ check, six in all, so k=7−6=1k = 7 - 6 = 1. Any two faces share exactly two qubits, so all checks commute.

Syndromes. A bit flip on the centre qubit 7 flips all three ZZ checks; a bit flip on a midpoint, say qubit 3, flips two (f1f_1 and f2f_2); a bit flip on a corner, say qubit 1, flips one (f1f_1). The seven single-qubit errors produce the seven distinct non-zero syndromes, so each is identified uniquely: d=3d = 3.

A minimum-weight logical operator. X1X2X3X_1 X_2 X_3 lies along one side of the triangle. It meets f1f_1 in {1,3}\{1,3\}, f2f_2 in {2,3}\{2,3\} and f3f_3 in no qubit, so it commutes with every ZZ check, and it anticommutes with Z⊗7Z^{\otimes 7}. It has weight 3=d3 = d.

The phase gate. All faces have four qubits and n=7≡3(mod4)n = 7 \equiv 3 \pmod 4, so by the theorem S⊗7S^{\otimes 7} is the logical S†S\dagg. Explicitly, S⊗7X⊗7S†⊗7=Y⊗7=i7X⊗7Z⊗7=−i XˉZˉS^{\otimes 7} X^{\otimes 7} S^{\dagger \otimes 7} = Y^{\otimes 7} = i^{7} X^{\otimes 7} Z^{\otimes 7} = -i\, \bar X \bar Z, whereas a logical SS would give +i XˉZˉ+i\, \bar X \bar Z. The logical SS is obtained from (S†)⊗7(S\dagg)^{\otimes 7}, or from SS on qubits 1,2,4,71, 2, 4, 7 and S†S\dagg on 3,5,63, 5, 6.

Qubit counts at distance 5

For d=5d = 5 the hexagonal family has (3⋅25+1)/4=19(3 \cdot 25 + 1)/4 = 19 data qubits and 99 faces, hence 1818 checks; the square-octagon family has (25+10−1)/2=17(25 + 10 - 1)/2 = 17 data qubits. A rotated surface code of the same distance has 2525 data qubits and 2424 checks. The color code uses fewer data qubits per logical qubit, but its bulk checks have weight 6 (or 8) instead of 4, which makes the measurement circuits longer.

Algorithms and Implementations

Decoding a color code is not a matching problem on a graph, because an error can flip three checks. Practical decoders reduce it to matching in different ways.

  • Projection and restriction. Deleting all faces of one colour leaves a lattice on which the remaining excitations do come in pairs. One runs a toric-code decoder such as minimum-weight perfect matching on two or three of these restricted lattices and then lifts the result to a correction on the color code (Delfosse; Kubica and Delfosse).
  • Matching on a Möbius strip. For a triangular code the restricted lattices can be joined along the boundary into one manifold on which a single matching problem is solved (Sahay and Brown). An open-source implementation for circuit-level noise is described by Gidney and Jones (preprint).
  • Concatenated matching. Two rounds of matching per colour, the second using the output of the first, bring the logical failure rate close to the best-possible scaling with distance (Lee, Li and Bartlett).

Syndrome extraction is also harder than for the surface code: checks of weight 6 or 8 need more gates and more connectivity, and faults on the ancilla spread to more data qubits. Flag qubits are one remedy (Chamberland and co-authors).

Limitations and Common Pitfalls

  • Equal optimal thresholds do not mean equal performance. The 10.9%10.9\% figure assumes perfect measurements and an optimal decoder. At circuit level the best published thresholds in the table are below those of the surface code under comparable assumptions.
  • Fewer data qubits is not lower overhead. Gidney and Jones estimate, for uniform depolarizing circuit noise of strength 0.1%0.1\%, that a logical error rate of one in a trillion needs about 1250 qubits with their best color-code circuit and about 650 with a surface code decoded by correlated matching.
  • Transversal TT in three dimensions is not free universality. A simulation of code switching between two- and three-dimensional color codes found a circuit-noise threshold of 0.07(1)%0.07(1)\% for the resulting TT gate and no substantial saving over magic-state distillation (Beverland, Kubica and Svore).
  • The uniform phase gate is not always logical. S⊗nS^{\otimes n} preserves the code only when every face has a multiple of four qubits, as on the square-octagon lattice. On the hexagonal lattice the alternating pattern of the theorem is required, and in either case the result may be S†S\dagg rather than SS.

State of the Art

These statements summarise the cited publications, as checked in 2026-11; they are not a complete survey.

  • Trapped ions. A seven-qubit color code was first implemented by Nigg and co-authors in 2014, with logical Clifford gates. Repeated real-time error correction on the [[7,1,3]][[7,1,3]] code was reported by Ryan-Anderson and co-authors in 2021, and a fault-tolerant universal gate set on two such logical qubits, including a TT gate by magic-state injection, by Postler and co-authors in 2022.
  • Neutral atoms. Bluvstein and co-authors prepared color-code logical qubits with break-even fidelity and operated 40 of them in one processor (published 2024).
  • Superconducting qubits. Lacroix and co-authors (published 2025) measured a suppression of logical error by a factor 1.56(4)1.56(4) when going from distance 3 to distance 5, transversal Clifford gates adding an error of 0.0027(3)0.0027(3), magic-state injection with fidelity above 99%99\% after post-selection that keeps about 75%75\% of the runs, and lattice-surgery teleportation between distance-3 codes with fidelities between 86.5(1)%86.5(1)\% and 90.7(1)%90.7(1)\%.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. H. Bombin, M. A. Martin-Delgado (2006). Topological Quantum Distillation. Physical Review Letters 97, 180501. doi:10.1103/PhysRevLett.97.180501arXiv:quant-ph/0605138
  2. H. Bombin, M. A. Martin-Delgado (2007). Optimal resources for topological two-dimensional stabilizer codes: Comparative study. Physical Review A 76, 012305. doi:10.1103/PhysRevA.76.012305arXiv:quant-ph/0703272
  3. H. Bombin, M. A. Martin-Delgado (2007). Topological Computation without Braiding. Physical Review Letters 98, 160502. doi:10.1103/PhysRevLett.98.160502arXiv:quant-ph/0610024
  4. Héctor Bombín (2015). Gauge color codes: optimal transversal gates and gauge fixing in topological stabilizer codes. New Journal of Physics 17, 083002. doi:10.1088/1367-2630/17/8/083002arXiv:1311.0879
  5. Aleksander Kubica, Michael E. Beverland (2015). Universal transversal gates with color codes: A simplified approach. Physical Review A 91, 032330. doi:10.1103/PhysRevA.91.032330arXiv:1410.0069
  6. Aleksander Kubica, Beni Yoshida, Fernando Pastawski (2015). Unfolding the color code. New Journal of Physics 17, 083026. doi:10.1088/1367-2630/17/8/083026arXiv:1503.02065
  7. H. Bombin, Guillaume Duclos-Cianci, David Poulin (2012). Universal topological phase of two-dimensional stabilizer codes. New Journal of Physics 14, 073048. doi:10.1088/1367-2630/14/7/073048arXiv:1103.4606
  8. Sergey Bravyi, Robert König (2013). Classification of topologically protected gates for local stabilizer codes. Physical Review Letters 110, 170503. doi:10.1103/PhysRevLett.110.170503arXiv:1206.1609
  9. Bryan Eastin, Emanuel Knill (2009). Restrictions on Transversal Encoded Quantum Gate Sets. Physical Review Letters 102, 110502. doi:10.1103/PhysRevLett.102.110502arXiv:0811.4262
  10. Andrew J. Landahl, Jonas T. Anderson, Patrick R. Rice (2011). Fault-tolerant quantum computing with color codes. arXiv:1108.5738
  11. Helmut G. Katzgraber, H. Bombin, M. A. Martin-Delgado (2009). Error Threshold for Color Codes and Random Three-Body Ising Models. Physical Review Letters 103, 090501. doi:10.1103/PhysRevLett.103.090501arXiv:0902.4845
  12. Nicolas Delfosse (2014). Decoding color codes by projection onto surface codes. Physical Review A 89, 012317. doi:10.1103/PhysRevA.89.012317arXiv:1308.6207
  13. Aleksander Kubica, Nicolas Delfosse (2023). Efficient color code decoders in d ≥ 2 dimensions from toric code decoders. Quantum 7, 929. doi:10.22331/q-2023-02-21-929arXiv:1905.07393
  14. Christopher Chamberland, Aleksander Kubica, Theodore J. Yoder, Guanyu Zhu (2020). Triangular color codes on trivalent graphs with flag qubits. New Journal of Physics 22, 023019. doi:10.1088/1367-2630/ab68fdarXiv:1911.00355
  15. Michael E. Beverland, Aleksander Kubica, Krysta M. Svore (2021). Cost of Universality: A Comparative Study of the Overhead of State Distillation and Code Switching with Color Codes. PRX Quantum 2, 020341. doi:10.1103/PRXQuantum.2.020341arXiv:2101.02211
  16. Kaavya Sahay, Benjamin J. Brown (2022). Decoder for the Triangular Color Code by Matching on a Möbius Strip. PRX Quantum 3, 010310. doi:10.1103/PRXQuantum.3.010310arXiv:2108.11395
  17. Craig Gidney, Cody Jones (2023). New circuits and an open source decoder for the color code. arXiv:2312.08813
  18. Seok-Hyung Lee, Andrew Li, Stephen D. Bartlett (2025). Color code decoder with improved scaling for correcting circuit-level noise. Quantum 9, 1609. doi:10.22331/q-2025-01-27-1609arXiv:2404.07482
  19. Andrew Steane (1996). Multiple Particle Interference and Quantum Error Correction. Proceedings of the Royal Society A 452, 2551. doi:10.1098/rspa.1996.0136arXiv:quant-ph/9601029
  20. D. Nigg, M. Müller, E. A. Martinez, … R. Blatt (2014). Quantum computations on a topologically encoded qubit. Science 345, 302-305. doi:10.1126/science.1253742arXiv:1403.5426
  21. C. Ryan-Anderson, J. G. Bohnet, K. Lee, … et al. (2021). Realization of Real-Time Fault-Tolerant Quantum Error Correction. Physical Review X 11, 041058. doi:10.1103/PhysRevX.11.041058arXiv:2107.07505
  22. Lukas Postler, Sascha Heußen, Ivan Pogorelov, … et al. (2022). Demonstration of fault-tolerant universal quantum gate operations. Nature 605, 675-680. doi:10.1038/s41586-022-04721-1arXiv:2111.12654
  23. Dolev Bluvstein, Simon J. Evered, Alexandra A. Geim, … et al. (2024). Logical quantum processor based on reconfigurable atom arrays. Nature 626, 58-65 (published online 6 December 2023). doi:10.1038/s41586-023-06927-3arXiv:2312.03982
  24. Nathan Lacroix, Alexandre Bourassa, Francisco J. H. Heras, … et al. (2025). Scaling and logic in the colour code on a superconducting quantum processor. Nature 645, 614-619. doi:10.1038/s41586-025-09061-4arXiv:2412.14256

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic's own text checked. Steane worked example recomputed (faces, syndromes, X1X2X3 logical, S^7 giving -i Xbar Zbar; own numerical check that S^7 acts as logical S^dag and the alternating pattern as S); d = 5 counts 19, 9 faces, 18 checks and 17 recomputed. Claims compared with sources: Katzgraber-Bombin-Martin-Delgado 0902.4845 (p_c = 0.109(2)), Delfosse 1308.6207 (~8.7%), Kubica-Delfosse 1905.07393 (~10.2% square-octagon), Lee-Li-Bartlett 2404.07482 (8.2% and 0.46%), Landahl et al. 1108.5738 (0.082(3)%), Chamberland et al. 1911.00355 (0.2%), Beverland-Kubica-Svore 2101.02211 (0.37(1)%, T-gate threshold 0.07(1)%, no substantial saving), Gidney-Jones 2312.08813 (1250 vs 650 qubits at 0.1%), Kubica-Beverland 1410.0069 (R_D, 3D T and T^dag sublattices, [[15,1,3]]), Bombin 1311.0879, Kubica-Yoshida-Pastawski 1503.02065 (unfolding, folded toric code), Sahay-Brown 2108.11395, Nigg et al. 1403.5426, Ryan-Anderson et al. 2107.07505, Postler et al. 2111.12654, Bluvstein et al. 2312.03982, Lacroix et al. 2412.14256 (1.56(4), 0.0027(3), >99% at ~75% retention, 86.5(1)-90.7(1)%). Reference metadata matched Crossref or arXiv. Embedded records carry their own review states and were checked separately.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 169736a1c2db9e2f. Source file knowledge/records/topic/color-codes.md in the content repository (readable there once it is public).