Home › Latest Research › Google › Towards a quantum computer that learns from its errors

GOOGLE QUANTUM AI

Towards a quantum computer that learns from its errors

A new approach combines reinforcement learning with quantum error correction so a quantum processor can continuously adapt to control drift instead of stopping computation for recalibration.

JUL 2026 GOOGLE QUANTUM AI > NATURE
Quantum computer that learns from its errors

What does it mean for a quantum computer to learn from its errors?

Quantum computers are extremely sensitive to changes in their environment and in the analog control signals used to operate their qubits. Frequencies, amplitudes and phases can drift over time, changing how accurately the processor performs its operations.

Today, dealing with this drift can require stopping a quantum computation and recalibrating the processor. That creates a fundamental problem for future workloads that may need to run continuously for days or months.

The Google Quantum AI team explored a different idea: use the information already produced by quantum error correction as a learning signal for a reinforcement learning agent.

QEC detection events → RL agent → control parameters

Instead of using error-detection events only to identify and correct logical errors, the framework also uses them to learn how the processor is drifting and continuously adjust its control parameters.

The result is a feedback loop in which the quantum computer can respond to changing conditions while computation continues.

Quantum hardware does not stay perfectly calibrated

A useful quantum processor has to maintain accurate control over many physical parameters. Because the machine is fundamentally analog, those parameters can drift as the environment and hardware conditions change.

This is different from the behavior expected from ordinary digital computers. A classical processor does not normally require its logic gates to be continuously retuned while a program is executing.

Quantum error correction helps by encoding logical information across multiple physical qubits and repeatedly checking for signatures of errors. But error correction does not automatically explain why the errors occurred.

01

Physical drift

Control frequencies, amplitudes and phases can change over time, moving the processor away from its calibrated operating point.

02

Error detection

QEC produces detection events that indicate that an error occurred within a relevant spacetime region.

03

Missing feedback

The detection data can correct logical information, but it can also reveal patterns caused by imperfect control and hardware drift.

The research asks whether those same detection events can become an additional feedback channel for quantum control.

Turning error signals into a control strategy

Reinforcement learning works by allowing an agent to try actions, observe the resulting outcomes and update its behavior. Here, the actions correspond to changes in the control parameters of the quantum processor.

The QEC system supplies a stream of error-detection events. Instead of treating that stream only as input to a decoder, the framework also gives it to the reinforcement learning controller as information about the state of the hardware.

Observe → Adjust → Measure → Learn
01

Observe

The QEC process generates error-detection events while the processor is running.

02

Adjust

The learning agent changes control parameters that influence the analog operation of the qubits.

03

Learn

The observed error behavior provides feedback that helps the agent refine its future control actions.

The important change is therefore not replacing QEC with machine learning. The two systems have different roles: QEC protects the logical information, while reinforcement learning uses the resulting error information to improve the underlying control.

In this framework, calibration and computation become part of the same continuous process rather than two completely separated stages.

Tested on Google's Willow processor

The researchers experimentally demonstrated the approach on Google's Willow superconducting quantum processor. They deliberately injected artificial drift into control parameters and then evaluated whether reinforcement learning could steer the system back toward a more stable operating regime.

The result was a 3.5-fold improvement in the logical stability of the surface-code quantum memory against the injected drift.

01

Injected drift

Artificial changes were introduced into control parameters to create a controlled calibration challenge.

02

RL fine-tuning

The learning controller used QEC detection information to steer the processor while it continued operating.

03

More stable memory

The resulting control reduced the impact of drift on the logical quantum memory.

The researchers also report that, after extensive human-in-the-loop calibration, additional reinforcement-learning fine-tuning reduced the logical error rate by another 20%.

Combining the technologies used in the experiment, the team reports average logical error rates below one error per thousand error-correction cycles for the surface code and roughly one per hundred for the color code.

Error correction becomes more than a repair mechanism

Quantum error correction is normally described as a way to protect logical information from physical errors. Repeated measurements produce detection events that a decoder can use to infer the corrections needed to preserve the logical state.

This research adds a second use for that same information. The detection events also contain evidence about the current condition of the processor and can therefore guide the calibration process.

01

Detect

QEC identifies signatures that indicate physical errors in the encoded quantum information.

02

Decode

A decoder uses the detection record to infer logical corrections and protect the encoded state.

03

Learn

The same detection stream can also teach an RL agent how the processor's control is changing.

This dual role is the central conceptual shift: the quantum computer is not only correcting the consequences of errors; it is also learning from the error signals to reduce the conditions that produce them.

The scaling question is as important as the experiment

A reinforcement-learning controller that works on a small processor would not by itself solve the calibration problem for future large-scale quantum computers. The researchers therefore tested the framework in numerical simulations involving hundreds of qubits and tens of thousands of control parameters.

QUBITS 100s
CONTROL PARAMETERS 10,000s
RL TRAINING SIZE-INDEPENDENT

In the simulations, a miscalibrated system began with a high physical error rate. The reinforcement-learning agent gradually reduced that error rate by learning improved control parameters.

At the same time, quantum error correction suppressed the logical error rate exponentially as the number of physical qubits increased. Crucially, the simulations found that the number of reinforcement-learning training iterations required did not grow with system size.

Why this matters

The result suggests that the learning process can remain manageable as the quantum processor grows, because QEC detection events are locally sensitive to errors rather than requiring the agent to learn the entire processor as one undifferentiated system.

This is a simulation result, not a demonstration that a future large-scale fault-tolerant processor has already solved the complete calibration problem.

The researchers identify faster communication between the learning agent and the quantum processor, together with more advanced machine-learning methods, as important directions for realizing the framework's full potential.

The result is significant, but it is not a finished fault-tolerant computer

The experiment demonstrates a method for adaptive quantum control and reports improved logical stability under injected drift. It does not mean that quantum computers no longer need calibration, or that every source of physical error can be eliminated by reinforcement learning.

Some errors arise from unavoidable interactions between a quantum system and its environment. Other errors are associated with imperfect control and hardware drift. The learning framework is primarily relevant to the latter class of controllable behavior.

The large-system evidence also comes from numerical simulations. A future processor would still need an efficient real-time communication path between the quantum hardware, the error correction system and the learning controller.

01

Not error-free

Reinforcement learning reduces errors caused by imperfect control; it does not remove all physical sources of quantum noise.

02

Not fully autonomous yet

The reported experiment builds on extensive calibration and a human-in-the-loop workflow before RL fine-tuning.

03

Not a quantum advantage claim

The work addresses quantum control and stability rather than demonstrating computational speedup for an application.

Why continuous calibration matters for future quantum computing

Future fault-tolerant quantum algorithms are expected to require long computations involving large numbers of physical qubits. A processor that must repeatedly stop for full recalibration would introduce interruptions into those workloads.

An adaptive controller could instead make calibration part of the running system, provided the learning loop can operate quickly and reliably enough.

Long-running algorithms

Continuous control could reduce the need to terminate long computations simply because hardware parameters have drifted.

Fault-tolerant systems

As QEC systems become larger, maintaining sufficiently low physical error rates becomes increasingly important for preserving logical information.

Automated calibration

Learning-based control could reduce dependence on manually designed models for complex hardware behavior that is difficult to capture analytically.

Adaptive hardware

A processor could respond to changing operating conditions using information generated during its own computation.

Machine learning for control

The work illustrates a broader interface between reinforcement learning and the real-time control of physical quantum systems.

Scalable quantum operations

The simulated size-independent training behavior is relevant to the question of whether adaptive control can remain practical as quantum processors grow.

These are potential implications of the framework, not demonstrations that each of these applications has already been achieved experimentally.

What should you take away from this research?

The most important idea is that quantum error correction can provide more than protection after an error has happened. Its detection data can also become a real-time learning signal for improving the physical control of the machine.

Google's experiment on Willow shows that reinforcement learning can respond to deliberately introduced drift and improve the stability of a logical quantum memory. The reported 3.5-fold improvement demonstrates the concept experimentally, while the simulations address whether the learning process can scale.

01

Errors become information

QEC detection events can reveal information about the behavior of the physical system that produced them.

02

Calibration becomes continuous

Reinforcement learning can use the error stream to continuously adjust control parameters during computation.

03

Scaling is the real test

The next challenge is integrating the learning loop tightly and quickly enough with much larger quantum processors.

The broader lesson is about the relationship between quantum hardware and intelligent control. As quantum processors become more complex, purely static calibration models may have to give way to systems that continuously learn from the behavior of the hardware itself.

QCAASNET perspective

This research is best understood as a control and error- correction advance rather than a demonstration of quantum computational advantage. Its significance lies in making the quantum processor itself part of a feedback loop: compute, detect, learn and adapt without necessarily stopping the computation.

If this approach can be integrated with faster hardware-software communication and more capable learning algorithms, it could become an important component of the control stack required for long-running fault-tolerant quantum computation.

Read the original research

Reinforcement learning control of quantum error correction by Volodymyr Sivak, Alexis Morvan, Michael Broughton and collaborators.

READ ORIGINAL PAPER ↗