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 条
  • [1] Assertion-Based Validation of Modified Programs
    Korel, Bogdan
    Zhang, Qi
    Tao, Li
    SECOND INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION, PROCEEDINGS, 2009, : 426 - 435
  • [2] A framework of an assertion-based algorithmic debugging for distributed programs
    Ohta, T
    Kinoshita, H
    Kimata, T
    Mizuno, T
    15TH INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING, PROCEEDINGS, 2001, : 319 - 324
  • [3] Combined static and dynamic assertion-based debugging of constraint logic programs
    Puebla, G
    Bueno, F
    Hermenegildo, M
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, PROCEEDINGS, 2000, 1817 : 273 - 292
  • [4] Uncovering Bugs in P4 Programs with Assertion-based Verification
    Freire, Lucas
    Neves, Miguel
    Leal, Lucas
    Levchenko, Kirill
    Schaeffer-Filho, Alberto
    Barcellos, Marinho
    PROCEEDINGS OF THE SYMPOSIUM ON SDN RESEARCH (SOSR'18), 2018,
  • [5] Assertion-based Debugging of Higher-Order (C) LP Programs
    Stulova, Nataliia
    Morales, Jose F.
    Hermenegildo, Manuel V.
    PPDP'14: PROCEEDINGS OF THE 16TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2014, : 225 - 235
  • [6] Assertion-based design with Horus
    Oddos, Yann
    Morin-Allory, Katell
    Borrione, Dominique
    MEMOCODE'08: SIXTH ACM & IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR CO-DESIGN, PROCEEDINGS, 2008, : 75 - 76
  • [7] Integrated, comprehensive assertion-based coverage
    TransEDA
    不详
    不详
    Electron. Eng. Times, 2006, 1412 (22-25):
  • [8] POSTER: Finding Vulnerabilities in P4 Programs with Assertion-based Verification
    Freire, Lucas
    Neves, Miguel
    Schaeffer-Filho, Alberto
    Barcellos, Marinho
    CCS'17: PROCEEDINGS OF THE 2017 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2017, : 2495 - 2497
  • [9] Abstraction in assertion-based test oracles
    Cheon, Yoonsik
    USIC 2007: PROCEEDINGS OF THE SEVENTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2007, : 410 - 414
  • [10] Assertion-based verification turns the corner
    Gupta, A
    IEEE DESIGN & TEST OF COMPUTERS, 2002, 19 (04): : 131 - 131