Quantum Circuit Discovery for Fault-Tolerant Logical State Preparation with Reinforcement Learning
Open Access
- 22 October 2025
- journal article
- Published by American Physical Society (APS) in Physical Review X
- Vol. 15 (4)
Abstract
The realization of large-scale quantum computers requires not only quantum error correction but also fault-tolerant (FT) operations to handle errors that propagate into harmful errors. Recently, flag-based protocols have been introduced that use ancillary qubits to flag harmful errors. However, there is no clear recipe for finding a FT quantum circuit with flag-based protocols, especially when we consider hardware constraints, such as the qubit connectivity and available gate set. This work presents a novel approach to automatically discover compact and hardware-adapted FT quantum circuits to make significant progress towards scalable FT quantum computing. We employ reinforcement learning (RL) as an enabling tool, leveraging a fast, parallelized stabilizer quantum circuit simulator and a nontrivial reward function specifically adapted to the problem. We show that, in the task of FT logical state preparation, RL discovers not only circuits with fewer gates and ancillary qubits than published results but also novel circuits without and with hardware constraints of up to distance-5 codes with 25 physical qubits, and they can be implemented directly in experiments. Furthermore, RL allows for straightforward exploration of different qubit connectivities and the use of transfer learning to accelerate the discovery. More generally, our work sets the framework towards the use of RL or other machine learning techniques for FT quantum circuit discovery with hardware constraints to make real progress towards the realization of large-scale quantum computers, addressing tasks beyond state preparation, including magic state preparation, logical gate synthesis, and syndrome measurement.Keywords
All Related Versions
Funding Information
- Army Research Office (W911NF-21-1-0007)
- Horizon 2020 Framework Programme (101114305)
- H2020 European Research Council (804247)
- Deutsche Forschungsgemeinschaft (390534769)
- Cluster of Excellence Matter and Light for Quantum Computing (EXC 2004/1)
This publication has 96 references indexed in Scilit:
- Evolving quantum circuitsQuantum Information Processing, 2024
- 6-qubit optimal Clifford circuitsnpj Quantum Information, 2022
- Multi-agent deep reinforcement learning: a surveyArtificial Intelligence Review, 2021
- Very low overhead fault-tolerant magic state preparation using redundant ancilla encoding and flag qubitsnpj Quantum Information, 2020
- A reinforcement learning approach for quantum state engineeringQuantum Machine Intelligence, 2020
- When does reinforcement learning stand out in quantum control? A comparative study on state preparationnpj Quantum Information, 2019
- Barren plateaus in quantum neural network training landscapesNature Communications, 2018
- Roads towards fault-tolerant universal quantum computationNature, 2017
- Quantum computing with realistically noisy devicesNature, 2005
- Fault-tolerant quantum computation by anyonsAnnals of Physics, 2003