Data-driven decoding of quantum error correcting codes using graph neural networks
Journal article, 2025

To leverage the full potential of quantum error-correcting stabilizer codes it is crucial to have an efficient and accurate decoder. Accurate, maximum likelihood, decoders are computationally very expensive whereas decoders based on more efficient algorithms give sub-optimal performance. In addition, the accuracy will depend on the quality of models and estimates of error rates for idling qubits, gates, measurements, and resets, and will typically assume symmetric error channels. In this work, we explore a model-free, data-driven, approach to decoding, using a graph neural network (GNN). The decoding problem is formulated as a graph classification task in which a set of stabilizer measurements is mapped to an annotated detector graph for which the neural network predicts the most likely logical error class. We show that the GNN-based decoder can outperform a matching decoder for circuit level noise on the surface code given only the simulated data, while the matching decoder is given full information of the underlying error model. Although training is computationally demanding, inference is fast and scales approximately linearly with the space-Time volume of the code. We also find that we can use large, but more limited, datasets of real experimental data for the repetition code, giving decoding accuracies that are on par with minimum weight perfect matching. The results show that a purely data-driven approach to decoding may be a viable future option for practical quantum error correction, which is competitive in terms of speed, accuracy, and versatility.

Author

Moritz Lange

University of Gothenburg

Pontus Havström

University of Gothenburg

Basudha Srivastava

University of Gothenburg

Quantinuum Ltd.

Isak Bengtsson

Chalmers, Physics, Materials Physics

Valdemar Bergentall

University of Gothenburg

Karl Hammar

University of Gothenburg

Olivia Heuts

University of Gothenburg

Evert Van Nieuwenburg

Leiden University

Mats Granath

University of Gothenburg

Physical Review Research

26431564 (ISSN)

Vol. 7 2 023181

Subject Categories (SSIF 2025)

Computer Sciences

Subatomic Physics

DOI

10.1103/PhysRevResearch.7.023181

More information

Latest update

6/22/2025