Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:1812.08451 · Quantum

Optimizing Quantum Error Correction Codes with Reinforcement Learning

Hendrik Poulsen Nautrup, Nicolas Delfosse, Vedran Dunjko, Hans J. Briegel, Nicolai Friis

Published Dec 16, 2019• 197 citations
arXivHTMLPDF

Abstract

Quantum error correction is widely thought to be the key to fault-tolerant quantum computation. However, determining the most suited encoding for unknown error channels or specific laboratory setups is highly challenging. Here, we present a reinforcement learning framework for optimizing and fault-tolerantly adapting quantum error correction codes. We consider a reinforcement learning agent tasked with modifying a family of surface code quantum memories until a desired logical error rate is reached. Using efficient simulations with about 70 data qubits with arbitrary connectivity, we demonstrate that such a reinforcement learning agent can determine near-optimal solutions, in terms of the number of data qubits, for various error models of interest. Moreover, we show that agents trained on one setting are able to successfully transfer their experience to different settings. This ability for transfer learning showcases the inherent strengths of reinforcement learning and the applicability of our approach for optimization from off-line simulations to on-line laboratory settings.

DOI
10.22331/q-2019-12-16-215

Related papers

Reinforcement Learning for Enhanced Advanced QEC Architecture Decoding

Yidong Zhou, Lingyi Kong, Yifeng Peng +1 more

The advent of promising quantum error correction (QEC) codes with efficient resource utilization and high-performance fault-tolerant quantum memories signifies a critical step towards realizing practical quantum computation. While surface codes have been a dominant approach, their limitations have spurred the development of more advanced QEC architectures. These advanced codes often present increased complexity, demanding innovative decoding methodologies. This work investigates the application of reinforcement learning (RL) techniques, including hybrid and multi-agent approaches, to enhance the decoding of various advanced QEC architectures. By leveraging the ability of RL to learn optimal strategies from noisy syndrome measurements, we explore the potential for achieving improved logical error rates and scalability compared to traditional decoding methods. Our approach examines the adaptation of reinforcement learning to exploit the structural properties of these modern QEC models. We also explore the benefits of combining different RL algorithms to address the multifaceted nature of the decoding problem, considering factors such as code degeneracy and real-world noise characteristics. With our proposed method, we are able to demonstrate that an autonomously trained agent can derive decoding schemes for the complex decoding requirement of advanced QEC architectures.

quant-pharXiv:2601.19279•Asia and South Pacific Design Automation Conference (ASP-DAC)•Jan 28, 2026•1 citation

Reinforcement Learning Control of Quantum Error Correction

Volodymyr Sivak, Alexis Morvan, Michael Broughton +296 more

Quantum error correction (QEC) is the primary strategy for protecting a quantum computer from the environment. Its prerequisite is that errors must remain sufficiently rare, which requires perpetually adapting the computer's control parameters to the drifting environment conditions. The current solution to this problem is to terminate the entire quantum computation for recalibration, but it is incompatible with the long runtimes of future quantum algorithms. We address this challenge by unifying calibration with computation. We grant the QEC process a dual role: its error detection events are not only used to correct the logical quantum state, but are also repurposed as a learning signal, teaching a reinforcement learning (RL) agent to continuously steer the control parameters and stabilize the quantum system during computation. We experimentally demonstrate this framework on a Willow superconducting processor, improving the logical stability of the surface code 3.5-fold against injected drift. By synthesizing our full suite of technological advances, we achieve record performance of the surface and color codes, with average logical error per cycle of $7.72(9)\times10^{-4}$ and $8.19(14)\times10^{-3}$ respectively. Numerical simulations of large codes with tens of thousands of control parameters confirm the scalability of our RL framework, revealing an optimization speed that is independent of system size. This work thus enables a new paradigm: a quantum computer that learns from its errors and never stops computing.

quant-pharXiv:2511.08493•Nature•Nov 12, 2025•38 citations

RL-QEC: Harnessing Reinforcement Learning for Quantum Error Correction Advancements

K. M. Veeresh, Deepak S, Srinivas T

With a particular emphasis on fixing fault defects caused by bitflip and depolarizing noise, this study explores the use of RL methods within the framework of quantum error correction. This work investigates the flexibility and independence of RL-trained agents in reducing bitflip mistakes by methodically looking at error rates and qubit lifetimes. Furthermore, we study how the top-performing agents are affected by depolarizing noise and present a strategic "Decoded Surface Code" method for fixing mistakes. The results show how RL works in handling different types of errors on its own, revealing subtle dynamics in the quantum system. Quantum error correction is a rapidly developing area, and this study adds to it by shedding light on how reinforcement learning could improve quantum computing's fault tolerance. The study's findings provide a basis for future research into more robust quantum computing systems and have ramifications for the creation of autonomous error-correcting algorithms.

International Conference on Trends in Quantum Computing and Emerging Business Technologies (TQCEBT)•Mar 22, 2024•2 citations

Adaptive Quantum Error Correction via Reinforcement Learning

Jincheng Zhang

Quantum error correction (QEC) is a crucial element in the realization of fault-tolerant quantum computation. However, traditional QEC schemes often rely on pre-determined, static parameters, which may not be optimally suited for the specific noise characteristics present in a given quantum hardware. This work introduces a novel approach to QEC that leverages reinforcement learning (RL) to dynamically adapt the error correction protocol in real-time. The system learns to optimize the parameters of the QEC code, such as measurement schedules and decoding strategies, based on continuous feedback from the quantum hardware. This adaptive approach promises to significantly improve the performance and efficiency of QEC, reducing the overhead associated with error correction and enhancing the fidelity of quantum computations. The core claim of this paper is that quantum error correction is computationally intensive and requires precise control over quantum systems. The central mechanism involves employing reinforcement learning to optimize the parameters of quantum error correction protocols in real-time, adapting to the specific noise characteristics of the quantum hardware. This represents a new automation of the QEC process.

•Sep 7, 2026•0 citations

Adaptive Quantum Error Correction via Learning

Jincheng Zhang

Quantum error correction (QEC) is a crucial step towards fault-tolerant quantum computation. However, traditional QEC schemes often rely on fixed, pre-determined parameters, which may not be optimal for all quantum computations. This paper proposes a novel approach to QEC that leverages adaptive learning algorithms to dynamically adjust the error correction strategy. We construct a model based on self-organizing maps (SOMs) to analyze quantum error patterns and use reinforcement learning to optimize the control parameters of the QEC code. The core claim is that by dynamically adjusting the error correction scheme, we can significantly improve the resilience of quantum computations to noise. The model incorporates key elements like qubit state estimation, error syndrome extraction, and optimized decoding strategies. The theoretical framework demonstrates the potential for enhanced performance, and we outline a pathway for future experimental validation. The effectiveness of the adaptive approach is showcased through simulations, highlighting its ability to outperform traditional static QEC codes in scenarios with evolving noise characteristics. Ultimately, this work presents a shift towards more intelligent and robust QEC solutions for the future of quantum computing.

•Sep 6, 2026•0 citations

Transfer Learning in Reinforcement Learning for Quantum Error Correction: Evaluating Scale-Invariant Decoding of Quantum LDPC Codes

Zhang Shuhan, Fan Yang, Tanaka Hiroshi +2 more

The realization of fault-tolerant quantum computing relies fundamentally on the efficient and accurate decoding of quantum error-correcting codes. Recently, Deep Reinforcement Learning (DRL) has emerged as a promising approach for decoding complex codes, such as quantum Low-Density Parity-Check (qLDPC) codes, due to its ability to adapt to correlated noise and system specific irregularities. However, the computational cost of training these intelligent agents scales prohibitively with the code distance and the number of physical qubits. In this work, we present an analytical and theoretical framework for transfer learning in DRL-based quantum decoders. We explore the scale-invariant properties of qLDPC codes, specifically focusing on how the structural symmetries in hypergraph product and lifted product codes can be exploited by scalable neural architectures. By formulating the decoding process as a Markov Decision Process (MDP) mapped onto a translationally and structurally invariant graph, we demonstrate that a Deep Q-Network (DQN) trained on a small lattice (e.g., an $[[625, 25]]$ qLDPC code) can be zero-shot transferred or rapidly fine-tuned for a significantly larger lattice (e.g., an $[[900, 50]]$ qLDPC code). We provide rigorous theoretical bounds on the performance degradation under dimensionality mismatch and present comprehensive empirical results. Our experiments show that fine-tuning a pre-trained agent requires orders of magnitude fewer samples than training from scratch, while retaining near-optimal logical error suppression. These findings provide a concrete pathway toward scalable, low-latency machine learning architectures for large-scale fault-tolerant quantum processors.

•Jul 21, 2026•0 citations
Quantum error correction is widely thought to be the key to fault-tolerant quantum computation. However, determining the most suited encoding for unknown error channels or specific laboratory setups is highly challenging. Here, we present a reinforcement learning framework for optimizing and fault-tolerantly adapting quantum error correction codes. We consider a reinforcement learning agent tasked with modifying a family of surface code quantum memories until a desired logical error rate is reached. Using efficient simulations with about 70 data qubits with arbitrary connectivity, we demonstrate that such a reinforcement learning agent can determine near-optimal solutions, in terms of the number of data qubits, for various error models of interest. Moreover, we show that agents trained on one setting are able to successfully transfer their experience to different settings. This ability for transfer learning showcases the inherent strengths of reinforcement learning and the applicability of our approach for optimization from off-line simulations to on-line laboratory settings.
The advent of promising quantum error correction (QEC) codes with efficient resource utilization and high-performance fault-tolerant quantum memories signifies a critical step towards realizing practical quantum computation. While surface codes have been a dominant approach, their limitations have spurred the development of more advanced QEC architectures. These advanced codes often present increased complexity, demanding innovative decoding methodologies. This work investigates the application of reinforcement learning (RL) techniques, including hybrid and multi-agent approaches, to enhance the decoding of various advanced QEC architectures. By leveraging the ability of RL to learn optimal strategies from noisy syndrome measurements, we explore the potential for achieving improved logical error rates and scalability compared to traditional decoding methods. Our approach examines the adaptation of reinforcement learning to exploit the structural properties of these modern QEC models. We also explore the benefits of combining different RL algorithms to address the multifaceted nature of the decoding problem, considering factors such as code degeneracy and real-world noise characteristics. With our proposed method, we are able to demonstrate that an autonomously trained agent can derive decoding schemes for the complex decoding requirement of advanced QEC architectures.
Quantum error correction (QEC) is the primary strategy for protecting a quantum computer from the environment. Its prerequisite is that errors must remain sufficiently rare, which requires perpetually adapting the computer's control parameters to the drifting environment conditions. The current solution to this problem is to terminate the entire quantum computation for recalibration, but it is incompatible with the long runtimes of future quantum algorithms. We address this challenge by unifying calibration with computation. We grant the QEC process a dual role: its error detection events are not only used to correct the logical quantum state, but are also repurposed as a learning signal, teaching a reinforcement learning (RL) agent to continuously steer the control parameters and stabilize the quantum system during computation. We experimentally demonstrate this framework on a Willow superconducting processor, improving the logical stability of the surface code 3.5-fold against injected drift. By synthesizing our full suite of technological advances, we achieve record performance of the surface and color codes, with average logical error per cycle of 7.72(9)×10−47.72(9)\times10^{-4}7.72(9)×10−4 and 8.19(14)×10−38.19(14)\times10^{-3}8.19(14)×10−3 respectively. Numerical simulations of large codes with tens of thousands of control parameters confirm the scalability of our RL framework, revealing an optimization speed that is independent of system size. This work thus enables a new paradigm: a quantum computer that learns from its errors and never stops computing.
With a particular emphasis on fixing fault defects caused by bitflip and depolarizing noise, this study explores the use of RL methods within the framework of quantum error correction. This work investigates the flexibility and independence of RL-trained agents in reducing bitflip mistakes by methodically looking at error rates and qubit lifetimes. Furthermore, we study how the top-performing agents are affected by depolarizing noise and present a strategic "Decoded Surface Code" method for fixing mistakes. The results show how RL works in handling different types of errors on its own, revealing subtle dynamics in the quantum system. Quantum error correction is a rapidly developing area, and this study adds to it by shedding light on how reinforcement learning could improve quantum computing's fault tolerance. The study's findings provide a basis for future research into more robust quantum computing systems and have ramifications for the creation of autonomous error-correcting algorithms.
Quantum error correction (QEC) is a crucial element in the realization of fault-tolerant quantum computation. However, traditional QEC schemes often rely on pre-determined, static parameters, which may not be optimally suited for the specific noise characteristics present in a given quantum hardware. This work introduces a novel approach to QEC that leverages reinforcement learning (RL) to dynamically adapt the error correction protocol in real-time. The system learns to optimize the parameters of the QEC code, such as measurement schedules and decoding strategies, based on continuous feedback from the quantum hardware. This adaptive approach promises to significantly improve the performance and efficiency of QEC, reducing the overhead associated with error correction and enhancing the fidelity of quantum computations. The core claim of this paper is that quantum error correction is computationally intensive and requires precise control over quantum systems. The central mechanism involves employing reinforcement learning to optimize the parameters of quantum error correction protocols in real-time, adapting to the specific noise characteristics of the quantum hardware. This represents a new automation of the QEC process.
Quantum error correction (QEC) is a crucial step towards fault-tolerant quantum computation. However, traditional QEC schemes often rely on fixed, pre-determined parameters, which may not be optimal for all quantum computations. This paper proposes a novel approach to QEC that leverages adaptive learning algorithms to dynamically adjust the error correction strategy. We construct a model based on self-organizing maps (SOMs) to analyze quantum error patterns and use reinforcement learning to optimize the control parameters of the QEC code. The core claim is that by dynamically adjusting the error correction scheme, we can significantly improve the resilience of quantum computations to noise. The model incorporates key elements like qubit state estimation, error syndrome extraction, and optimized decoding strategies. The theoretical framework demonstrates the potential for enhanced performance, and we outline a pathway for future experimental validation. The effectiveness of the adaptive approach is showcased through simulations, highlighting its ability to outperform traditional static QEC codes in scenarios with evolving noise characteristics. Ultimately, this work presents a shift towards more intelligent and robust QEC solutions for the future of quantum computing.
The realization of fault-tolerant quantum computing relies fundamentally on the efficient and accurate decoding of quantum error-correcting codes. Recently, Deep Reinforcement Learning (DRL) has emerged as a promising approach for decoding complex codes, such as quantum Low-Density Parity-Check (qLDPC) codes, due to its ability to adapt to correlated noise and system specific irregularities. However, the computational cost of training these intelligent agents scales prohibitively with the code distance and the number of physical qubits. In this work, we present an analytical and theoretical framework for transfer learning in DRL-based quantum decoders. We explore the scale-invariant properties of qLDPC codes, specifically focusing on how the structural symmetries in hypergraph product and lifted product codes can be exploited by scalable neural architectures. By formulating the decoding process as a Markov Decision Process (MDP) mapped onto a translationally and structurally invariant graph, we demonstrate that a Deep Q-Network (DQN) trained on a small lattice (e.g., an [[625,25]][[625, 25]][[625,25]] qLDPC code) can be zero-shot transferred or rapidly fine-tuned for a significantly larger lattice (e.g., an [[900,50]][[900, 50]][[900,50]] qLDPC code). We provide rigorous theoretical bounds on the performance degradation under dimensionality mismatch and present comprehensive empirical results. Our experiments show that fine-tuning a pre-trained agent requires orders of magnitude fewer samples than training from scratch, while retaining near-optimal logical error suppression. These findings provide a concrete pathway toward scalable, low-latency machine learning architectures for large-scale fault-tolerant quantum processors.