Quartz: Superoptimization of Quantum Circuits

被引:23
作者
Xu, Mingkuan [1 ]
Li, Zikun [2 ]
Padon, Oded [3 ]
Lin, Sina [4 ]
Pointing, Jessica [5 ]
Hirth, Auguste [2 ]
Ma, Henry [2 ]
Palsberg, Jens [2 ]
Aiken, Alex [6 ]
Acar, Umut A. [1 ]
Jia, Zhihao [1 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[2] Univ Calif Los Angeles, Los Angeles, CA USA
[3] VMware Res, Palo Alto, CA USA
[4] Microsoft, Mountain View, CA USA
[5] Univ Oxford, Oxford, England
[6] Stanford Univ, Stanford, CA 94305 USA
来源
PROCEEDINGS OF THE 43RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '22) | 2022年
基金
美国国家科学基金会;
关键词
quantum computing; superoptimization;
D O I
10.1145/3519939.3523433
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:625 / 640
页数:16
相关论文
共 50 条
  • [41] Quantum-shift-register circuits
    Wilde, Mark M.
    PHYSICAL REVIEW A, 2009, 79 (06):
  • [42] Reordering and Partitioning of Distributed Quantum Circuits
    Dadkhah, Davood
    Zomorodi, Mariam
    Hosseini, Seyed Ebrahim
    Plawiak, Pawel
    Zhou, Xujuan
    IEEE ACCESS, 2022, 10 : 70329 - 70341
  • [43] A Systematic Methodology to Compute the Quantum Vulnerability Factors for Quantum Circuits
    Oliveira, Daniel
    Giusto, Edoardo
    Baheri, Betis
    Guan, Qiang
    Montrucchio, Bartolomeo
    Rech, Paolo
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2024, 21 (04) : 2631 - 2644
  • [44] Variational Shadow Quantum Circuits Assisted Quantum Convolutional Neural Network
    Feng, Yan-yan
    Li, Yan
    Li, Jie
    Zhou, Jian
    Shi, Jin-jing
    ADVANCED QUANTUM TECHNOLOGIES, 2025,
  • [45] Solving quantum statistical mechanics with variational autoregressive networks and quantum circuits
    Liu, Jin-Guo
    Mao, Liang
    Zhang, Pan
    Wang, Lei
    MACHINE LEARNING-SCIENCE AND TECHNOLOGY, 2021, 2 (02):
  • [46] QuFI: a Quantum Fault Injector to Measure the Reliability of Qubits and Quantum Circuits
    Oliveira, Daniel
    Giusto, Edoardo
    Dri, Emanuele
    Casciola, Nadir
    Baheri, Betis
    Guan, Qiang
    Montrucchio, Bartolomeo
    Rech, Paolo
    2022 52ND ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN 2022), 2022, : 137 - 149
  • [47] The Impact of Noise on Quantum Adder Circuits An IBM Quantum Case Study
    Rice, Jefferson
    Hoe, David H. K.
    2024 IEEE 67TH INTERNATIONAL MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS, MWSCAS 2024, 2024, : 1290 - 1294
  • [48] Configurable sublinear circuits for quantum state preparation
    Araujo, Israel F.
    Park, Daniel K.
    Ludermir, Teresa B.
    Oliveira, Wilson R.
    Petruccione, Francesco
    da Silva, Adenilton J.
    QUANTUM INFORMATION PROCESSING, 2023, 22 (02)
  • [49] Quantum Circuits for Fixed Matching Substring Problems
    Cantone, Domenico
    Faro, Simone
    Pavone, Arianna
    Viola, Caterina
    INTELLIGENT COMPUTING, VOL 3, 2024, 2024, 1018 : 667 - 686
  • [50] The Cost Reduction of Distributed Quantum Factorization Circuits
    Maryam Mousavi
    Monireh Houshmand
    Mohammad Bolokian
    International Journal of Theoretical Physics, 2021, 60 : 1292 - 1298