QuantumAtlas

Research Explained · Error Correction

Learning High-Accuracy Error Decoding for Quantum Processors

Johannes Bausch, Andrew W. Senior, Francisco J. H. Heras, Thomas Edlich, Alex Davies, Michael Newman, Cody Jones, Kevin Satzinger, Murphy Yuezhen Niu, Sam Blackwell, George Holland, and many colleagues at Google DeepMind and Google Quantum AI

Google DeepMind; Google Quantum AI · 2024 · Difficulty ★★★★☆

Reference

Bausch, J., Senior, A. W., Heras, F. J. H., et al. (2024). Learning high-accuracy error decoding for quantum processors. Nature, 635, 834-840. arXiv:2310.05900.

Preprint: arXiv:2310.05900

This page is an independent explanation. For exact wording, figures, and data, read the original paper.

The short version

Google DeepMind and Google Quantum AI trained a neural network, AlphaQubit, to decode the error syndromes of surface codes. On real data from the Sycamore processor, it made fewer logical errors than the best conventional decoders, learning the correlated noise of the device.

Key findings

  • A recurrent transformer neural network reads the stream of syndrome measurements and predicts whether a logical error has occurred.
  • On the Sycamore data for distance-3 and distance-5 surface codes, AlphaQubit made fewer errors than tensor-network decoders, which are the most accurate conventional ones, and substantially fewer than minimum-weight matching variants.
  • The network was trained first on simulated data with a noise model and then fine-tuned on experimental data, adapting to the real noise.
  • On simulated data, the decoder worked up to distance 11 and with up to 25 rounds, and generalized to longer sequences than it had seen in training.

Background: why this paper was written

A decoder takes the record of syndrome measurements from an error-correcting code and decides which corrections to apply. For the surface code, the standard decoder is minimum-weight perfect matching, which is fast but assumes independent errors, so it is not optimal when errors are correlated, as in real devices with crosstalk and leakage. More accurate decoders, such as tensor-network decoders, are far too slow for real-time use.

Google's quantum hardware experiments of 2023 had shown that decoding accuracy mattered: the same syndrome data gave different logical error rates with different decoders. A neural network can in principle learn the actual noise of the device from data, without needing a precise noise model.

What the researchers did

The decoder takes as input the detection events, which are the changes between successive rounds of syndrome measurements, and processes them with a recurrent architecture: a network that maintains a state for each stabilizer position and updates it each round using attention to the neighboring stabilizers. At the end of the sequence, a readout head predicts whether the logical observable was flipped. The network also uses soft information from the readout, the analog values of the measurement signals, when available.

Training has two stages. In pretraining, the network is trained on hundreds of millions of samples generated by simulation with a detailed noise model of the device, including crosstalk and leakage, calibrated on the processor. In fine-tuning, the network is trained on a limited set of real experimental data from the device, so that it adapts to the true noise, which differs from the model. The authors used data from the 2023 surface code experiment on the Sycamore processor with distance-3 and distance-5 codes.

The accuracy was compared with matching decoders with different levels of sophistication and with the tensor-network decoder, which is the most accurate but takes a very long time. AlphaQubit had about 6 percent fewer errors than the tensor-network decoder and about 30 percent fewer than the correlated matching decoder for the experiment in the paper. On simulated data with realistic noise, the network was trained on up to distance 11 with 25 rounds and generalized to experiments with up to 100,000 rounds, showing that it learned to handle long sequences.

Results

The learned decoder achieved the best logical error rates on real data among the decoders tested, showing that learning from data can capture noise structure that hand-built models miss.

The scaling results on simulation indicated that the approach could work at larger distances, though the training and the inference become more costly.

The authors emphasized that the neural decoder is a research result and that real-time decoding at the speed of the hardware is a separate challenge.

Key facts and numbers

ItemDetail
Year and venue2024, Nature
NetworkRecurrent transformer-based decoder
DataSycamore surface code experiments at distances 3 and 5, plus simulations up to distance 11
AccuracyAbout 6 percent fewer errors than tensor-network decoding and about 30 percent fewer than correlated matching, on the experimental data
Main limitNot fast enough for real-time use

Limitations and caveats

The decoder is too slow for real-time use. Superconducting devices produce syndrome data every microsecond or so, and the network takes much longer to process, so speeding it up or distilling it into a faster network is needed.

Training requires large amounts of simulated and experimental data, and the cost grows with code distance, so the approach may be hard to extend to very large codes.

The improvement relative to the best conventional decoder is modest, a few percent, and the gain at higher distances is not demonstrated on hardware.

Why it matters

The paper showed that machine-learned decoders can outperform hand-designed ones on real hardware data, which is important because decoding accuracy directly affects the logical error rate. It is an example of artificial intelligence applied to quantum error correction.

What happened next

The paper started a wave of work on neural decoders for quantum codes, and it was cited in discussions of how artificial intelligence might help to build quantum computers. Google released tools and the dataset from the experiment for others to use.

The result also fits the broader theme that decoding is a central part of the systems problem of fault tolerance, along with other developments such as real-time decoding on FPGAs and ASICs, belief propagation for qLDPC codes, and IBM's Relay-BP decoder.

How to read the original paper

The main text describes the architecture and the main results, with figures comparing decoders. The methods section contains details of training and the noise model.

The syndrome measurement and surface code pages on this site explain what a decoder does.

Original abstract (paraphrased)

Quantum error correction requires a decoder that infers errors from syndrome measurements. The paper introduces a recurrent, transformer-based neural network decoder, trained on simulated data and fine-tuned with experimental data from Sycamore, which achieves higher accuracy than state-of-the-art matching and tensor-network decoders for distance-3 and distance-5 surface codes, and shows promising scaling on simulated codes up to distance 11.

Frequently asked questions

What is AlphaQubit?

A neural-network decoder for quantum error correction developed by Google DeepMind and Google Quantum AI, which reads syndrome data and predicts logical errors.

Is it better than conventional decoders?

On the real data in the paper, it made fewer errors than the best conventional decoders tested, though it is not yet fast enough for real-time use.

Why use machine learning for decoding?

Because it can learn the real, correlated noise of a device from data, which standard decoders model poorly.

Keep exploring

Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.

← Back to all research papers