量子电路
计算机科学
电子线路
回溯
编译程序
量子门
计算机工程
量子计算机
集合(抽象数据类型)
逻辑门
量子
算法
电气元件
电子工程
理论计算机科学
电气工程
量子纠错
工程类
物理
程序设计语言
量子力学
作者
Mingkuan Xu,Zikun Li,Oded Padon,Sina Lin,Jessica Pointing,Auguste Hirth,Henry Ma,Jens Palsberg,Alex Aiken,Umut A. Acar,Zhihao Jia
标识
DOI:10.1145/3519939.3523433
摘要
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 verify transformations for different gate sets. The generated transformations cover manually designed transformations used by existing optimizers and also include new transformations. Quartz is therefore able to optimize a broad range of circuits for diverse gate sets, outperforming or matching the performance of hand-tuned circuit optimizers.
科研通智能强力驱动
Strongly Powered by AbleSci AI