Minimising surface-code failures using a color-code decoder
1Department of Physics and Astronomy, University College London, London WC1E 6BT, United Kingdom
2Department of Applied Physics, Yale University, New Haven, Connecticut 06511, USA
3Niels Bohr International Academy, Niels Bohr Institute, Blegdamsvej 17, 2100 Copenhagen, Denmark
| Published: | 2025-02-17, volume 9, page 1632 |
| Editor: | Felix Huber |
| Eprint: | arXiv:2306.16476v3 |
| Doi: | https://doi.org/10.22331/q-2025-02-17-1632 |
| Citation: | Quantum 9, 1632 (2025). |
Find this paper interesting or want to discuss? Scite or leave a comment on SciRate.
Abstract
The development of practical, high-performance decoding algorithms reduces the resource cost of fault-tolerant quantum computing. Here we propose a decoder for the surface code that finds low-weight correction operators for errors produced by the depolarising noise model. The decoder is obtained by mapping the syndrome of the surface code onto that of the color code, thereby allowing us to adopt more sophisticated color-code decoding algorithms. Analytical arguments and exhaustive testing show that the resulting decoder can find a least-weight correction for all weight $d/2$ depolarising errors for even code distance $d$. This improves the logical error rate by an exponential factor $O(2^{d/2})$ compared with decoders that treat bit-flip and dephasing errors separately. We demonstrate this improvement with analytical arguments and supporting numerical simulations at low error rates. Of independent interest, we also demonstrate an exponential improvement in logical error rate for our decoder used to correct independent and identically distributed bit-flip errors affecting the color code compared with more conventional color-code decoding algorithms.
► BibTeX data
► References
[1] Peter W Shor. ``Scheme for reducing decoherence in quantum computer memory''. Physical review A 52, R2493 (1995).
https://doi.org/10.1103/PhysRevA.52.R2493
[2] Peter W Shor. ``Fault-tolerant quantum computation''. In Proceedings of 37th conference on foundations of computer science. Pages 56–65. IEEE (1996).
https://doi.org/10.48550/arXiv.quant-ph/9605011
arXiv:quant-ph/9605011
[3] A Robert Calderbank and Peter W Shor. ``Good quantum error-correcting codes exist''. Physical Review A 54, 1098 (1996).
https://doi.org/10.1103/PhysRevA.54.1098
[4] Barbara M Terhal. ``Quantum error correction for quantum memories''. Reviews of Modern Physics 87, 307 (2015).
https://doi.org/10.1103/RevModPhys.87.307
[5] Benjamin J Brown, Daniel Loss, Jiannis K Pachos, Chris N Self, and James R Wootton. ``Quantum memories at finite temperature''. Reviews of Modern Physics 88, 045005 (2016).
https://doi.org/10.1103/RevModPhys.88.045005
[6] Earl T Campbell, Barbara M Terhal, and Christophe Vuillot. ``Roads towards fault-tolerant universal quantum computation''. Nature 549, 172–179 (2017).
https://doi.org/10.1038/nature23460
[7] Eric Dennis, Alexei Kitaev, Andrew Landahl, and John Preskill. ``Topological quantum memory''. Journal of Mathematical Physics 43, 4452–4505 (2002).
https://doi.org/10.1063/1.1499754
[8] Guillaume Duclos-Cianci and David Poulin. ``Fast decoders for topological quantum codes''. Physical review letters 104, 050504 (2010).
https://doi.org/10.1103/PhysRevLett.104.050504
[9] James R Wootton and Daniel Loss. ``High threshold error correction for the surface code''. Physical review letters 109, 160503 (2012).
https://doi.org/10.1103/PhysRevLett.109.160503
[10] Hussain Anwar, Benjmain J. Brown, Earl. T. Campbell, and Dan E. Browne. ``Fast decoders for qudit topological codes''. New J. Phys. 16, 063038 (2014).
https://doi.org/10.1088/1367-2630/16/6/063038
[11] Adrian Hutter, James R Wootton, and Daniel Loss. ``Efficient markov chain monte carlo algorithm for the surface code''. Physical Review A 89, 022326 (2014).
https://doi.org/10.1103/PhysRevA.89.022326
[12] Giacomo Torlai and Roger G. Melko. ``Neural decoder for topological codes''. Phys. Rev. Lett. 119, 030501 (2017).
https://doi.org/10.1103/PhysRevLett.119.030501
[13] Pavel Panteleev and Gleb Kalachev. ``Degenerate quantum ldpc codes with good finite length performance''. Quantum 5, 585 (2021).
https://doi.org/10.22331/q-2021-11-22-585
[14] Nicolas Delfosse and Naomi H. Nickerson. ``Almost-linear time decoding algorithm for topological codes''. Quantum 5, 595 (2021).
https://doi.org/10.22331/q-2021-12-02-595
[15] A Yu Kitaev. ``Fault-tolerant quantum computation by anyons''. Annals of physics 303, 2–30 (2003).
https://doi.org/10.1016/S0003-4916%2802%2900018-0
[16] S. B. Bravyi and A. Yu. Kitaev. ``Quantum codes on a lattice with boundary'' (1998). arXiv:quant-ph/9811052.
arXiv:quant-ph/9811052
[17] Austin G. Fowler, Matteo Mariantoni, John M. Martinis, and Andrew N. Cleland. ``Surface codes: Towards practical large-scale quantum computation''. Phys. Rev. A 86, 032324 (2012).
https://doi.org/10.1103/PhysRevA.86.032324
[18] H. Bombin and M. A. Martin-Delgado. ``Topological quantum distillation''. Phys. Rev. Lett. 97, 180501 (2006).
https://doi.org/10.1103/PhysRevLett.97.180501
[19] Hector Bombin and Miguel-Angel Martin-Delgado. ``Topological computation without braiding''. Physical review letters 98, 160502 (2007).
https://doi.org/10.1103/PhysRevLett.98.160502
[20] Héctor Bombín. ``Gauge color codes: optimal transversal gates and gauge fixing in topological stabilizer codes''. New Journal of Physics 17, 083002 (2015).
https://doi.org/10.1088/1367-2630/17/8/083002
[21] Aleksander Kubica and Michael E. Beverland. ``Universal transversal gates with color codes: A simplified approach''. Phys. Rev. A 91, 032330 (2015).
https://doi.org/10.1103/PhysRevA.91.032330
[22] Laird Egan, Dripto M. Debroy, Crystal Noel, Andrew Risinger, Daiwei Zhu, Debopriyo Biswas, Michael Newman, Muyuan Li, Kenneth R. Brown, Marko Cetina, and Christopher Monroe. ``Fault-tolerant control of an error-corrected qubit''. Nature 598, 281–286 (2021).
https://doi.org/10.1038/s41586-021-03928-y
[23] C. Ryan-Anderson, J. G. Bohnet, K. Lee, D. Gresh, A. Hankin, J. P. Gaebler, D. Francois, A. Chernoguzov, D. Lucchetti, N. C. Brown, T. M. Gatterman, S. K. Halit, K. Gilmore, J. A. Gerber, B. Neyenhuis, D. Hayes, and R. P. Stutz. ``Realization of real-time fault-tolerant quantum error correction''. Phys. Rev. X 11, 041058 (2021).
https://doi.org/10.1103/PhysRevX.11.041058
[24] Sebastian Krinner, Nathan Lacroix, Ants Remm, Agustin Di Paolo, Elie Genois, Catherine Leroux, Christoph Hellings, Stefania Lazar, Francois Swiadek, Johannes Herrmann, Graham J. Norris, Christian Kraglund Andersen, Markus Müller, Alexandre Blais, Christopher Eichler, and Andreas Wallraff. ``Realizing repeated quantum error correction in a distance-three surface code''. Nature 605, 669–674 (2022).
https://doi.org/10.1038/s41586-022-04566-8
[25] Neereja Sundaresan, Theodore J. Yoder, Youngseok Kim, Muyuan Li, Edward H. Chen, Grace Harper, Ted Thorbeck, Andrew W. Cross, Antonio D. Córcoles, and Maika Takita. ``Demonstrating multi-round subsystem quantum error correction using matching and maximum likelihood decoders''. Nature Communications 14, 2852 (2023).
https://doi.org/10.1038/s41467-023-38247-5
[26] Google Quantum AI. ``Suppressing quantum errors by scaling a surface code logical qubit''. Nature 614, 676–681 (2023).
https://doi.org/10.48550/arXiv.2207.06431
[27] Riddhi S. Gupta, Neereja Sundaresan, Thomas Alexander, Christopher J. Wood, Seth T. Merkel, Michael B. Healy, Marius Hillenbrand, Tomas Jochym-O'Connor, James R. Wootton, Theodore J. Yoder, Andrew W. Cross, Maika Takita, and Benjamin J. Brown. ``Encoding a magic state with beyond break-even fidelity'' (2023).
https://doi.org/10.1038/s41586-023-06846-3
[28] Chenyang Wang, Jim Harrington, and John Preskill. ``Confinement-higgs transition in a disordered gauge theory and the accuracy threshold for quantum memory''. Annals of Physics 303, 31–58 (2003).
https://doi.org/10.1016/S0003-4916(02)00019-2
[29] Robert Raussendorf and Jim Harrington. ``Fault-tolerant quantum computation with high threshold in two dimensions''. Phys. Rev. Lett. 98, 190504 (2007).
https://doi.org/10.1103/PhysRevLett.98.190504
[30] Jack Edmonds. ``Paths, trees, and flowers''. Canadian Journal of mathematics 17, 449–467 (1965).
https://doi.org/10.4153/CJM-1965-045-4
[31] Oscar Higgott and Craig Gidney. ``Sparse blossom: correcting a million errors per core second with minimum-weight matching'' (2023).
https://doi.org/10.22331/q-2025-01-20-1600
[32] Austin G. Fowler. ``Coping with qubit leakage in topological codes''. Phys. Rev. A 88, 042308 (2013).
https://doi.org/10.1103/PhysRevA.88.042308
[33] Austin G. Fowler and John M. Martinis. ``Quantifying the effects of local many-qubit errors and nonlocal two-qubit errors on the surface code''. Phys. Rev. A 89, 032316 (2014).
https://doi.org/10.1103/PhysRevA.89.032316
[34] Adrian Hutter and Daniel Loss. ``Breakdown of surface-code error correction due to coupling to a bosonic bath''. Phys. Rev. A 89, 042334 (2014).
https://doi.org/10.1103/PhysRevA.89.042334
[35] Naomi H. Nickerson and Benjamin J. Brown. ``Analysing correlated noise on the surface code using adaptive decoding algorithms''. Quantum 3, 131 (2019).
https://doi.org/10.22331/q-2019-04-08-131
[36] David K Tuckett, Stephen D Bartlett, Steven T Flammia, and Benjamin J Brown. ``Fault-tolerant thresholds for the surface code in excess of 5% under biased noise''. Physical review letters 124, 130501 (2020).
https://doi.org/10.1103/PhysRevLett.124.130501
[37] J Pablo Bonilla Ataides, David K Tuckett, Stephen D Bartlett, Steven T Flammia, and Benjamin J Brown. ``The xzzx surface code''. Nature communications 12, 2172 (2021).
https://doi.org/10.1038/s41467-021-22274-1
[38] Armands Strikis, Simon C. Benjamin, and Benjamin J. Brown. ``Quantum computing is scalable on a planar array of qubits with fabrication defects'' (2021).
[39] Adam Siegel, Armands Strikis, Thomas Flatters, and Simon Benjamin. ``Adaptive surface code for quantum error correction in the presence of temporary or permanent defects'' (2022).
https://doi.org/10.22331/q-2023-07-25-1065
[40] Sophia Fuhui Lin, Joshua Viszlai, Kaitlin N. Smith, Gokul Subramanian Ravi, Charles Yuan, Frederic T. Chong, and Benjamin J. Brown. ``Empirical overhead of the adapted surface code on defective qubit arrays'' (2023).
[41] Benjamin J Brown and Dominic J Williamson. ``Parallelized quantum error correction with fracton topological codes''. Physical Review Research 2, 013303 (2020).
https://doi.org/10.1103/PhysRevResearch.2.013303
[42] Georgia M Nixon and Benjamin J Brown. ``Correcting spanning errors with a fractal code''. IEEE Transactions on Information Theory 67, 4504–4516 (2021).
https://doi.org/10.1109/TIT.2021.3068359
[43] Jonathan F. San Miguel, Dominic J. Williamson, and Benjamin J. Brown. ``A cellular automaton decoder for a noise-bias tailored color code''. Quantum 7, 940 (2023).
https://doi.org/10.22331/q-2023-03-09-940
[44] David S. Wang, Austin G. Fowler, Charles D. Hill, and Lloyd C. L. Hollenberg. ``Graphical algorithms and threshold error rates for the 2d color code''. Quantum Info. Comput. 10, 780–802 (2010).
https://doi.org/10.48550/arXiv.0907.1708
[45] Nicolas Delfosse and Jean-Pierre Tillich. ``A decoding algorithm for css codes using the x/z correlations''. In 2014 IEEE International Symposium on Information Theory. Pages 1071–1075. IEEE (2014).
https://doi.org/10.48550/arXiv.1401.6975
[46] Christopher Chamberland, Aleksander Kubica, Theodore J Yoder, and Guanyu Zhu. ``Triangular color codes on trivalent graphs with flag qubits''. New Journal of Physics 22, 023019 (2020).
https://doi.org/10.1088/1367-2630/ab68fd
[47] Michael E. Beverland, Aleksander Kubica, and Krysta M. Svore. ``Cost of universality: A comparative study of the overhead of state distillation and code switching with color codes''. PRX Quantum 2, 020341 (2021).
https://doi.org/10.1103/PRXQuantum.2.020341
[48] Kaavya Sahay and Benjamin J Brown. ``Decoder for the triangular color code by matching on a möbius strip''. PRX Quantum 3, 010310 (2022).
https://doi.org/10.1103/PRXQuantum.3.010310
[49] Aleksander Kubica and Nicolas Delfosse. ``Efficient color code decoders in $ d \backslash geq 2$ dimensions from toric code decoders''. Quantum 7, 929 (2023).
https://doi.org/10.22331/q-2023-02-21-929
[50] Robert Raussendorf, Sergey Bravyi, and Jim Harrington. ``Long-range quantum entanglement in noisy cluster states''. Phys. Rev. A 71, 062313 (2005).
https://doi.org/10.1103/PhysRevA.71.062313
[51] Oscar Higgott and Nikolas P. Breuckmann. ``Subsystem codes with high thresholds by gauge fixing and reduced qubit overhead''. Phys. Rev. X 11, 031039 (2021).
https://doi.org/10.1103/PhysRevX.11.031039
[52] Craig Gidney, Michael Newman, and Matt McEwen. ``Benchmarking the Planar Honeycomb Code''. Quantum 6, 813 (2022).
https://doi.org/10.22331/q-2022-09-21-813
[53] Adam Paetznick, Christina Knapp, Nicolas Delfosse, Bela Bauer, Jeongwan Haah, Matthew B. Hastings, and Marcus P. da Silva. ``Performance of planar floquet codes with majorana-based qubits''. PRX Quantum 4, 010310 (2023).
https://doi.org/10.1103/PRXQuantum.4.010310
[54] Markus S. Kesselring, Julio C. Magdalena de la Fuente, Felix Thomsen, Jens Eisert, Stephen D. Bartlett, and Benjamin J. Brown. ``Anyon condensation and the color code'' (2022).
https://doi.org/10.1103/PRXQuantum.5.010342
[55] Benjamin J Brown. ``Conservation laws and quantum error correction: towards a generalised matching decoder'' (2022).
https://doi.org/10.1109/MBITS.2023.3246025
[56] Austin G. Fowler. ``Optimal complexity correction of correlated errors in the surface code'' (2013).
[57] Oscar Higgott, Thomas C Bohdanowicz, Aleksander Kubica, Steven T Flammia, and Earl T Campbell. ``Improved decoding of circuit noise and fragile boundaries of tailored surface codes''. Physical Review X 13, 031007 (2023).
https://doi.org/10.48550/arXiv.2203.04948
[58] Hector Bombin, Guillaume Duclos-Cianci, and David Poulin. ``Universal topological phase of two-dimensional stabilizer codes''. New Journal of Physics 14, 073048 (2012).
https://doi.org/10.1088/1367-2630/14/7/073048
[59] Aleksander Kubica, Beni Yoshida, and Fernando Pastawski. ``Unfolding the color code''. New Journal of Physics 17, 083026 (2015).
https://doi.org/10.1088/1367-2630/17/8/083026
[60] Arjun Bhagoji and Pradeep Sarvepalli. ``Equivalence of 2d color codes (without translational symmetry) to surface codes''. In 2015 IEEE International Symposium on Information Theory (ISIT). Page 1109. (2015).
https://doi.org/10.1109/ISIT.2015.7282627
[61] Ben Criger and Barbara Terhal. ``Noise thresholds for the [[4, 2, 2]]-concatenated toric code'' (2016).
https://doi.org/10.26421/QIC16.15-16-1
[62] Charles H Bennett. ``Efficient estimation of free energy differences from monte carlo data''. Journal of Computational Physics 22, 245–268 (1976).
https://doi.org/10.1016/0021-9991(76)90078-4
[63] Sergey Bravyi and Alexander Vargo. ``Simulation of rare events in quantum error correction''. Physical Review A 88 (2013).
https://doi.org/10.1103/physreva.88.062308
[64] Thomas M Stace and Sean D Barrett. ``Error correction and degeneracy in surface codes suffering loss''. Physical Review A 81, 022317 (2010).
https://doi.org/10.1103/PhysRevA.81.022317
[65] Ben Criger and Imran Ashraf. ``Multi-path summation for decoding 2d topological codes''. Quantum 2, 102 (2018).
https://doi.org/10.22331/q-2018-10-19-102
[66] Michael E Beverland, Benjamin J Brown, Michael J Kastoryano, and Quentin Marolleau. ``The role of entropy in topological quantum error correction''. Journal of Statistical Mechanics: Theory and Experiment 2019, 073404 (2019).
https://doi.org/10.1088/1742-5468/ab25de
[67] Daniel Gottesman. ``Theory of fault-tolerant quantum computation''. Physical Review A 57, 127–137 (1998).
https://doi.org/10.1103/physreva.57.127
[68] Craig Gidney and Cody Jones. ``New circuits and an open source decoder for the color code'' (2023). arXiv:2312.08813.
arXiv:2312.08813
[69] Basudha Srivastava, Anton Frisk Kockum, and Mats Granath. ``The $xyz^2$ hexagonal stabilizer code''. Quantum 6, 698 (2022).
https://doi.org/10.22331/q-2022-04-27-698
[70] Eric Huang, Arthur Pesah, Christopher T. Chubb, Michael Vasmer, and Arpit Dua. ``Tailoring three-dimensional topological codes for biased noise'' (2022). arXiv:2211.02116.
https://doi.org/10.1103/PRXQuantum.4.030338
arXiv:2211.02116
[71] Beni Yoshida. ``Classification of quantum phases and topology of logical operators in an exactly solved model of quantum codes''. Annals of Physics 326, 15–95 (2011).
https://doi.org/10.1016/j.aop.2010.10.009
[72] Courtney G Brell, Steven T Flammia, Stephen D Bartlett, and Andrew C Doherty. ``Toric codes and quantum doubles from two-body hamiltonians''. New Journal of Physics 13, 053039 (2011).
https://doi.org/10.1088/1367-2630/13/5/053039
[73] Andrew M Steane. ``Simple quantum error-correcting codes''. Physical Review A 54, 4741 (1996).
https://doi.org/10.1103/PhysRevA.54.4741
[74] Joschka Roffe, Lawrence Z Cohen, Armanda O Quintavalle, Daryus Chandra, and Earl T Campbell. ``Bias-tailored quantum ldpc codes''. Quantum 7, 1005 (2023).
https://doi.org/10.22331/q-2023-05-15-1005
[75] Tim Chan and Simon C. Benjamin. ``Strictly local union-find'' (2023).
https://doi.org/10.22331/q-2023-11-14-1183
[76] Sam J. Griffiths and Dan E. Browne. ``Union-find quantum decoding without union-find'' (2023).
[77] Shilin Huang, Michael Newman, and Kenneth R. Brown. ``Fault-tolerant weighted union-find decoding on the toric code''. Phys. Rev. A 102, 012419 (2020).
https://doi.org/10.1103/PhysRevA.102.012419
[78] Jeongwan Haah and Matthew B. Hastings. ``Boundaries for the Honeycomb Code''. Quantum 6, 693 (2022).
https://doi.org/10.22331/q-2022-04-21-693
Cited by
[1] Yantong Liu, Junjie Wu, and Lingling Lao, "The correlated matching decoder for the 4.8.8 color code", Science China Information Sciences 69 8, 180508 (2026).
[2] Zohar Schwartzman-Nowik and Benjamin J. Brown, "Generalizing the matching decoder for the Chamon code", Quantum 9, 1775 (2025).
[3] Moritz Lange, Pontus Havström, Basudha Srivastava, Isak Bengtsson, Valdemar Bergentall, Karl Hammar, Olivia Heuts, Evert van Nieuwenburg, and Mats Granath, "Data-driven decoding of quantum error correcting codes using graph neural networks", Physical Review Research 7 2, 023181 (2025).
[4] Victor V. Albert and Philippe Faist, "Handbook of Error-Correcting Codes", arXiv:2606.11484, (2026).
[5] Cody Jones, "Improved accuracy for decoding surface codes with matching synthesis", arXiv:2408.12135, (2024).
The above citations are from Crossref's cited-by service (last updated successfully 2026-08-10 14:42:46) and SAO/NASA ADS (last updated successfully 2026-08-10 14:42:49). The list may be incomplete as not all publishers provide suitable and complete citation data.
This Paper is published in Quantum under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. Copyright remains with the original copyright holders such as the authors or their institutions.