解构 Proto-Quipper:一种理性重构
Deconstructed Proto-Quipper: A Rational Reconstruction
AI总结:
本文提出 Proto-Quipper-A,一种基于线性 λ-演算和伴随逻辑的 Proto-Quipper 理性重构,具有简单归约语义并证明其规范化,为量子电路编程提供易处理的形式化基础。
摘要:
Proto-Quipper 系列编程语言旨在为 Quipper 量子编程语言提供形式化基础。不幸的是,Proto-Quipper 语言具有复杂的操作语义:它们本质上是有效应的,并且依赖集合论操作和新鲜名称生成来操作量子电路。这使得使用标准编程语言技术对其进行推理以及最终实现机械化变得困难。我们引入 Proto-Quipper-A,这是对 Proto-Quipper 语言用于静态电路生成的一种理性重构。它使用线性 $\lambda$-演算来描述量子电路,其正规形式与盒线电路图紧密对应。伴随逻辑基础将该电路语言与线性/非线性函数式语言集成,并使我们能够使用更原始的伴随逻辑操作来重构 Proto-Quipper 的电路编程抽象。Proto-Quipper-A 具有简单的按值调用归约语义,并且为了说明其作为 Proto-Quipper 语言基础的易处理性,我们证明它是规范化的。我们展示了如何使用标准逻辑关系来证明线性和子结构系统的规范化,从而避免现有线性逻辑关系的固有复杂性。
英文摘要:
The Proto-Quipper family of programming languages aims to provide a formal foundation for the Quipper quantum programming language. Unfortunately, Proto-Quipper languages have complex operational semantics: they are inherently effectful, and they rely on set-theoretic operations and fresh name generation to manipulate quantum circuits. This makes them difficult to reason about using standard programming language techniques and, ultimately, to mechanize. We introduce Proto-Quipper-A, a rational reconstruction of Proto-Quipper languages for static circuit generation. It uses a linear $λ$-calculus to describe quantum circuits with normal forms that closely correspond to box-and-wire circuit diagrams. Adjoint-logical foundations integrate this circuit language with a linear/non-linear functional language and let us reconstruct Proto-Quipper's circuit programming abstractions using more primitive adjoint-logical operations. Proto-Quipper-A enjoys a simple call-by-value reduction semantics, and to illustrate its tractability as a foundation for Proto-Quipper languages, we show that it is normalizing. We show how to use standard logical relations to prove normalization of linear and substructural systems, thereby avoiding the inherent complexity of existing linear logical relations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。