量子单子论
The Quantum Monadology
AI总结:
针对量子编程中单子范式应用不足的问题,研究参数化模谱范畴上的(余)单子,提出可嵌入LHoTT的量子语言QS,实现带经典控制、动态提升与拓扑效应的可验证通用量子编程。
摘要:
现代函数式编程语言理论使用单子(monad)来编码超出纯程序逻辑的计算副作用与副上下文。尽管量子计算本质上具有副作用(如量子测量中)且依赖上下文(如在混合辅助态上),但此前这种单子范式几乎未被应用于量子编程语言。\n 本文系统分析了参数化模谱范畴上的(余)单子,这些(余)单子由格罗滕迪克的“运算的动机瑜伽”导出——为实现本文目的,我们将其专门化到HC-模,并进一步推广到集合索引的复向量空间。将索引向量空间解释为由量子测量结果参数化的一组备选可能量子态空间(这在Proto-Quipper语义中很常见),我们发现这些(余)单子为带有经典控制、且能将量子测量结果“动态提升”回经典上下文的函数式量子编程提供了一套全面的自然语言。\n 最后,我们提出了一种领域特定量子编程语言QS,它以透明的do表示法表达这些单子量子效应,可嵌入到最近构建的线性同伦类型论(LHoTT)中,而LHoTT可解释为参数化模谱。一旦嵌入LHoTT,这将实现具备线量子类型、经典控制、动态提升,尤其是拓扑效应的形式化可验证通用量子编程。
英文摘要:
The modern theory of functional programming languages uses monads for encoding computational side-effects and side-contexts, beyond bare-bone program logic. Even though quantum computing is intrinsically side-effectful (as in quantum measurement) and context-dependent (as on mixed ancillary states), little of this monadic paradigm has previously been brought to bear on quantum programming languages. Here we systematically analyze the (co)monads on categories of parameterized module spectra which are induced by Grothendieck's "motivic yoga of operations" -- for the present purpose specialized to HC-modules and further to set-indexed complex vector spaces. Interpreting an indexed vector space as a collection of alternative possible quantum state spaces parameterized by quantum measurement results, as familiar from Proto-Quipper-semantics, we find that these (co)monads provide a comprehensive natural language for functional quantum programming with classical control and with "dynamic lifting" of quantum measurement results back into classical contexts. We close by indicating a domain-specific quantum programming language (QS) expressing these monadic quantum effects in transparent do-notation, embeddable into the recently constructed Linear Homotopy Type Theory (LHoTT) which interprets into parameterized module spectra. Once embedded into LHoTT, this should make for formally verifiable universal quantum programming with linear quantum types, classical control, dynamic lifting, and notably also with topological effects.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。