Qunity: A Unified Language for Quantum and Classical Computing

被引:0
|
作者
Voichick F. [1 ]
Li L. [1 ]
Rand R. [2 ]
Hicks M. [1 ]
机构
[1] University of Maryland, Amazon, College Park
[2] University of Chicago, Chicago
关键词
algebraic data types; Kraus operators; quantum subroutines; reversible computing;
D O I
10.1145/3571225
中图分类号
学科分类号
摘要
We introduce Qunity, a new quantum programming language designed to treat quantum computing as a natural generalization of classical computing. Qunity presents a unified syntax where familiar programming constructs can have both quantum and classical effects. For example, one can use sum types to implement the direct sum of linear operators, exception-handling syntax to implement projective measurements, and aliasing to induce entanglement. Further, Qunity takes advantage of the overlooked BQP subroutine theorem, allowing one to construct reversible subroutines from irreversible quantum algorithms through the uncomputation of "garbage"outputs. Unlike existing languages that enable quantum aspects with separate add-ons (like a classical language with quantum gates bolted on), Qunity provides a unified syntax and a novel denotational semantics that guarantees that programs are quantum mechanically valid. We present Qunity's syntax, type system, and denotational semantics, showing how it can cleanly express several quantum algorithms. We also detail how Qunity can be compiled into a low-level qubit circuit language like OpenQASM, proving the realizability of our design. © 2023 Owner/Author.
引用
收藏
页码:921 / 951
页数:30
相关论文
共 50 条
  • [31] Unified description of classical and quantum behaviours in a variational principle
    Koide, Tomoi
    Kodama, Takeshi
    Tsushima, Kazuo
    7TH INTERNATIONAL WORKSHOP DICE2014 SPACETIME - MATTER - QUANTUM MECHANICS, 2015, 626
  • [32] A unified theory of gravity and electromagnetism: Classical and quantum aspects
    Ghose, Partha
    PRAMANA-JOURNAL OF PHYSICS, 2019, 93 (05):
  • [33] A unified theory of gravity and electromagnetism: Classical and quantum aspects
    Partha Ghose
    Pramana, 2019, 93
  • [34] A unified description of cryptosystems: From classical to quantum protocols
    De Riso, Giuseppe
    Noce, Marialaura
    JOURNAL OF DISCRETE MATHEMATICAL SCIENCES & CRYPTOGRAPHY, 2023, 26 (08): : 2285 - 2299
  • [35] CLASSICAL CHAOS, QUANTUM LOCALIZATION AND FLUCTUATIONS - A UNIFIED VIEW
    CASATI, G
    GUARNERI, I
    SHEPELYANSKY, DL
    PHYSICA A, 1990, 163 (01): : 205 - 214
  • [36] Unified classical and quantum theory of structural glasses.
    Wolynes, PG
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2003, 226 : U278 - U278
  • [37] Optimised Trotter decompositions for classical and quantum computing
    Ostmeyer, Johann
    JOURNAL OF PHYSICS A-MATHEMATICAL AND THEORETICAL, 2023, 56 (28)
  • [38] CUDA Quantum: The Platform for Integrated Quantum-Classical Computing
    Kim, Jin-Sung
    McCaskey, Alex
    Heim, Bettina
    Modani, Manish
    Stanwyck, Sam
    Costa, Timothy
    2023 60TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC, 2023,
  • [39] Quantum vertex model for reversible classical computing
    C. Chamon
    E. R. Mucciolo
    A. E. Ruckenstein
    Z.-C. Yang
    Nature Communications, 8
  • [40] Quantum vertex model for reversible classical computing
    Chamon, C.
    Mucciolo, E. R.
    Ruckenstein, A. E.
    Yang, Z. -C.
    NATURE COMMUNICATIONS, 2017, 8