[Paper Review] Data-driven decoding of quantum error correcting codes using graph neural networks
This paper proposes a model-free, data-driven quantum error decoding method using graph neural networks (GNNs) that treats syndrome detection data as labeled graphs. The GNN predicts logical error classes directly from simulated and real experimental data, achieving decoding accuracy comparable to minimum weight perfect matching on the surface code and repetition code, even without prior knowledge of error models or noise parameters.
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, instead, 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 simulated experimental data, even if 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 [Google Quantum AI, Nature {\bf 614}, 676 (2023)] 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.
Motivation & Objective
- To develop a decoder for quantum error-correcting codes that does not rely on explicit error models or assumptions about noise symmetry.
- To investigate whether graph neural networks can learn effective decoding strategies directly from simulated and real experimental data.
- To evaluate the performance of a GNN-based decoder against established decoders like minimum weight perfect matching under circuit-level noise.
- To assess the scalability and inference efficiency of the GNN approach in comparison to computationally expensive maximum likelihood decoders.
- To explore the feasibility of using limited real experimental data for training robust, generalizable decoders in practical quantum error correction.
Proposed method
- The decoding problem is formulated as a graph classification task, where detector events (syndrome changes) are represented as nodes in a space-time graph with labels indicating logical errors.
- A graph neural network (GNN) processes the detector graph using 7 graph convolutional layers with ReLU activation, followed by global average pooling of node features.
- The pooled features are passed through two identical fully connected heads to predict the probability of logical bit-flip and phase-flip errors, using sigmoid outputs.
- The GNN is trained on large-scale simulated data for surface codes and on real experimental data from Google Quantum AI’s 2023 experiment for the repetition code.
- Edge pruning limits the maximum graph degree, ensuring linear scaling of computation with the number of stabilizer measurements.
- Training uses batched stochastic gradient descent with learning rate scheduling and data replacement to prevent overfitting.
Experimental results
Research questions
- RQ1Can a GNN-based decoder achieve decoding accuracy comparable to minimum weight perfect matching without access to the underlying error model or noise parameters?
- RQ2How does the performance of a data-driven GNN decoder compare to traditional decoders when trained solely on simulated circuit-level noise data?
- RQ3To what extent can a GNN decoder generalize to real experimental data, and how well does it perform with limited real datasets?
- RQ4Does the GNN decoder maintain high inference speed and linear scaling with code size, enabling real-time application in quantum computing?
- RQ5Can the GNN learn effective decoding strategies even when the error model is unknown or asymmetric?
Key findings
- The GNN-based decoder outperforms a matching decoder on surface code simulations with circuit-level noise, even when the matching decoder has full knowledge of the error model.
- For the repetition code, the GNN decoder achieves decoding accuracy on par with minimum weight perfect matching when trained on limited real experimental data from Google Quantum AI (2023).
- Inference with the GNN scales approximately linearly with the space-time volume of the code, enabling fast, real-time decoding.
- The model-free approach eliminates the need for assumptions about error symmetry or precise error rate estimates, enhancing practicality.
- Training is computationally intensive but feasible, with 100 epochs taking ~10 hours on A100 GPUs for distance-5 surface codes.
- The GNN generalizes well across different error rates and code distances, demonstrating robustness and transferability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.