Qunity: A Unified Language for Quantum and Classical Computing

Qunity: A Unified Language for Quantum and Classical Computing
复制标题

Qunity:量子和经典计算的统一语言

DOI:
10.1145/3571225
复制
发表时间:
2023
影响因子:
--
通讯作者:
Hicks, Michael
Hicks, Michael
中科院分区:
--
文献类型:
--
作者:
Voichick, Finn;Li, Liyi;Rand, Robert;Hicks, Michael

文献摘要

参考文献

相似文献

我们引入了 Qunity,一种新的量子编程语言,旨在将量子计算视为经典计算的自然推广。 Qunity 提供了一种统一的语法,其中熟悉的编程结构可以同时具有量子效应和经典效应。例如,可以使用求和类型来实现线性运算符的直接求和,使用异常处理语法来实现投影测量,以及使用混叠来引发纠缠。此外,Qunity 利用了被忽视的 BQP 子例程定理,允许人们通过不计算“垃圾”输出,从不可逆量子算法构建可逆子例程。与通过单独的附加组件实现量子方面的现有语言(如固定量子门的经典语言)不同,Qunity 提供了统一的语法和新颖的指称语义,保证程序在量子力学上有效。我们介绍了 Qunity 的语法、类型系统和指称语义,展示了它如何清晰地表达多种量子算法。我们还详细介绍了如何将 Qunity 编译成 OpenQASM 等低级量子比特电路语言,证明了我们设计的可实现性。
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.
量子计算中的代数和逻辑方法
DOI: --
发表时间: 2015
期刊:
影响因子: --
作者:
N. J. Ross
通讯作者: N. J. Ross
DOI: --
发表时间: 2020-12
期刊: --
影响因子: --
作者:
J. V. D. Wetering
通讯作者: J. V. D. Wetering
任何大小为 N 的 AND-OR 公式都可以在量子计算机上在 N^{1/2 o(1)} 时间内计算
DOI: 10.1137/080712167
发表时间: 2010
期刊: 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS'07)
影响因子: --
作者:
A. Ambainis;Andrew M. Childs;B. Reichardt;R. Spalek;Shengyu Zhang
通讯作者: Shengyu Zhang
量子 lambda 演算
DOI: --
发表时间: 2010
期刊:
影响因子: --
作者:
P. Selinger;B. Valiron
通讯作者: B. Valiron
线性:线性代数 Lambda 演算
DOI: --
发表时间: 2006
期刊: Log. Methods Comput. Sci.
影响因子: --
作者:
P. Arrighi;Gilles Dowek
通讯作者: Gilles Dowek