arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.13041cs.PLmath.CTquant-ph
收藏

带动态升降功能的Proto-Quipper

Proto-Quipper with dynamic lifting

Peng Fu, Kohei Kishida, Neil J. Ross, Peter Selinger

摘要:

Quipper是一种用于量子计算的函数式程序设计语言。Proto-Quipper是一个旨在为Quipper提供正式基础的语言家族。在本文中,我们扩展了原Quipper-M与动态提升,这是目前在Quipper的构造。由于是一种电路描述语言,Proto-Quipper有两个独立的运行时:电路生成时间和电路执行时间。在电路生成时已知的值称为参数,在电路执行时已知的值称为状态。动态提升是一种操作,其使得状态(诸如测量结果)能够被提升为参数,其中它可以影响电路的下一部分的生成。因此,动态提升使Proto-Quipper程序能够交错经典和量子计算。我们描述了一种我们称之为Proto-Quipper-Dyn的语言的语法。它的类型系统使用模态系统来跟踪动态提升的使用。我们还提供了一个操作语义,以及一个抽象的范畴语义的基础上丰富的范畴理论的动态提升。我们证明了类型系统和操作语义是健全的,我们的范畴语义。最后,我们给出了一些原型Quipper-Dyn程序的例子,这些程序基本上使用了动态提升。

英文摘要:

Quipper is a functional programming language for quantum computing. Proto-Quipper is a family of languages aiming to provide a formal foundation for Quipper. In this paper, we extend Proto-Quipper-M with a construct called dynamic lifting, which is present in Quipper. By virtue of being a circuit description language, Proto-Quipper has two separate runtimes: circuit generation time and circuit execution time. Values that are known at circuit generation time are called parameters, and values that are known at circuit execution time are called states. Dynamic lifting is an operation that enables a state, such as the result of a measurement, to be lifted to a parameter, where it can influence the generation of the next portion of the circuit. As a result, dynamic lifting enables Proto-Quipper programs to interleave classical and quantum computation. We describe the syntax of a language we call Proto-Quipper-Dyn. Its type system uses a system of modalities to keep track of the use of dynamic lifting. We also provide an operational semantics, as well as an abstract categorical semantics for dynamic lifting based on enriched category theory. We prove that both the type system and the operational semantics are sound with respect to our categorical semantics. Finally, we give some examples of Proto-Quipper-Dyn programs that make essential use of dynamic lifting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑