Quartz: Superoptimization of Quantum Circuits (Extended Version)
Mingkuan Xu, Zikun Li, Oded Padon, Sina Lin, Jessica, Pointing, Auguste Hirth, Henry Ma, Jens Palsberg, Alex Aiken and, Umut A. Acar, Zhihao Jia

TL;DR
Quartz is a quantum circuit superoptimizer that automatically generates and verifies circuit transformations for various gate sets, improving optimization over manual methods by exploring small circuits and using theorem proving.
Contribution
It introduces a systematic, automated approach to generate and verify quantum circuit transformations for arbitrary gate sets, reducing manual effort and enhancing optimization.
Findings
Quartz effectively generates transformations for multiple gate sets.
It covers existing manual transformations and discovers new ones.
Quartz outperforms or matches hand-tuned optimizers.
Abstract
Existing quantum compilers optimize quantum circuits by applying circuit transformations designed by experts. This approach requires significant manual effort to design and implement circuit transformations for different quantum devices, which use different gate sets, and can miss optimizations that are hard to find manually. We propose Quartz, a quantum circuit superoptimizer that automatically generates and verifies circuit transformations for arbitrary quantum gate sets. For a given gate set, Quartz generates candidate circuit transformations by systematically exploring small circuits and verifies the discovered transformations using an automated theorem prover. To optimize a quantum circuit, Quartz uses a cost-based backtracking search that applies the verified transformations to the circuit. Our evaluation on three popular gate sets shows that Quartz can effectively generate and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Low-power high-performance VLSI design · Quantum Information and Cryptography
