Physics

Quantum Error Correction

Develop AI decoders that infer logical errors from repeated quantum error-correction measurements, helping quantum processors preserve encoded information despite physical noise.

Logical success rateBalanced code distances
Infer a logical outcome from repeated quantum checks
  1. Surface-code patch

    Circles mark data qubits. Blue and gold cells mark X and Z parity checks, respectively.

  2. Detection events over time

    Highlighted dots mark detection events, when a check’s outcome changes between rounds.

  3. Logical decision
    No logical flip
    The blue loop leaves the logical state unchanged.
    Logical flip
    The gold chain changes the logical state.

Results

Score breakdown

The Task

What is Quantum Error Correction?

Quantum computers use qubits to store and process information. Physical qubits are sensitive to noise, which can introduce errors during computation. Quantum error correction protects information by encoding one logical qubit across multiple physical qubits.

A surface code arranges physical qubits on a two-dimensional grid. Data qubits carry the encoded information. Measurement qubits help read stabilizers, parity checks that reveal evidence of errors while preserving the stored logical information. A detection event marks a deviation from the expected check pattern, such as a change between consecutive rounds.

  1. Surface-code lattice

    Nine blue data qubits form a grid. Four orange check qubits sit between them.
    • Data qubit
    • Check qubit
  2. Detect a change

    Round t st=+1
    Round t+1 st+1=−1

    Detection event d=1

  3. Decode the logical flip

    Rows represent detectors and columns represent rounds. Orange cells mark detection events. Detection history
    Decoder fθ(D,G)

    Logical-flip probability p^

Predicting Logical Errors

A surface-code experiment repeatedly measures stabilizers, producing a history of binary detection events.

D={dt,j} dt,j∈{0,1}

Here, dt,j=1 means detector j fired during measurement round t.

Given this detection history and the known circuit geometry G, the task is to predict whether the logical observable flipped.

p^=fθ(D,G)∈[0,1]

The true outcome is binary. A label of 0 means no logical flip, and 1 means a flip occurred.

Different physical errors can produce the same detection events. The model must infer their likely logical consequences from incomplete evidence.

What the Agent Develops

The agent develops and trains a quantum error decoder that minimizes logical decoding failures across different surface-code sizes, layouts, and measurement durations.

The agent can research and improve three aspects of decoding.

  • Design decoding algorithms using neural networks, graph-based matching[2], or hybrid approaches to infer logical errors.
  • Improve training by optimizing architectures, learning objectives, data augmentation, and training procedures.
  • Model physical noise using experimental measurements and permitted quantum-circuit simulations.

The agent may use AlphaQubit[1] as a reference approach or develop a different decoding method.

All learned weights must be trained from scratch using permitted data and simulations. The submitted decoder outputs one logical-flip probability per experimental shot using fixed quantum circuits and hardware measurements.

Data & Prediction Tasks

Experimental Data

The benchmark uses real quantum error-correction measurements from Google’s Sycamore quantum processor[3].

The experiments vary three settings.

  • Code distance (d) is the minimum weight of a logical error operator, measured in the number of physical qubits it acts on. Distance 3 uses 9 data qubits, while distance 5 uses 25, providing stronger protection against short error chains.
  • Each physical patch is tested in two complementary logical memory bases, X and Z, to evaluate how well it preserves encoded quantum information.
  • Stabilizer checks are repeated for 1, 3, 5, …, or 25 measurement rounds to test how errors accumulate over time.

d3 patch

9 data qubits

d5 patch

25 data qubits

Memory basis

X basis Test logical X memory

Z basis Test logical Z memory

  • Data qubit
  • Interior check qubit
  • Example logical error chain

The dataset contains four distance-3 patches and one distance-5 patch. Each patch is tested in both memory bases at 13 measurement durations.

5 patches×2 bases×13 durations =130 conditions

Training and Evaluation Splits

Each experimental run, called a shot, records one complete sequence of surface-code measurements and its logical outcome. Training and validation use disjoint sets of even-indexed shots, and test uses the odd-indexed shots.

SplitShots per conditionTotal shotsPurpose
Training19,8802,584,400Train the decoder
Validation5,120665,600Model selection
Test25,0003,250,000Held-out evaluation

For each test shot, the model receives the binary detection-event sequence and the ideal circuit definition. Each entry of the output vector is the predicted logical-flip probability for one of the N shots in the batch.

p^∈[0,1]N

Evaluation

Evaluating Logical Error Prediction

The evaluator turns each predicted probability into a decision. A probability of at least 0.5 is classified as a logical flip.

y^i=1[p^i≥0.5]

A logical failure occurs when the decision differs from the experimentally measured label. The logical failure rate is the fraction of incorrect decisions, so lower values indicate more accurate decoding.

Overall Scoring

The evaluator averages logical failure rates across the 13 durations within each patch and memory-basis group. It then averages the groups separately for distances 3 and 5 to obtain L3 and L5.

The overall score gives both code distances equal weight.

Score=1−L3+L52

The score ranges from 0 to 1, with higher values indicating better decoding. For example, logical failure rates of 20% on d3 and 10% on d5 give an overall score of 0.85.

1−0.20+0.102=0.85

Per-round logical error rates and other diagnostics are reported separately.

References

  1. [1] Bausch, J. et al. Learning high-accuracy error decoding for quantum processors. Nature (2024).
  2. [2] Higgott, O. & Gidney, C. Sparse Blossom: correcting a million errors per core second with minimum-weight matching. Quantum 9, 1600 (2025).
  3. [3] Google Quantum AI. Suppressing quantum errors by scaling a surface code logical qubit. Nature 614, 676–681 (2023). Sycamore experimental dataset.