paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How to Bake a Quantum Π

如何烘焙一个量子 Π
ICFP 8(ICFP)2024匹配度 1/10 · 论文研究量子编程语言 Quantum Π 的范畴构造与形式语义,属于量子/概率编程与编程语言理论,但与用户核心关注的 PL→AI 静态分析、AI→PL 形式化验证、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接交叉。引用 3 inbox
Jacques Carette, Chris Heunen, Robin Kaarsgaard, Amr Sabry
dblp: 2026-09-10crossref: 2026-09-10arxiv: 2026-09-10

AI 速览

一句话:从 rig groupoid 内部语言 Π 的两个副本出发,用范畴构造与计算效应构造计算普遍的量子语言 Quantum Π。

论文从 rig groupoid 的内部语言 Π 的两个副本出发,构造计算普遍的量子编程语言 Quantum Π。作者先在 Unitary 的推广范畴中为每个态射引入旋转角,以解释每个 Π 副本;再用自由范畴构造(可表达为计算效应)将两个副本融合,得到无测量的纯项语言。该语言仅在特定旋转角取值下呈现量子行为,这一性质由对所得范畴施加少量方程来保证。随后,作者通过叠加另一层计算效应引入测量。其贡献在于以范畴语义和计算效应为原则,给出从内部语言到量子语言的可组合构造。

问题
如何以范畴内部语言与计算效应为原则,系统构造一个计算普遍的量子编程语言,并区分无测量的纯量子项与测量。
方法
取 rig groupoid 内部语言 Π 的两个副本,在 Unitary 的推广范畴中给态射加旋转角并解释各副本,再通过自由范畴构造/计算效应融合二者,得到无测量项语言;随后叠加额外计算效应引入测量。
评估
理论构造与性质分析:所得融合语言仅在特定旋转角下表现量子行为,该性质由对范畴施加少量方程强制;构造被论证为计算普遍并支持测量。
原文摘要(Abstract)

We construct a computationally universal quantum programming language Quantum Π from two copies of Π , the internal language of rig groupoids. The first step constructs a pure (measurement-free) term language by interpreting each copy of Π in a generalisation of the category Unitary in which every morphism is “rotated” by a particular angle, and the two copies are amalgamated using a free categorical construction expressed as a computational effect. The amalgamated language only exhibits quantum behaviour for specific values of the rotation angles, a property which is enforced by imposing a small number of equations on the resulting category. The second step in the construction introduces measurements by layering an additional computational effect.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@article{CaretteHKS24a,
  title = {How to Bake a Quantum Π},
  author = {Jacques Carette and Chris Heunen and Robin Kaarsgaard and Amr Sabry},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {ICFP},
  year = {2024},
  doi = {10.1145/3674625}
}