Reinforcement Learning for Adaptive Composition of Quantum Circuit Optimisation Passes

Daniel Mills, Ifan Williams, Jacob Swain, Gabriel Matos, Enrico Rinaldi +1 more
1/29/2026
quant-phcs.LG
rl

No confident code implementation found for this paper.

Abstract

Many quantum software development kits provide a suite of circuit optimisation passes. These passes have been highly optimised and tested in isolation.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mills2026reinforcement,
  title  = {Reinforcement Learning for Adaptive Composition of Quantum Circuit Optimisation Passes},
  author = {Daniel Mills and Ifan Williams and Jacob Swain and Gabriel Matos and Enrico Rinaldi and Alexander Koziell-Pipe},
  year   = {2026},
  eprint = {2601.21629},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.21629v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.21629.svg)](https://codeofpaper.com/paper/2601.21629)

Discussion