Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access
  • Access by Xinjiang University

Decoding three-dimensional color codes with boundaries

Friederike Butt*, Lars Esser, and Markus Müller

  • *Contact author: f.butt@fz-juelich.de

Phys. Rev. A 113, 042416 – Published 6 April, 2026

DOI: https://doi.org/10.1103/7cdb-px1d

Abstract

Practical large-scale quantum computation requires both efficient error correction and robust implementation of logical operations. Three-dimensional (3D) color codes are promising candidates for fault-tolerant quantum computation due to their transversal non-Clifford gates, but efficient decoding remains challenging. In this work, we extend previous decoders for two-dimensional color codes [S.-H. Lee et al., Quantum 9, 1609 (2025)], which are based on the restriction of the decoding problem to a subset of the qubit lattice, to three dimensions. Including boundaries of 3D color codes, we demonstrate that the 3D restriction decoder achieves optimal scaling of the logical error rate and a threshold value of 1.55(6)% for code-capacity bit- and phase-flip noise, which is almost a factor of 2 higher than previously reported for this family of codes [N. Delfosse, Phys. Rev. A 89, 012317 (2014); S. Turner et al., arXiv:2003.11602]. We furthermore present qCodePlot3D, a python package for visualizing two-dimensional and 3D color codes, error configurations, and decoding paths, which supports the development and analysis of such decoders. These advancements contribute to making 3D color codes a more practical option for exploring fault-tolerant quantum computation.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (83)

  1. D. Gottesman, Theory of fault-tolerant quantum computation, Phys. Rev. A 57, 127 (1998).
  2. D. Aharonov and M. Ben-Or, Fault-tolerant quantum computation with constant error, in Proceedings of the Twenty-Ninth Annual ACM Symposium on Theory of Computing (ACM Press, New York, 1997), pp. 176–188.
  3. E. Knill, R. Laflamme, and W. H. Zurek, Resilient quantum computation, Science 279, 342 (1998).
  4. J. Preskill, Reliable quantum computers, Proc. R. Soc. A 454, 385 (1998).
  5. S. Krinner, N. Lacroix, A. Remm, A. Di Paolo, E. Genois, C. Leroux, C. Hellings, S. Lazar, F. Swiadek, J. Herrmann, et al., Realizing repeated quantum error correction in a distance-three surface code, Nature (London) 605, 669 (2022).
  6. R. Acharya, D. A. Abanin, L. Aghababaie-Beni, et al., Quantum error correction below the surface code threshold, Nature (London) 638, 920 (2025).
  7. C. Ryan-Anderson, N. Brown, C. Baldwin, J. Dreiling, C. Foltz, J. Gaebler, T. Gatterman, N. Hewitt, C. Holliman, C. Horst, et al., High-fidelity teleportation of a logical qubit using transversal gates and lattice surgery, Science 385, 1327 (2024).
  8. C. Ryan-Anderson, J. G. Bohnet, K. Lee, D. Gresh, A. Hankin, J. P. Gaebler, D. Francois, A. Chernoguzov, D. Lucchetti, N. C. Brown, et al., Realization of real-time fault-tolerant quantum error correction, Phys. Rev. X 11, 041058 (2021).
  9. B. W. Reichardt, D. Aasen, R. Chao, A. Chernoguzov, W. van Dam, J. P. Gaebler, D. Gresh, D. Lucchetti, M. Mills, S. A. Moses, et al., Demonstration of quantum computation and error correction with a tesseract code, arXiv:2409.04628.
  10. S. Huang, K. R. Brown, and M. Cetina, Comparing Shor and Steane error correction using the Bacon-Shor code, Sci. Adv. 10, eadp2008 (2024).
  11. L. Postler, F. Butt, I. Pogorelov, C. D. Marciniak, S. Heußen, R. Blatt, P. Schindler, M. Rispler, M. Müller, and T. Monz, Demonstration of fault-tolerant Steane quantum error correction, PRX Quantum 5, 030326 (2024).
  12. N. H. Nguyen, M. Li, A. M. Green, C. Huerta Alderete, Y. Zhu, D. Zhu, K. R. Brown, and N. M. Linke, Demonstration of Shor encoding on a trapped-ion quantum computer, Phys. Rev. Appl. 16, 024057 (2021).
  13. Y. Zhao, Y. Ye, H.-L. Huang, Y. Zhang, D. Wu, H. Guan, Q. Zhu, Z. Wei, T. He, S. Cao, et al., Realization of an error-correcting surface code with superconducting qubits, Phys. Rev. Lett. 129, 030501 (2022).
  14. D. Bluvstein, S. J. Evered, A. A. Geim, S. H. Li, H. Zhou, T. Manovitz, S. Ebadi, M. Cain, M. Kalinowski, D. Hangleiter, et al., Logical quantum processor based on reconfigurable atom arrays, Nature (London) 626, 58 (2024).
  15. I. Pogorelov, F. Butt, L. Postler, C. D. Marciniak, P. Schindler, M. Müller, and T. Monz, Experimental fault-tolerant code switching, Nat. Phys. 21, 298 (2025).
  16. L. Postler, S. Heußen, I. Pogorelov, M. Rispler, T. Feldker, M. Meth, C. D. Marciniak, R. Stricker, M. Ringbauer, R. Blatt, et al., Demonstration of fault-tolerant universal quantum gate operations, Nature (London) 605, 675 (2022).
  17. L. Daguerre, R. Blume-Kohout, N. C. Brown, D. Hayes, and I. H. Kim, Experimental demonstration of high-fidelity logical magic states from code switching, Phys. Rev. X 15, 041008 (2025).
  18. N. Lacroix, A. Bourassa, F. J. Heras, L. M. Zhang, J. Bausch, A. W. Senior, T. Edlich, N. Shutty, V. Sivak, A. Bengtsson, et al., Scaling and logic in the color code on a superconducting quantum processor, Nature (London) 645, 614 (2025).
  19. D. Bluvstein, A. A. Geim, S. H. Li, S. J. Evered, J. P. B. Ataides, G. Baranes, A. Gu, T. Manovitz, M. Xu, M. Kalinowski, et al., Architectural mechanisms of a universal fault-tolerant quantum computer, arXiv:2506.20661.
  20. R. S. Gupta, N. Sundaresan, T. Alexander, C. J. Wood, S. T. Merkel, M. B. Healy, M. Hillenbrand, T. Jochym-O'Connor, J. R. Wootton, T. J. Yoder, et al., Encoding a magic state with beyond break-even fidelity, Nature (London) 625, 259 (2024).
  21. W. C. Chung, D. C. Cole, P. Gokhale, E. B. Jones, K. W. Kuper, D. Mason, V. Omole, A. G. Radnaev, R. Rines, M. H. Teo, et al., Fault-tolerant operation and materials science with neutral atom logical qubits, npj Quantum Inf. 11, 193 (2025).
  22. S. Dasu, S. Burton, K. Mayer, D. Amaro, J. A. Gerber, K. Gilmore, D. Gresh, D. DelVento, A. C. Potter, and D. Hayes, Breaking even with magic: Demonstration of a high-fidelity logical non-Clifford gate, arXiv:2506.14688.
  23. H. Bombin and M. A. Martin-Delgado, Topological quantum distillation, Phys. Rev. Lett. 97, 180501 (2006).
  24. H. Bombin and M. A. Martin-Delgado, Topological computation without braiding, Phys. Rev. Lett. 98, 160502 (2007).
  25. M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, New York, 2010).
  26. S. Bravyi and J. Haah, Magic-state distillation with low overhead, Phys. Rev. A 86, 052329 (2012).
  27. D. Honciuc Menendez, A. Ray, and M. Vasmer, Implementing fault-tolerant non-Clifford gates using the [[8, 3, 2]] color code, Phys. Rev. A 109, 062438 (2024).
  28. F. Butt, S. Heußen, M. Rispler, and M. Müller, Fault-tolerant code-switching protocols for near-term quantum processors, PRX Quantum 5, 020345 (2024).
  29. H. Bombín, Dimensional jump in quantum error correction, New J. Phys. 18, 043038 (2016).
  30. J. T. Anderson, G. Duclos-Cianci, and D. Poulin, Fault-tolerant conversion between the Steane and Reed-Muller quantum codes, Phys. Rev. Lett. 113, 080501 (2014).
  31. P. Aliferis, D. Gottesman, and J. Preskill, Quantum accuracy threshold for concatenated distance-3 codes, arXiv:quant-ph/0504218.
  32. Y. Takada, Y. Takeuchi, and K. Fujii, Ising model formulation for highly accurate topological color codes decoding, Phys. Rev. Res. 6, 013092 (2024).
  33. S.-H. Lee, A. Li, and S. D. Bartlett, Color code decoder with improved scaling for correcting circuit-level noise, Quantum 9, 1609 (2025).
  34. N. Delfosse, Decoding color codes by projection onto surface codes, Phys. Rev. A 89, 012317 (2014).
  35. S. Turner, J. Hanish, E. Blanchard, N. Davis, and B. La Cour, A decoder for the color code with boundaries, arXiv:2003.11602.
  36. C. Gidney and C. Jones, New circuits and an open source decoder for the color code, arXiv:2312.08813.
  37. C. Chamberland, A. Kubica, T. J. Yoder, and G. Zhu, Triangular color codes on trivalent graphs with flag qubits, New J. Phys. 22, 023019 (2020).
  38. C. Chamberland, G. Zhu, T. J. Yoder, J. B. Hertzberg, and A. W. Cross, Topological and subsystem codes on low-degree graphs with flag qubits, Phys. Rev. X 10, 011022 (2020).
  39. A. M. Stephens, Efficient fault-tolerant decoding of topological color codes, arXiv:1402.3037.
  40. D. S. Wang, A. G. Fowler, C. D. Hill, and L. C. L. Hollenberg, Graphical algorithms and threshold error rates for the 2D colour code, arXiv:0907.1708.
  41. K. Sahay and B. J. Brown, Decoder for the triangular color code by matching on a Möbius strip, PRX Quantum 3, 010310 (2022).
  42. A. Kubica and N. Delfosse, Efficient color code decoders in d2 dimensions from toric code decoders, Quantum 7, 929 (2023).
  43. H. Bombín, Gauge color codes: Optimal transversal gates and gauge fixing in topological stabilizer codes, New J. Phys. 17, 083002 (2015).
  44. P. Baireuther, M. D. Caio, B. Criger, C. W. Beenakker, and T. E. O'Brien, Neural network decoder for topological color codes with circuit level noise, New J. Phys. 21, 013003 (2019).
  45. C. T. Chubb, General tensor network decoding of 2D Pauli codes, arXiv:2101.04125.
  46. L. A. Beni, O. Higgott, and N. Shutty, Tesseract: A search-based decoder for quantum error correction, arXiv:2503.10988.
  47. P. Sarvepalli and R. Raussendorf, Efficient decoding of topological color codes, Phys. Rev. A 85, 022317 (2012).
  48. H. Bombin, G. Duclos-Cianci, and D. Poulin, Universal topological phase of two-dimensional stabilizer codes, New J. Phys. 14, 073048 (2012).
  49. S. Koutsioumpas, T. Noszko, H. Sayginel, M. Webster, and J. Roffe, Colour codes reach surface code performance using vibe decoding, arXiv:2508.15743.
  50. A. W. Senior, T. Edlich, F. J. H. Heras, L. M. Zhang, O. Higgott, J. S. Spencer, T. Applebaum, S. Blackwell, J. Ledford, A. Žemgulytė, A. Žídek, N. Shutty, A. Cowie, Y. Li, G. Holland, P. Brooks, C. Beattie, M. Newman, A. Davies, C. Jones, et al., A scalable and real-time neural decoder for topological quantum codes, arXiv:2512.07737.
  51. M. Walters and M. L. Turner, Minimum weight decoding in the colour code is NP-hard, arXiv:2603.04234.
  52. A. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. (NY) 303, 2 (2003).
  53. E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, J. Math. Phys. 43, 4452 (2002).
  54. A. G. Fowler, A. M. Stephens, and P. Groszkowski, High-threshold universal quantum computation on the surface code, Phys. Rev. A 80, 052312 (2009).
  55. S. Bravyi, G. Duclos-Cianci, D. Poulin, and M. Suchara, Subsystem surface codes with three-qubit check operators, arXiv:1207.1443.
  56. O. Higgott, Pymatching: A python package for decoding quantum codes with minimum-weight perfect matching, ACM Trans. Quantum Comput. 3, 1 (2022).
  57. B. J. Brown, N. H. Nickerson, and D. E. Browne, Fault-tolerant error correction with the gauge color code, Nat. Commun. 7, 12302 (2016).
  58. A. Kubica, M. E. Beverland, F. Brandão, J. Preskill, and K. M. Svore, Three-dimensional color code thresholds via statistical-mechanical mapping, Phys. Rev. Lett. 120, 180501 (2018).
  59. H. Bombin, R. W. Chhajlany, M. Horodecki, and M.-A. Martin-Delgado, Self-correcting quantum computers, New J. Phys. 15, 055023 (2013).
  60. A. Kubica and M. E. Beverland, Universal transversal gates with color codes: A simplified approach, Phys. Rev. A 91, 032330 (2015).
  61. H. Bombin, Transversal gates and error propagation in 3D topological codes, arXiv:1810.09575.
  62. A. Kubica, B. Yoshida, and F. Pastawski, Unfolding the color code, New J. Phys. 17, 083026 (2015).
  63. E. W. Weisstein, Chamfered cube, mathWorld—A Wolfram Web Resource (2024), https://mathworld.wolfram.com/ChamferedCube.html.
  64. F. Butt, I. Pogorelov, R. Freund, A. Steiner, M. Meyer, T. Monz, and M. Müller, Demonstration of measurement-free universal logical quantum computation, Nat. Commun. 17, 995 (2026).
  65. J. Edmonds, Paths, trees, and flowers, Can. J. Math. 17, 449 (1965).
  66. A. G. Fowler, Optimal complexity correction of correlated errors in the surface code, arXiv:1310.0863.
  67. A. Paler and A. G. Fowler, Pipelined correlated minimum weight perfect matching of the surface code, Quantum 7, 1205 (2023).
  68. M. Li, M. Gutiérrez, S. E. David, A. Hernandez, and K. R. Brown, Fault tolerance with bare ancillary qubits for a [[7,1,3]] code, Phys. Rev. A 96, 032341 (2017).
  69. S. Heußen, D. Winter, M. Rispler, and M. Müller, Dynamical subset sampling of quantum error-correcting protocols, Phys. Rev. Res. 6, 013177 (2024).
  70. A. Paetznick and B. W. Reichardt, Fault-tolerant ancilla preparation and noise threshold lower bounds for the 23-qubit Golay code, arXiv:1106.2190.
  71. K. M. Svore, A. W. Cross, I. L. Chuang, and A. V. Aho, A flow-map model for analyzing pseudothresholds in fault-tolerant quantum computing, arXiv:quant-ph/0508176.
  72. C. Chamberland, T. Jochym-O'Connor, and R. Laflamme, Thresholds for universal concatenated quantum codes, Phys. Rev. Lett. 117, 010501 (2016).
  73. G. Wills, Visualization toolkit software, WIREs Computat. Stats. 4, 474 (2012).
  74. C. B. Sullivan and A. Kaszynski, PyVista: 3D plotting and mesh analysis through a streamlined interface for the Visualization Toolkit (VTK), J. Open Source Software 4, 1450 (2019).
  75. https://pypi.org/project/qCodePlot3D.
  76. https://github.com/larsesser/qcodeplot3d.
  77. R. Chao and B. W. Reichardt, Quantum error correction with only two extra qubits, Phys. Rev. Lett. 121, 050502 (2018).
  78. A. M. Steane, Active stabilization, quantum computation, and quantum state synthesis, Phys. Rev. Lett. 78, 2252 (1997).
  79. C. Gidney, Stim: A fast stabilizer circuit simulator, Quantum 5, 497 (2021).
  80. N. Metropolis and S. Ulam, The Monte Carlo method, J. Am. Stat. Assoc. 44, 335 (1949).
  81. G. Rubino and B. Tuffin, Rare Event Simulation Using Monte Carlo Methods (Wiley, New York, 2009).
  82. A. J. Landahl, J. T. Anderson, and P. R. Rice, Fault-tolerant quantum computing with color codes, arXiv:1108.5738.
  83. Oscar Higgott, https://github.com/oscarhiggott/PyMatching.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation