Description
A three-block CSS code whose commuting matrices represent three elements \(a,b,c\) of the group algebra \(\mathbb{F}_2[G]\) of a finite Abelian group \(G\). The code is the balanced product over \(\mathbb{F}_2[G]\) of the three classical group-algebra codes defined by \(a\), \(b\), and \(c\), extending the two-block 2BGA construction to three homological dimensions [1,2]. The third dimension provides \(Z\)-type metachecks, which make the code single-shot decodable in the \(Z\) basis, and a cup product, which yields constant-depth transversal \(CCZ\) circuits for magic-state generation [2].
Each element defines a two-term complex \(\mathbb{F}_2[G]\xrightarrow{a}\mathbb{F}_2[G]\), and the product of the three complexes is a four-term complex \(\mathbb{F}_2[G]\to\mathbb{F}_2[G]^3\to\mathbb{F}_2[G]^3\to\mathbb{F}_2[G]\) [2]. The \(n=3|G|\) qubits sit at the second term, the \(X\)-type checks at the first, the \(Z\)-type checks at the third, and the \(Z\)-type metachecks at the fourth, giving check and metacheck matrices \begin{align} H_X = \left[A^T\, B^T\, C^T\right],\quad H_Z = \left[ \begin{array}{ccc} C&0&A\\ 0&C&B\\ B&A&0 \end{array} \right],\quad H_{\text{meta}} = \left[B\, A\, C\right]~, \tag*{(1)}\end{align} where \(A\), \(B\), and \(C\) are Kronecker products of circulant matrices representing \(a\), \(b\), and \(c\), and where \(H_{\text{meta}} H_Z = 0\) [2]. Each cyclic factor in the chosen decomposition of \(G\) contributes one circulant tensor factor [2]. There are \(|G|\) \(X\)-type checks of weight \(\text{wt}(a)+\text{wt}(b)+\text{wt}(c)\) and \(3|G|\) \(Z\)-type checks. Codes are often labeled by their element weights, e.g., \(2\)-\(2\)-\(2\) or \(4\)-\(2\)-\(2\). Bivariate tricycle codes, i.e., those over \(\mathbb{Z}_{\ell_x}\times\mathbb{Z}_{\ell_y}\), can be laid out on a triangular lattice on a 2D torus with three qubits per site [3; Appx. D]. All \(X\)-type checks are then translates of a single check, and so are the \(Z\)-type checks within each of the three rows of \(H_Z\) [3; Appx. D].
Tricycle codes are connected when the supports of \(a\), \(b\), and \(c\) generate \(G\) [2]. A \(4\)-\(2\)-\(2\) example is the \([[48,6,(8,4)]]\) code, with distances listed as \((d_X,d_Z)\) [2]. See Refs. [2; Table 1] and [1; Table I] for further instances.
Protection
All connected tricycle codes satisfy \(d_Z \leq d_X\), and their distance is bounded below as \(d \geq \frac{1}{|N|}\min(d_A,d_B,d_C)\) [2]. Here, \(d_M\) is the distance of the classical code whose parity-check matrix is \(M^T\), and \(N\) is the intersection of the support subgroups of \(a\), \(b\), and \(c\). The single-shot distance associated with the \(Z\)-type metachecks is equal to \(d_Z\) [1].Rate
Tricycle code rates are lower than those of comparable bivariate bicycle codes [2]. They are much higher than the rates of three-dimensional homological product codes of comparable block length, including the 3D color code [2].Gates
Constant-depth circuits of physical \(CCZ\) gates acting across three code blocks realize logical \(CCZ\) circuits [2]. Such circuits are constructed via a symmetric triple cup product modifying the framework of Ref. [4]. Applying them to logical \(|+\rangle\) states yields hypergraph magic states [2]. Weight \(4\)-\(2\)-\(2\) codes host depth-eight circuits [2]. Several codes with binomial elements host depth-two circuits [3; Table I]. The pre-orientation conditions for such copy-cup gates are determined combinatorially in Ref. [5]. The non-associative 3-copy-cup gate forces distance two, whereas the symmetric variant used for tricycle codes can reach higher distance [5]. Transversal dimension jump, a code-switching protocol with the qubit Abelian 2BGA code defined by \(a\) and \(b\), a 2D component code of the tricycle code [3]. Physical CNOTs from the \(a\)- and \(b\)-block qubits of the tricycle code onto the corresponding Abelian 2BGA qubits form a one-way transversal logical CNOT [3]. When \(|G|\) is odd and \(c\) lies in the ideal \((a,b)\), the CNOT couples each Abelian 2BGA logical qubit to a distinct tricycle logical qubit [3; Appx. C]. One-bit teleportation through it then switches logical qubits between the two codes [3].Decoding
BP+LSD decoding combined with cluster-based post-selection [2]. With full error detection, a \([[48,6,(8,4)]]\) code reaches logical error rates of about \(6\times 10^{-10}\) at a \(30\%\) acceptance fraction [2]. MWPM decoder for \(Z\)-type errors of codes with binomial elements, whose \(X\)-type check matrix has column weight two [3].Fault Tolerance
Fault-tolerant logical operations include transversal \(CZ\) gates between code blocks and shift-automorphism Clifford gates within a block [1]. Selected constructions also admit constant-depth logical \(CCZ\) circuits [1]. Single-shot magic-state generation protocol combining single-shot logical-state preparation, constant-depth \(CCZ\) circuits, and single-shot error correction [2]. An error-detection variant postselects on the final \(X\)-type detectors after a depth-two \(CCZ\) circuit [3]. Optimal-depth syndrome-extraction circuits, along with an implementation protocol for reconfigurable qubit arrays [2].Threshold
Circuit-level noise threshold above \(0.5\%\) for a family of \(4\)-\(2\)-\(2\) codes, and about \(0.4\%\) for \(4\)-\(4\)-\(4\) codes [2].Circuit-level depolarizing noise without idling errors: pseudo-threshold of about \(0.4\%\) for the \([[27,3,3]]\), \([[45,3,4]]\), and \([[81,3,5]]\) bivariate codes under MWPM decoding [3].Cousins
- Single-shot code— Tricycle codes support single-shot decoding in the \(Z\) basis, with single-shot distance equal to \(d_Z\) [1]. Soundness has been proven for a subclass of codes, and there is numerical evidence for single-shot logical-state preparation [2].
- \(D\)-dimensional twisted toric code— Tricycle codes with weight-two elements \(a_i = 1+x_i\) are locally equivalent to 3D toric codes [6].
- 3D color code— Both 3D color codes and tricycle codes admit constant-depth \(CCZ\) circuits stemming from cup products on three-dimensional chain complexes [2]. Tricycle codes attain much higher rates at comparable block lengths [2].
- Higher-dimensional homological product code— Connected tricycle codes are three-fold homological product codes over the ring \(\mathbb{F}_2[N]\) of the intersection subgroup \(N\) [2]. They are binary three-dimensional hypergraph-product codes only in special cases, such as when \(N\) is trivial [2].
- Abelian two-block group-algebra code— The qubit Abelian 2BGA code defined by \(a\) and \(b\) is a 2D component code of the tricycle code defined by \(a\), \(b\), and \(c\) [3]. A one-way transversal CNOT from the tricycle code to the Abelian 2BGA code yields teleportation-based code switching between the two codes [3]. This holds when \(|G|\) is odd and \(c\) lies in the ideal \((a,b)\) [3; Appx. C].
Primary Hierarchy
References
- [1]
- A. Jacob, C. McLauchlan, and D. E. Browne, “Single-Shot Decoding and Fault-tolerant Gates with Trivariate Tricycle Codes”, (2026) arXiv:2508.08191
- [2]
- 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
- [3]
- C. Li, J. Preskill, and Q. Xu, “Transversal dimension jump for product qLDPC codes”, (2026) arXiv:2510.07269
- [4]
- N. P. Breuckmann, M. Davydova, J. N. Eberhardt, and N. Tantivasadakarn, “Cups and Gates I: Cohomology Invariants and Logical Quantum Operations”, Communications in Mathematical Physics 407, (2026) arXiv:2410.16250 DOI
- [5]
- R. Tiew and N. P. Breuckmann, “Copy-cup Gates in Tensor Products of Group Algebra Codes”, (2026) arXiv:2602.23307
- [6]
- H.-K. Lin, P. K. Lim, A. A. Kovalev, and L. P. Pryadko, “Abelian multi-cycle codes for single-shot error correction”, (2026) arXiv:2506.16910
Page edit log
- Victor V. Albert (2026-09-26) — most recent
- Victor V. Albert (2026-08-19)
- Victor V. Albert (2026-08-17)
- Victor V. Albert (2026-07-18)
Cite as:
“Tricycle code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/tricycle, arXiv:2606.11484