# Reinforcement Learning for Adaptive Composition of Quantum Circuit Optimisation Passes

arXiv: https://arxiv.org/abs/2601.21629 · HTML: https://mlsanity.com/paper/2601.21629/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Placed in Quantum reinforcement learning, one of 15 directions in Deep reinforcement learning methods.
- Builds on 19 of its 69 references that are in the map.
- First posted on arXiv 29 Jan 2026.

## Placed in

- Deep reinforcement learning methods / [Quantum reinforcement learning](https://mlsanity.com/deeprl/quantum-reinforcement-learning/)

## Builds on (most cited first, 19 of 19)

- [Deep Residual Learning for Image Recognition](https://mlsanity.com/paper/1512.03385/) (2015)
- [Proximal Policy Optimization Algorithms](https://mlsanity.com/paper/1707.06347/) (2017)
- [A Comprehensive Survey on Graph Neural Networks](https://mlsanity.com/paper/1901.00596/) (2019)
- [Strategies for Pre-training Graph Neural Networks](https://mlsanity.com/paper/1905.12265/) (2019)
- [Supervised learning with quantum enhanced feature spaces](https://mlsanity.com/paper/1804.11326/) (2018)
- [The Born Supremacy: Quantum Advantage and Training of an Ising Born Machine](https://mlsanity.com/paper/1904.02214/) (2019)
- [Quantum Circuit Optimization with AlphaTensor](https://mlsanity.com/paper/2402.14396/) (2024)
- [Compiler Optimization for Quantum Computing Using Reinforcement Learning](https://mlsanity.com/paper/2212.04508/) (2022)
- [Quarl: A Learning-Based Quantum Circuit Optimizer](https://mlsanity.com/paper/2307.10120/) (2023)
- [A Reinforcement Learning Environment for Directed Quantum Circuit Synthesis](https://mlsanity.com/paper/2401.07054/) (2024)
- [Phase Gadget Synthesis for Shallow Circuits](https://mlsanity.com/paper/1906.01734/) (2019)
- [AlphaRouter: Quantum Circuit Routing with Reinforcement Learning and Tree Search](https://mlsanity.com/paper/2410.05115/) (2024)
- [A Verified Optimizer for Quantum Circuits](https://mlsanity.com/paper/1912.02250/) (2019)
- [Improving Quantum Circuit Synthesis with Machine Learning](https://mlsanity.com/paper/2306.05622/) (2023)
- [Optimizing ZX-Diagrams with Deep Reinforcement Learning](https://mlsanity.com/paper/2311.18588/) (2023)
- [Synthesizing Quantum-Circuit Optimizers](https://mlsanity.com/paper/2211.09691/) (2022)
- [Optimising Clifford Circuits with Quantomatic](https://mlsanity.com/paper/1901.10114/) (2019)
- [Quartz: Superoptimization of Quantum Circuits (Extended Version)](https://mlsanity.com/paper/2204.09033/) (2022)
- [Optimizing Quantum Circuits via ZX Diagrams using Reinforcement Learning and Graph Neural Networks](https://mlsanity.com/paper/2504.03429/) (2025)

## Abstract (arXiv)

Many quantum software development kits provide a suite of circuit optimisation passes. These passes have been highly optimised and tested in isolation. However, the order in which they are applied is left to the user, or else defined in general-purpose default pass sequences. While general-purpose sequences miss opportunities for optimisation which are particular to individual circuits, designing pass sequences bespoke to particular circuits requires exceptional knowledge about quantum circuit design and optimisation. Here we propose and demonstrate training a reinforcement learning agent to compose optimisation-pass sequences. In particular the agent's action space consists of passes for two-qubit gate count reduction used in default PyTKET pass sequences. For the circuits in our diverse test set, the (mean, median) fraction of two-qubit gates removed by the agent is (57.7%,  56.7 %), compared to (41.8 %,  50.0 %) for the next best default pass sequence.
