Modular Synthesis of Efficient Quantum Uncomputation

被引:0
|
作者
Venev, Hristo [1 ]
Gehr, Timon [2 ]
Dimitrov, Dimitar [1 ]
Vechev, Martin [1 ,2 ]
机构
[1] Sofia Univ St Kliment Ohridski, INSAIT, Sofia, Bulgaria
[2] Swiss Fed Inst Technol, Zurich, Switzerland
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2024年 / 8卷 / OOPSLA2期
基金
芬兰科学院;
关键词
quantum programming languages; intermediate representations;
D O I
10.1145/3689785
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A key challenge of quantum programming is uncomputation: the reversible deallocation of qubits. And while there has been much recent progress on automating uncomputation, state-of-the-art methods are insufficient for handling today's expressive quantum programming languages. A core reason is that they operate on primitive quantum circuits, while quantum programs express computations beyond circuits, for instance, they can capture families of circuits defined recursively in terms of uncomputation and adjoints. In this paper, we introduce the first modular automatic approach to synthesize correct and efficient uncomputation for expressive quantum programs. Our method is based on two core technical contributions: (i) an intermediate representation (IR) that can capture expressive quantum programs and comes with support for uncomputation, and (ii) modular algorithms over that IR for synthesizing uncomputation and adjoints. We have built a complete end-to-end implementation of our method, including an implementation of the IR and the synthesis algorithms, as well as a translation from an expressive fragment of the Silq programming language to our IR and circuit generation from the IR. Our experimental evaluation demonstrates that we can handle programs beyond the capabilities of existing uncomputation approaches, while being competitive on the benchmarks they can handle. More broadly, we show that it is possible to benefit from the greater expressivity and safety offered by high-level quantum languages without sacrificing efficiency.
引用
收藏
页数:28
相关论文
共 50 条
  • [41] THE QUANTUM VARIANCE OF THE MODULAR SURFACE
    Sarnak, P.
    Zhao, P.
    Woodbury, M.
    ANNALES SCIENTIFIQUES DE L ECOLE NORMALE SUPERIEURE, 2019, 52 (05): : 1155 - 1200
  • [42] Modular double of a quantum group
    Faddeev, L
    CONFERENCE MOSHE FLATO 1999, VOL I: QUANTIZATION, DEFORMATIONS, AND SYMMETRIES, 2000, 21 : 149 - 156
  • [43] Quantum relative modular functions
    Chirvasitu, Alexandru
    JOURNAL OF MATHEMATICAL ANALYSIS AND APPLICATIONS, 2023, 517 (01)
  • [44] Efficient and practical modular decomposition
    Dahlhaus, E
    Gustedt, J
    McConnell, RM
    PROCEEDINGS OF THE EIGHTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 1997, : 26 - 35
  • [45] Efficient parallel modular decomposition
    Dahlhaus, E
    GRAPH-THEORETIC CONCEPTS IN COMPUTER SCIENCE, 1995, 1017 : 290 - 302
  • [46] On the design of efficient modular adders
    Vergos, HT
    Efstathiou, C
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2005, 14 (05) : 965 - 972
  • [47] AN EFFICIENT AND MODULAR TRANSMULTIPLEXER DESIGN
    CONSTANTINIDES, AG
    VALENZUELA, RA
    IEEE TRANSACTIONS ON COMMUNICATIONS, 1982, 30 (07) : 1629 - 1641
  • [48] Efficient and Modular Implicit Differentiation
    Blondel, Mathieu
    Berthet, Quentin
    Cuturi, Marco
    Frostig, Roy
    Hoyer, Stephan
    Llinares-Lopez, Felipe
    Pedregosa, Fabian
    Vert, Jean-Philippe
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [49] Alkyltriflones in the Ramberg-Backlund Reaction: An Efficient and Modular Synthesis of gem-Difluoroalkenes
    Maekawa, Yuuki
    Nambo, Masakazu
    Yokogawa, Daisuke
    Crudden, Cathleen M.
    JOURNAL OF THE AMERICAN CHEMICAL SOCIETY, 2020, 142 (37) : 15667 - 15672
  • [50] Modular Synthesis of Bioactive Selenoheterocycles for Efficient Cancer Therapy via Electrochemical Selenylation/Cyclization
    Xu, Wenyan
    Zheng, Chengwei
    Chen, Mu
    Deng, Xin
    Zhang, Lingmin
    Lei, Xueping
    Liang, Lu
    Yu, Xiyong
    Hu, Xinwei
    He, Juyun
    Lin, Shuimu
    Ruan, Zhixiong
    JOURNAL OF MEDICINAL CHEMISTRY, 2025,