Q# 作为量子算法语言
Q# as a Quantum Algorithmic Language
AI总结:
本文提出 λ-Q#,为 Q# 语言提供正式定义和数学基础,展示其类型系统的安全性并基于代数理论给出等式语义。
摘要:
Q# 是微软为编写和运行量子程序而设计的独立领域特定编程语言。与大多数工业语言一样,它在设计时没有正式规范,这自然可能导致其解释上的歧义。我们的目标是为 Q# 提供正式的语言定义,将该语言置于坚实的数学基础之上,并促进其设计和类型系统的进一步演进。本文提出了 $λ$-Q#,一个 Q# 的理想化版本,它展示了我们如何将 Q# 视为一种量子 Algol(算法语言)。我们展示了 $λ$-Q# 类型系统所强制执行的 safety 属性,并基于 Staton 的完全完备代数理论给出了其等式语义。
英文摘要:
Q# is a standalone domain-specific programming language from Microsoft for writing and running quantum programs. Like most industrial languages, it was designed without a formal specification, which can naturally lead to ambiguity in its interpretation. We aim to provide a formal language definition for Q#, placing the language on a solid mathematical foundation and enabling further evolution of its design and type system. This paper presents $λ$-Q#, an idealized version of Q# that illustrates how we may view Q# as a quantum Algol (algorithmic language). We show the safety properties enforced by $λ$-Q#'s type system and present its equational semantics based on a fully complete algebraic theory by Staton.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。