[Jump to code hierarchy]

Haah cubic code (CC) [1]

Description

A 3D lattice stabilizer code on a length-\(L\) cubic lattice with one or two qubits per site. Admits two types of stabilizer generators with support on each cube of the lattice. In the non-CSS case, these two are related by spatial inversion. For CSS codes, we require that the product of all corner operators is the identity. We lastly require that there are no non-trivial string operators, meaning that single-site operators are a phase, and any period one logical operator \(l \in \mathsf{S}^{\perp}\) is just a phase.

Haah showed in his original construction that there is exactly one non-CSS code of this form, and 17 CSS codes [1]. The non-CSS code is labeled code 0, and the rest are numbered from 1 - 17. Codes CC1-CC4, CC7, CC8, and CC10 do not have string logical operators [1,2]. The original cubic code in this family can be obtained by gauging [3–12] a fractal-symmetry Ising model [6; Sec. IV.B]; related fracton gauging constructions also appear in [5,6].

Under renormalization group flow [13], cubic code 1 fragments into itself and the Haah B-code (a.k.a. CC1B), which has four qubits per unit cell [14][2; Eq. (D2)]. In this context, cubic code 1 is sometimes called the Haah A-code or CC1A. Cubic codes 11-17 fragment into combinations of themselves, their corresponding B-codes, and stacks of surface codes [14; Table 1].

The Haah A-code can be written in a similar form as the Sierpinski prism model code [15]. The Haah B-code admits a topological defect network construction out of two copies of the 3D surface code [16].

Encodings using geometries with boundaries as well as lattice defects have been studied [17]. CC1A and CC1B have been generalized to manifolds more general than 3D lattices [18,19].

Protection

Cubic codes protect against simultaneous independent Pauli errors on different sites (not qubits, since there can be 2 qubits per site). Codes CC0-CC4 are known to have distance \(d \ge L\), meaning they can achieve macroscopic code distance as \(L\to\infty\).

Rate

The encoding rate depends on the code implemented, but code CC0 has been shown to have \(k \ge L\) on a periodic finite cubic lattice of side length \(L\). For codes CC1-CC4, only \(k \geq 2\) is guaranteed, and \(k\) depends sensitively on \(L\) [1]. For example, cubic code 1 has \(k = 4L-2\) when \(L = 2^p\) but \(k=2\) for odd \(L\) not divisible by 15 or 63, according to empirical formulas exact for \(L \leq 200\) [1].

Decoding

Hard-decision RG decoder [20].BP-OSD decoder [21].

Code Capacity Threshold

Cubic code 1 has a threshold of \(7.97(4)\%\) under BP-OSD decoding for code capacity bit-flip noise [22]. This estimate uses periodic lattices of odd side length on which the code encodes \(k=2\) logical qubits [22]. Under full postselection, the clean statistical mechanical model of cubic code 1 is the self-dual fractal Ising model [22]. This model has a unique transition at \(p=1/(2+\sqrt{2})\approx 0.2929\), the self-dual value shared by zero-rate PSD codes with a unique threshold [22].

Cousins

  • Kitaev surface code— Under renormalization group flow [13], cubic codes 11-17 fragment into combinations of themselves, their corresponding B-codes, and stacks of surface codes [14; Table 1].
  • 3D surface code— The Haah B-code admits a topological defect network construction out of two copies of the 3D surface code [16].
  • 3D color code— The 3D color and cubic code families both include 3D codes that do not admit string-like operators.
  • \((2,2)\) Loop toric code— Neither code has string-like logical operators [1,23], whose constant energy cost of creation precludes self-correction [24,25]. The membrane logical operators of the \((2,2)\) loop toric code give an energy barrier that grows with \(L\) and a self-correcting memory [23,26]. Cubic code 1 has only a logarithmic energy barrier [27] and thermalizes rapidly at every positive temperature under Davies dynamics [28].
  • Abelian two-block group-algebra code— CSS cubic codes are Abelian 2BGA codes over the group \(G=\mathbb{Z}_{L}^{\times 3}\) [29; Sec. III.A]; e.g., cubic code 1 corresponds to group-algebra elements \(a = 1+x+y+z\) and \(b = 1+xy+xz+yz\) [30].
  • Cluster-state code— A short-range entangled cluster-state model with fractal \(X\)-type symmetries on both sublattices can be built from the cubic-code gauging data. Gauging one sublattice yields, up to a local circuit, either the cubic code or its ungauged fractal-symmetry Ising model, while gauging both sublattices returns the cluster model up to local swaps and Hadamards [6; Secs. III.F, IV.C].
  • Lifted-product (LP) code— A lifted-product code constructed with coefficients in the ring \(R=\mathbb{F}_2[x,y,z]/(x^L-1,y^L-1,z^L-1)\) is a cubic code [31; Appx. B].
  • Sierpinski prism model code— The Haah A-code can be written in a similar form as the Sierpinski prism model code [15].
  • Permutationally self-dual (PSD) CSS code— CSS cubic codes are qubit Abelian 2BGA codes [29; Sec. III.A], so they are permutationally self-dual [32; Thm. 6]. For cubic code 1, transversal Hadamard composed with the spatial inversion \(\vec{r}\to-\vec{r}\) and a swap of the two qubits on each site exchanges the \(X\)- and \(Z\)-type stabilizers [33].
  • Fibonacci code— The Fibonacci code is designed to mimic the fractal properties of (quantum) Haah cubic code so that studying the former can help us toward the development of an efficient algorithm for the latter [34].
  • Self-correcting quantum code— Cubic code 1 has a logarithmic energy barrier [27] and is partially self-correcting below a temperature-dependent system-size cutoff [20]. Under Davies dynamics with single-qubit \(X\) and \(Z\) couplings on a periodic lattice, it thermalizes in time \(O(\log n)\) at every positive temperature [28]. Its memory time is therefore at most logarithmic in \(n\) for any decoder, so it is not self-correcting [28].
  • Bosonization code— Bosonization can be used to realize a Haah cubic code with an emergent fermion from a Majorana stabilizer code [35]. This code is shown to be distinct from the original code [36].

References

  1. [1]

    J. Haah, “Local stabilizer codes in three dimensions without string logical operators”, Physical Review A 83, (2011) arXiv:1101.1962 DOI

  2. [2]

    A. Dua, I. H. Kim, M. Cheng, and D. J. Williamson, “Sorting topological stabilizer models in three dimensions”, Physical Review B 100, (2019) arXiv:1908.08049 DOI

  3. [3]

    M. Levin and Z.-C. Gu, “Braiding statistics approach to symmetry-protected topological phases”, Physical Review B 86, (2012) arXiv:1202.3120 DOI

  4. [4]

    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

  5. [5]

    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

  6. [6]

    D. J. Williamson, “Fractal symmetries: Ungauging the cubic code”, Physical Review B 94, (2016) arXiv:1603.05182 DOI

  7. [7]

    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

  8. [8]

    A. Kubica and B. Yoshida, “Ungauging quantum error-correcting codes”, (2018) arXiv:1805.01836

  9. [9]

    W. Shirley, K. Slagle, and X. Chen, “Foliated fracton order from gauging subsystem symmetries”, SciPost Physics 6, (2019) arXiv:1806.08679 DOI

  10. [10]

    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

  11. [11]

    T. Rakovszky and V. Khemani, “The Physics of (good) LDPC Codes I. Gauging and dualities”, (2023) arXiv:2310.16032

  12. [12]

    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

  13. [13]

    J. Haah, “Bifurcation in entanglement renormalization group flow of a gapped spin model”, Physical Review B 89, (2014) arXiv:1310.4507 DOI

  14. [14]

    A. Dua, P. Sarkar, D. J. Williamson, and M. Cheng, “Bifurcating entanglement-renormalization group flows of fracton stabilizer models”, Physical Review Research 2, (2020) arXiv:1909.12304 DOI

  15. [15]

    Z. Song, A. Dua, W. Shirley, and D. J. Williamson, “Topological Defect Network Representations of Fracton Stabilizer Codes”, PRX Quantum 4, (2023) arXiv:2112.14717 DOI

  16. [16]

    D. Aasen, D. Bulmash, A. Prem, K. Slagle, and D. J. Williamson, “Topological defect networks for fractons of all types”, Physical Review Research 2, (2020) arXiv:2002.05166 DOI

  17. [17]

    C. T. Aitchison, D. Bulmash, A. Dua, A. C. Doherty, and D. J. Williamson, “Boundaries and defects in the cubic code”, Physical Review B 109, (2024) arXiv:2308.00138 DOI

  18. [18]

    K. T. Tian, E. Samperton, and Z. Wang, “Haah codes on general three-manifolds”, Annals of Physics 412, 168014 (2020) arXiv:1812.02101 DOI

  19. [19]

    K. T. Tian and Z. Wang, “Generalized Haah Codes and Fracton Models”, (2019) arXiv:1902.04543

  20. [20]

    S. Bravyi and J. Haah, “Quantum Self-Correction in the 3D Cubic Code Model”, Physical Review Letters 111, (2013) arXiv:1112.3252 DOI

  21. [21]

    P. Panteleev and G. Kalachev, “Degenerate Quantum LDPC Codes With Good Finite Length Performance”, Quantum 5, 585 (2021) arXiv:1904.02703 DOI

  22. [22]

    L. H. English, H. Luo, Y. Wang, B. Srivastava, S. D. Bartlett, and D. J. Williamson, “Duality constrains optimal thresholds in quantum error correction”, (2026) arXiv:2607.21160

  23. [23]

    E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, “Topological quantum memory”, Journal of Mathematical Physics 43, 4452 (2002) arXiv:quant-ph/0110143 DOI

  24. [24]

    S. Bravyi and B. Terhal, “A no-go theorem for a two-dimensional self-correcting quantum memory based on stabilizer codes”, New Journal of Physics 11, 043029 (2009) arXiv:0810.1983 DOI

  25. [25]

    B. Yoshida, “Feasibility of self-correcting quantum memory and thermal stability of topological order”, Annals of Physics 326, 2566 (2011) arXiv:1103.1885 DOI

  26. [26]

    R. Alicki, M. Horodecki, P. Horodecki, and R. Horodecki, “On thermal stability of topological qubit in Kitaev’s 4D model”, (2008) arXiv:0811.0033

  27. [27]

    S. Bravyi and J. Haah, “Energy Landscape of 3D Spin Hamiltonians with Topological Order”, Physical Review Letters 107, (2011) arXiv:1105.4159 DOI

  28. [28]

    S. Stengele, L. Caha, Á. Capel, and S. Warzel, “Haah’s 3D cubic code thermalizes rapidly”, (2026) arXiv:2609.39959

  29. [29]

    P. Panteleev and G. Kalachev, “Quantum LDPC Codes With Almost Linear Minimum Distance”, IEEE Transactions on Information Theory 68, 213 (2022) arXiv:2012.04068 DOI

  30. [30]

    F. A. Mian, O. Gwilliam, and S. Krastanov, “Multivariate Multicycle Codes for Complete Single-Shot Decoding”, (2026) arXiv:2601.18879

  31. [31]

    P. Panteleev and G. Kalachev, “Asymptotically Good Quantum and Locally Testable Classical LDPC Codes”, (2022) arXiv:2111.03654

  32. [32]

    H.-K. Lin and L. P. Pryadko, “Quantum two-block group algebra codes”, (2023) arXiv:2306.16400

  33. [33]

    K. Su, Z. Yang, and C.-M. Jian, “Tapestry of dualities in decohered quantum error correction codes”, Physical Review B 110, (2024) arXiv:2401.17359 DOI

  34. [34]

    G. M. Nixon and B. J. Brown, “Correcting Spanning Errors With a Fractal Code”, IEEE Transactions on Information Theory 67, 4504 (2021) arXiv:2002.11738 DOI

  35. [35]

    N. Tantivasadakarn, “Jordan-Wigner dualities for translation-invariant Hamiltonians in any dimension: Emergent fermions in fracton topological order”, Physical Review Research 2, (2020) arXiv:2002.11345 DOI

  36. [36]

    H. Song, N. Tantivasadakarn, W. Shirley, and M. Hermele, “Fracton Self-Statistics”, Physical Review Letters 132, (2024) arXiv:2304.00028 DOI

Page edit log

Your contribution is welcome!

on github.com (edit & pull request)

— see instructions

Zoo Code ID: haah_cubic

Cite as:
“Haah cubic code (CC)”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/haah_cubic, arXiv:2606.11484
BibTeX:
@incollection{eczoo_haah_cubic,
title={Haah cubic code (CC)},
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/haah_cubic}
}
Share via:
Twitter | Mastodon |  | E-mail
Permanent link:
https://errorcorrectionzoo.org/c/haah_cubic

Cite as:

“Haah cubic code (CC)”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/haah_cubic, arXiv:2606.11484

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