Quarl: A Learning-Based Quantum Circuit Optimizer

Zikun Li, Jinjun Peng, Yixuan Mei, Sina Lin, Yi Wu +2 more
7/17/2023
quant-phcs.LG

No confident code implementation found for this paper.

Abstract

Optimizing quantum circuits is challenging due to the very large search space of functionally equivalent circuits and the necessity of applying transformations that temporarily decrease performance to achieve a final performance improvement. This paper presents Quarl, a learning-based quantum circuit optimizer. Applying reinforcement learning (RL) to quantum circuit optimization raises two main challenges: the large and varying action space and the non-uniform state representation. Quarl addresses these issues with a novel neural architecture and RL-training procedure. Our neural architecture decomposes the action space into two parts and leverages graph neural networks in its state representation, both of which are guided by the intuition that optimization decisions can be mostly guided by local reasoning while allowing global circuit-wide reasoning. Our evaluation shows that Quarl significantly outperforms existing circuit optimizers on almost all benchmark circuits. Surprisingly, Quarl can learn to perform rotation merging, a complex, non-local circuit optimization implemented as a separate pass in existing optimizers.

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{li2023quarl,
  title  = {Quarl: A Learning-Based Quantum Circuit Optimizer},
  author = {Zikun Li and Jinjun Peng and Yixuan Mei and Sina Lin and Yi Wu and Oded Padon and Zhihao Jia},
  year   = {2023},
  eprint = {2307.10120},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.10120v1}
}

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/2307.10120.svg)](https://codeofpaper.com/paper/2307.10120)

Discussion