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
中科院分区:
文献类型:
--
作者:
Voichick, Finn;Li, Liyi;Rand, Robert;Hicks, Michael
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
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
DOI:
--
发表时间:
2010
期刊:
影响因子:
--
作者:
P. Selinger;B. Valiron
通讯作者:
B. Valiron
DOI:
--
发表时间:
2006
期刊:
Log. Methods Comput. Sci.
影响因子:
--
作者:
P. Arrighi;Gilles Dowek
通讯作者:
Gilles Dowek