English

Generative Decoding for Quantum Error-correcting Codes

Quantum Physics 2025-03-28 v1

Abstract

Efficient and accurate decoding of quantum error-correcting codes is essential for fault-tolerant quantum computation, however, it is challenging due to the degeneracy of errors, the complex code topology, and the large space for logical operators in high-rate codes. In this work, we propose a decoding algorithm utilizing generative modeling in machine learning. We employ autoregressive neural networks to learn the joint probability of logical operators and syndromes in an unsupervised manner, eliminating the need for labeled training data. The learned model can approximately perform maximum likelihood decoding by directly generating the most likely logical operators for kk logical qubits with O(2k)\mathcal O(2k) computational complexity. Thus, it is particularly efficient for decoding high-rate codes with many logical qubits. The proposed approach is general and applies to a wide spectrum of quantum error-correcting codes including surface codes and quantum low-density parity-check codes (qLDPC), under noise models ranging from code capacity noise to circuit level noise. We conducted extensive numerical experiments to demonstrate that our approach achieves significantly higher decoding accuracy compared to the minimum weight perfect matching and belief propagation with ordered statistics on the surface codes and high-rate quantum low-density parity-check codes. Our approach highlights generative artificial intelligence as a potential solution for the real-time decoding of realistic and high-rate quantum error correction codes.

Keywords

Cite

@article{arxiv.2503.21374,
  title  = {Generative Decoding for Quantum Error-correcting Codes},
  author = {Hanyan Cao and Feng Pan and Dongyang Feng and Yijia Wang and Pan Zhang},
  journal= {arXiv preprint arXiv:2503.21374},
  year   = {2025}
}