Quantum error correction is widely seen as the essential tool for shielding quantum computers from environmental noise.
Quantum error correction is widely seen as the essential tool for shielding quantum computers from environmental noise. But it comes with a demanding prerequisite: the underlying hardware must keep errors rare enough for the error-correcting code to function. In practice, that means a quantum processor’s many analogue control settings—pulse shapes, frequencies, amplitudes and other parameters—must be continually retuned as the device and its surroundings drift. Today’s common remedy is blunt: pause the computation and recalibrate. That approach cannot scale to the long, uninterrupted runtimes anticipated for useful quantum algorithms, which could require days or even months of continuous operation.
Researchers now report a way to collapse this division between “computing” and “calibrating” into a single, ongoing process. Their idea is to give the quantum error-correction protocol a second job. The same error-detection events that are normally used to infer and correct faults in the logical qubit are instead also treated as a feedback signal for a reinforcement learning (RL) agent. In effect, the system learns from its own syndromes, using them not only to repair the encoded quantum information but also to continuously adjust the physical control parameters that determine how well the hardware is behaving in the first place.
The team demonstrated the method experimentally on a Willow superconducting quantum processor. Under conditions where drift was deliberately introduced, the RL-driven approach increased the stability of a surface-code logical qubit by a factor of 3.5 compared with operation without the adaptive control. The result directly addresses the core problem of non-stationarity: even if a device begins well calibrated, its performance can degrade as conditions change, pushing physical gate errors toward or beyond the threshold at which error correction ceases to help.
That threshold—often cited around 10^−3 to 10^−2 for physical gate error rates—highlights why calibration is not a one-time achievement but an ongoing requirement. Quantum computers are inherently analogue, unlike digital classical machines, and small shifts in control can translate into meaningful changes in error rates. Error correction “digitizes” the consequences of this analogue fragility by turning continuous noise into discrete “error” or “no error” detection events, which decoders can use to correct the logical state. Yet, the new work emphasizes, this digitization is not enough if the analogue layer beneath it drifts unchecked.
By combining their adaptive RL control with a broader set of technical improvements, the researchers also report record logical error performance for two leading code families. They measured an average logical error per cycle of 7.72(9) × 10^−4 for the surface code and 8.19(14) × 10^−3 for the colour code.
A key question for any feedback-based strategy is whether it can scale to the sprawling parameter spaces of large quantum processors. To probe that, the team ran numerical simulations of larger codes involving tens of thousands of control parameters. Those simulations indicate the reinforcement learning scheme remains practical at scale, with an optimization speed that does not degrade as the system size grows.
Previous experiments have typically relied on stopping error correction altogether for periodic recalibration, and earlier proposals to avoid that interruption often require substantial overhead, such as logical swaps or code deformations that increase runtime and complexity. The new approach instead uses what QEC already produces—syndrome data—as the training signal. The authors describe the outcome as a shift in paradigm: a quantum computer that continuously adapts to drift by learning from its own errors, without ever needing to halt the computation.