Skip to content

Multimodal Generative Quantum Circuit Optimization with Verifier-Guided Reinforcement Learning

Xiaodi Li Linghui Chen Tao Zhang
Nov 2026
Artificial Intelligence Quantum Computing

Abstract

Quantum circuit optimization replaces a circuit with an equivalent one using fewer costly operations: two-qubit gates, which dominate error on noisy hardware, and non-Clifford $T$ gates, which dominate fault-tolerant overhead. We formulate this task as graph-conditioned sequence-to-sequence generation and introduce \method{} (Graph-Augmented Fusion Transformer for Quantum circuit optimization), a multimodal GNN-Transformer that jointly encodes a source circuit's gate-token sequence and simplified ZX diagram in a Transformer encoder and autoregressively generates an optimized circuit. The model is first pretrained by supervised learning on millions of verified triples of a random source circuit, its simplified ZX diagram, and a target circuit optimized by PyZX. It is then fine-tuned by reinforcement learning: a verifier checks whether each generated circuit is equivalent to the reference circuit, and a reward function scores its gate-count reduction relative to that reference. We compare Group Relative Policy Optimization (GRPO) with Maximum-Likelihood Reinforcement Learning (MaxRL), whose binary-reward objective we generalize to continuous non-negative rewards, and propose a Hybrid advantage estimator that combines the strengths of both. A size curriculum further extends training from short (20--100-gate) circuits up to 300 gates on 5--20 qubits. On held-out benchmarks, verifier-guided RL with curriculum training raises equivalence accuracy (pass@8) on 20--100-gate circuits from $67.7\%$ under supervised learning to $94.1\%$ while surpassing PyZX in two-qubit gate reduction and nearly matching its $T$-gate counts, and scales optimization to 300-gate circuits while generalizing to deeper unseen circuits.

View source

Similar papers

#artificial intelligence Preprint Jul 2024

The Llama 3 Herd of Models

It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri et al. · 21,082 citations · ⚡3,832
#artificial intelligence Conference Open access Jun 2018

Gibson Env: Real-World Perception for Embodied Agents

This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.

F. Xia, Amir Zamir, Zhi-Yang He et al. · 1,069 citations · ⚡112
#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.