Assertion-Based Optimization of Quantum Programs

被引:5
|
作者
Haener, Thomas [1 ]
Hoefler, Torsten [1 ]
Troyer, Matthias [2 ]
机构
[1] Swiss Fed Inst Technol, Zurich, Switzerland
[2] Microsoft, Redmond, WA USA
来源
基金
瑞士国家科学基金会;
关键词
quantum computing; quantum circuit optimization; ALGORITHMS;
D O I
10.1145/3428201
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Quantum computers promise to perform certain computations exponentially faster than any classical device. Precise control over their physical implementation and proper shielding from unwanted interactions with the environment become more difficult as the space/time volume of the computation grows. Code optimization is thus crucial in order to reduce resource requirements to the greatest extent possible. Besides manual optimization, previous work has adapted classical methods such as constant-folding and common subexpression elimination to the quantum domain. However, such classically-inspired methods fail to exploit certain optimization opportunities across subroutine boundaries, limiting the effectiveness of software reuse. To address this insufficiency, we introduce an optimization methodology which employs annotations that describe how subsystems are entangled in order to exploit these optimization opportunities. We formalize our approach, prove its correctness, and present benchmarks: Without any prior manual optimization, our methodology is able to reduce, e.g., the qubit requirements of a 64-bit floating-point subroutine by 34x.
引用
收藏
页数:20
相关论文
共 50 条
  • [31] Applied Assertion-Based Verification: An Industry Perspective
    Foster, Harry
    FOUNDATIONS AND TRENDS IN ELECTRONIC DESIGN AUTOMATION, 2008, 3 (01): : 1 - 95
  • [32] Formal Approach to Assertion-Based Code Generation
    Li, Pengyi
    Sun, Jing
    Wang, Hai
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2017, 27 (9-10) : 1637 - 1662
  • [33] Assertion-based automatic generation of functional vectors
    Li, Tun
    Guo, Yang
    Li, Si-Kun
    Ruan Jian Xue Bao/Journal of Software, 2004, 15 (10): : 1441 - 1450
  • [34] Practical assertion-based formal verification for SoC designs
    Yeung, Ping
    Larsen, Kenneth
    2005 International Symposium on System-On-Chip, Proceedings, 2005, : 58 - 61
  • [35] PyABV: a framework for enhancing PyRTL with assertion-based verification
    Cheng, Yue
    Li, Tun
    Zou, Hongji
    Qu, Wanxia
    FRONTIERS OF COMPUTER SCIENCE, 2025, 19 (07)
  • [36] Defining and Providing Coverage for Assertion-Based Dynamic Verification
    Jason G. Tong
    Marc Boulé
    Zeljko Zilic
    Journal of Electronic Testing, 2010, 26 : 211 - 225
  • [37] Formal Interpretation of Assertion-Based Features on AMS Designs
    da Costa, Antonio Anastasio Bruto
    Dasgupta, Pallab
    IEEE DESIGN & TEST, 2015, 32 (01) : 9 - 17
  • [38] Assertion-Based Verification for System-Level Designs
    Sohofi, Hassan
    Navabi, Zainalabedin
    PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN (ISQED 2014), 2015, : 582 - 588
  • [39] Towards Assertion-Based Verification of Heterogeneous System Designs
    Laemmermann, Stefan
    Ruf, Juergen
    Kropf, Thomas
    Rosenstiel, Wolfgang
    Viehl, Alexander
    Jesser, Alexander
    Hedrich, Lars
    2010 DESIGN, AUTOMATION & TEST IN EUROPE (DATE 2010), 2010, : 1171 - 1176
  • [40] A framework for assertion-based debugging in constraint logic programming
    Puebla, G
    Bueno, F
    Hermenegildo, M
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP98, 1998, 1520 : 472 - 472