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 条
  • [1] A language and hardware independent approach to quantum-classical computing
    McCaskey, A. J.
    Dumitrescu, E. F.
    Liakh, D.
    Chen, M.
    Feng, W.
    Humble, T. S.
    SOFTWAREX, 2018, 7 : 245 - 254
  • [3] Quantum Computing’s Classical Problem, Classical Computing’s Quantum Problem
    Rodney Van Meter
    Foundations of Physics, 2014, 44 : 819 - 828
  • [4] HYBRID QUANTUM-CLASSICAL WORKFLOWS IN MODULAR SUPERCOMPUTING ARCHITECTURES WITH THE JULICH UNIFIED INFRASTRUCTURE FOR QUANTUM COMPUTING
    Cavallaro, Gabriele
    Riedel, Morris
    Lippert, Thomas
    Michielsen, Kristel
    2022 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM (IGARSS 2022), 2022, : 4149 - 4152
  • [5] From classical computing to quantum computing
    Barila, Adina
    2014 INTERNATIONAL CONFERENCE ON DEVELOPMENT AND APPLICATION SYSTEMS (DAS), 2014, : 196 - 203
  • [6] Distributed Quantum Computing via Integrating Quantum and Classical Computing
    Tang, Wei
    Martonosi, Margaret
    Jones, Timothy
    Mullins, Robert
    COMPUTER, 2024, 57 (04) : 131 - 136
  • [7] Quantum computing classical physics
    Meyer, DA
    PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2002, 360 (1792): : 395 - 405
  • [8] Quantum computing with classical bits
    Wetterich, C.
    NUCLEAR PHYSICS B, 2019, 948
  • [9] Unified Interpretation of Quantum and Classical Logics
    Kenji Tokuo
    Axiomathes, 2014, 24 : 1 - 7
  • [10] Unified Approach to Quantum and Classical Dualities
    Cobanera, E.
    Ortiz, G.
    Nussinov, Z.
    PHYSICAL REVIEW LETTERS, 2010, 104 (02)