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

BlockBP decoder for the surface code

Aviad Kaufmann*

Itai Arad

  • *Contact author: aviadskaufmann@gmail.com

Phys. Rev. Research 7, 043025 – Published 7 October, 2025

DOI: https://doi.org/10.1103/z2qt-smfb

Abstract

We present a new decoder for the surface code, which combines the accuracy of the tensor-network decoders with the efficiency and parallelism of the belief-propagation algorithm. Our main idea is to replace the expensive tensor-network contraction step in the tensor-network decoders with the blockBP algorithm—a recent approximate contraction algorithm, based on belief propagation. Our decoder is therefore a belief-propagation decoder that works in the degenerate maximal likelihood decoding framework. Unlike conventional tensor-network decoders, our algorithm can run efficiently in parallel, and may therefore be suitable for real-time decoding. We numerically test our decoder and show that for a large range of lattice sizes and noise levels it delivers a logical error probability that outperforms the Minimal Weight Perfect Matching decoder, sometimes by more than an order of magnitude.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (69)

  1. A. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. 303, 2 (2003).
  2. D. Aharonov and M. Ben-Or, Fault-tolerant quantum computation with constant error rate, SIAM J. Comput. 38, 1207 (2008).
  3. S. Krinner, N. Lacroix, A. Remm, A. Di Paolo, E. Genois, C. Leroux, C. Hellings, S. Lazar, F. Swiadek, J. Herrmann, G. J. Norris, C. K. Andersen, M. Müller, A. Blais, C. Eichler, and A. Wallraff, Realizing repeated quantum error correction in a distance-three surface code, Nature (London) 605, 669 (2022).
  4. Y. Zhao et al., Realization of an error-correcting surface code with superconducting qubits, Phys. Rev. Lett. 129, 030501 (2022).
  5. Google Quantum AI, Suppressing quantum errors by scaling a surface code logical qubit, Nature (London) 614, 676 (2023).
  6. P. Iyer and D. Poulin, Hardness of decoding quantum stabilizer codes, IEEE Trans. Inf. Theory 61, 5209 (2015).
  7. A. deMarti iOlius, P. Fuentes, R. Orús, P. M. Crespo, and J. Etxezarreta Martinez, Decoding algorithms for surface codes, Quantum 8, 1498 (2024).
  8. S. Bravyi, M. Suchara, and A. Vargo, Efficient algorithms for maximum likelihood decoding in the surface code, Phys. Rev. A 90, 032326 (2014).
  9. D. K. Tuckett, A. S. Darmawan, C. T. Chubb, S. Bravyi, S. D. Bartlett, and S. T. Flammia, Tailoring surface codes for highly biased noise, Phys. Rev. X 9, 041031 (2019).
  10. C. T. Chubb and S. T. Flammia, Statistical mechanical models for quantum codes with correlated noise, Ann. Inst. Henri Poincare D 8, 269 (2021).
  11. C. T. Chubb, General tensor network decoding of 2D Pauli codes, arXiv:2101.04125.
  12. C. Piveteau, C. T. Chubb, and J. M. Renes, Tensor network decoding beyond 2D, PRX Quantum 5, 040303 (2024).
  13. C. Guo, D. Poletti, and I. Arad, Block belief propagation algorithm for two-dimensional tensor networks, Phys. Rev. B 108, 125111 (2023).
  14. J. Pearl, Reverend bayes on inference engines: A distributed hierarchical approach, in Proceedings of the Second AAAI Conference on Artificial Intelligence, AAAI'82 (AAAI Press, Pennsylvania Ave, NW, Washington, DC, 1982), pp. 133–136.
  15. S.-Y. Chung, G. Forney, T. Richardson, and R. Urbanke, On the design of low-density parity-check codes within 0.0045 dB of the Shannon limit, IEEE Commun. Lett. 5, 58 (2001).
  16. C. Berrou, A. Glavieux, and P. Thitimajshima, Near Shannon limit error-correcting coding and decoding: Turbo-codes. 1, in Proceedings of ICC'93—IEEE International Conference on Communications (IEEE, Geneva, Switzerland, 1993), Vol. 2, pp. 1064–1070.
  17. D. Poulin and Y. Chung, On the iterative decoding of sparse quantum codes, Quantum Inf. Comput. 8, 987 (2008).
  18. G. Duclos-Cianci and D. Poulin, Fast decoders for topological quantum codes, Phys. Rev. Lett. 104, 050504 (2010).
  19. G. Duclos-Cianci and D. Poulin, Fault-tolerant renormalization group decoder for Abelian topological codes, Quantum Inf. Comput. 14, 721 (2014).
  20. B. Criger and I. Ashraf, Multi-path summation for decoding 2D topological codes, Quantum 2, 102 (2018).
  21. O. Higgott, T. C. Bohdanowicz, A. Kubica, S. T. Flammia, and E. T. Campbell, Improved decoding of circuit noise and fragile boundaries of tailored surface codes, Phys. Rev. X 13, 031007 (2023).
  22. J. Edmonds, Paths, trees, and flowers, Can. J. Math. 17, 449 (1965).
  23. E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, J. Math. Phys. 43, 4452 (2002).
  24. A. G. Fowler, M. Mariantoni, J. M. Martinis, and A. N. Cleland, Surface codes: Towards practical large-scale quantum computation, Phys. Rev. A 86, 032324 (2012).
  25. A. G. Fowler, Minimum weight perfect matching of fault-tolerant topological quantum error correction in average O(1) parallel time, Quantum Inf. Comput. 15, 145 (2015).
  26. A. Kubica, B. Yoshida, and F. Pastawski, Unfolding the color code, New J. Phys. 17, 083026 (2015).
  27. H. Bombin and M. A. Martin-Delgado, Optimal resources for topological two-dimensional stabilizer codes: Comparative study, Phys. Rev. A 76, 012305 (2007).
  28. D. Gottesman, Stabilizer codes and quantum error correction, Ph.D. thesis, California Institute of Technology, 1997.
  29. D. P. DiVincenzo, P. W. Shor, and J. A. Smolin, Quantum-channel capacity of very noisy channels, Phys. Rev. A 57, 830 (1998).
  30. N. Delfosse and N. H. Nickerson, Almost-linear time decoding algorithm for topological codes, Quantum 5, 595 (2021).
  31. P. Panteleev and G. Kalachev, Degenerate quantum LDPC codes with good finite length performance, Quantum 5, 585 (2021).
  32. J. Roffe, D. R. White, S. Burton, and E. Campbell, Decoding across the quantum low-density parity-check code landscape, Phys. Rev. Res. 2, 043423 (2020).
  33. M.-H. Hsieh and F. M. C. Le Gall, NP-hardness of decoding quantum error-correction codes, Phys. Rev. A 83, 052331 (2011).
  34. K.-Y. Kuo and C.-C. Lu, On the hardnesses of several quantum decoding problems, Quantum Inf. Proc. 19, 123 (2020).
  35. K.-Y. Kuo and C.-C. Lu, On the hardness of decoding quantum stabilizer codes under the depolarizing channel, in 2012 International Symposium on Information Theory and its Applications (IEICE, Kikai-Shinko-Kaikan Bldg., Japan, 2012), pp. 208–211.
  36. E. Berlekamp, R. McEliece, and H. van Tilborg, On the inherent intractability of certain coding problems (Corresp.), IEEE Trans. Inf. Theory 24, 384 (1978).
  37. R. Orús, A practical introduction to tensor networks: Matrix product states and projected entangled pair states, Ann. Phys. 349, 117 (2014).
  38. U. Schollwöck, The density-matrix renormalization group in the age of matrix product states, Ann. Phys. 326, 96 (2011).
  39. N. Schuch, M. M. Wolf, F. Verstraete, and J. I. Cirac, Computational complexity of projected entangled pair states, Phys. Rev. Lett. 98, 140506 (2007).
  40. F. Verstraete and J. I. Cirac, Renormalization algorithms for quantum-many body systems in two and higher dimensions, arXiv:cond-mat/0407066.
  41. F. Verstraete, V. Murg, and J. Cirac, Matrix product states, projected entangled pair states, and variational renormalization group methods for quantum spin systems, Adv. Phys. 57, 143 (2008).
  42. M. Mezard and A. Montanari, Information, Physics, and Computation (Oxford University Press, Oxford, 2009).
  43. M. Mézard, G. Parisi, and M. A. Virasoro, Spin Glass Theory and Beyond: An Introduction to the Replica Method and its Applications (World Scientific, Singapore, 1987).
  44. S. Yoon, A. V. Goltsev, S. N. Dorogovtsev, and J. F. F. Mendes, Belief-propagation algorithm and the Ising model on networks with arbitrary distributions of Motifs, Phys. Rev. E 84, 041144 (2011).
  45. B. Karrer, M. E. J. Newman, and L. Zdeborová, Percolation on sparse networks, Phys. Rev. Lett. 113, 208702 (2014).
  46. M. Mézard, G. Parisi, and R. Zecchina, Analytic and algorithmic solution of random satisfiability problems, Science 297, 812 (2002).
  47. R. Alkabetz and I. Arad, Tensor networks contraction and the belief propagation algorithm, Phys. Rev. Res. 3, 023073 (2021).
  48. S. Sahu and B. Swingle, Efficient tensor network simulation of quantum many-body physics on sparse graphs, arXiv:2206.04701.
  49. T. Begušić, J. Gray, and G. K.-L. Chan, Fast and converged classical simulations of evidence for the utility of quantum computing before fault tolerance, Sci. Adv. 10, eadk4321 (2024).
  50. J. Tindall, M. Fishman, E. M. Stoudenmire, and D. Sels, Efficient tensor network simulation of IBM's Eagle kicked Ising experiment, PRX Quantum 5, 010308 (2024).
  51. J. Tindall and M. Fishman, Gauging tensor networks with belief propagation, SciPost Phys. 15, 222 (2023).
  52. E. Robeva and A. Seigal, Duality of graphical models and tensor networks, Inf. Inference J. IMA 8, 273 (2018).
  53. J. S. Yedidia, W. Freeman, and Y. Weiss, Generalized belief propagation, in Advances in Neural Information Processing Systems, edited by T. Leen, T. Dietterich, and V. Tresp (MIT Press, Cambridge, MA, 2000), Vol. 13.
  54. J. S. Yedidia, W. Freeman, and Y. Weiss, Constructing free-energy approximations and generalized belief propagation algorithms, IEEE Trans. Inf. Theory 51, 2282 (2005).
  55. A. Pelizzola, Cluster variation method in statistical physics and probabilistic graphical models, J. Phys. A: Math. Gen. 38, R309 (2005).
  56. A. Montanari and T. Rizzo, How to compute loop corrections to the Bethe approximation, J. Stat. Mech. (2005) P10011.
  57. M. Chertkov and V. Y. Chernyak, Loop series for discrete statistical models on graphs, J. Stat. Mech. (2006) P06009.
  58. J. Mooij, B. Wemmenhove, B. Kappen, and T. Rizzo, Loop corrected belief propagation, in Proceedings of the Eleventh International Conference on Artificial Intelligence and Statistics, edited by M. Meila and X. Shen, Proceedings of Machine Learning Research (PMLR, San Juan, Puerto Rico, 2007), Vol. 2, pp. 331–338.
  59. A. Lage-Castellanos, R. Mulet, F. Ricci-Tersenghi, and T. Rizzo, Replica cluster variational method: The replica symmetric solution for the 2D random bond Ising model, J. Phys. A: Math. Theor. 46, 135001 (2013).
  60. C. Wang and H.-J. Zhou, Simplifying generalized belief propagation on redundant region graphs, J. Phys.: Conf. Ser. 473, 012004 (2013).
  61. H.-J. Zhou and W.-M. Zheng, Loop-corrected belief propagation for lattice spin models, Eur. Phys. J. B 88, 336 (2015).
  62. G. T. Cantwell and M. E. J. Newman, Message passing on networks with loops, Proc. Natl. Acad. Sci. USA 116, 23398 (2019).
  63. A. Kirkley, G. T. Cantwell, and M. E. J. Newman, Belief propagation for networks with loops, Sci. Adv. 7, eabf1211 (2021).
  64. D. K. Tuckett, Tailoring surface codes: Improvements in quantum error correction with biased noise, Ph.D. thesis, University of Sydney, 2020, https://github.com/qecsim/qecsim.
  65. M. Jeruchim, Techniques for estimating the bit error rate in the simulation of digital communication systems, IEEE J. Sel. Areas Commun. 2, 153 (1984).
  66. M. V. d. Merwe, V. Joseph, and G. Gopalakrishnan, Message scheduling for performant, many-core belief propagation, in Proceedings of the 2019 IEEE High Performance Extreme Computing Conference (HPEC) (Curran Associates, Morehouse Lane Red Hook, NY, 2019), pp. 1–7.
  67. C. Knoll, M. Rath, S. Tschiatschek, and F. Pernkopf, Message scheduling methods for belief propagation, in Joint European Conference on Machine Learning and Knowledge Discovery in Databases (Springer, New York, 2015), pp. 295–310.
  68. E. Nachmani, Y. Be'ery, and D. Burshtein, Learning to decode linear codes using deep learning, in Proceedings of the 2016 54th Annual Allerton Conference on Communication, Control, and Computing (IEEE, New York, 2016), pp. 341–346.
  69. In any case, using the built-in implementation had a negligible effect on the results.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation