Real-time adaptive quantum error correction by model-free multi-agent learning

Manuel Guatto, Francesco Preti, Michael Schilling, Tommaso Calarco, Francisco Andrés Cárdenas-López, Felix Motzoi
Can we build efficient Quantum Error Correction (QEC) that adapts on the fly to time-varying noise? In this work we say yes, and show how. We present a two level framework based on Reinforcement Learning (RL) that learns to correct even non-stationary errors from scratch. At the first level we take advantage of model-free Multi-Agent RL (MARL) to automatically discover full QEC cycle — logical state encoding, stabilizer measurements, and recovery — without any prior system knowledge, relying only on orthogonality conditions. Leveraging the stabilizer formalism, we demonstrate that our MARL framework can discover novel QEC codes tailored for multi-level quantum architectures. At the second level we introduce BRAVE (Bandit Retraining for Adaptive Variational Error correction), an efficient algorithm that tunes the variational layer on the fly to change the physical basis of the errors, adapting the QEC code to time-varying noise while minimizing computational overhead and reducing the number of retraining steps. By combining our MARL and BRAVE approaches and testing them on multi-level systems subjected to competing bit- and phase-flip errors over time across diverse scenarios, we observed an improvement in logical fidelity by more than an order of magnitude — under time-dependent noise channels — compared to conventional QEC schemes.

Cite as BiBTeX

@misc{guatto2025realtimeadaptivequantumerror,
title={Real-time adaptive quantum error correction by model-free multi-agent learning},
author={Manuel Guatto and Francesco Preti and Michael Schilling and Tommaso Calarco and Francisco Andrés Cárdenas-López and Felix Motzoi},
year={2025},
eprint={2509.03974},
archivePrefix={arXiv},
primaryClass={quant-ph},
url={https://arxiv.org/abs/2509.03974},
}

AncoraThemes © 2025. All Rights Reserved.

QCFD © 2025. All Rights Reserved. PRIVACY POLICY

European Union Flag

The QCFD (Quantum Computational Fluid Dynamics) project is funded under the European Union’s Horizon Programme (HORIZON-CL4-2021-DIGITAL-EMERGING-02-10), Grant Agreement 101080085 QCFD.