效应的语义学:中心性、量子控制与可逆递归
The Semantics of Effects: Centrality, Quantum Control and Reversible Recursion
AI总结:
本文研究程序语义学,通过单子中心刻画效应交换性,为可逆量子语言建立完备指称语义,并利用范畴论为可逆递归提供语义基础,同时探讨高阶量子控制的局限与前景。
摘要:
本论文围绕计算机科学中称为“语义学”的领域展开。我们研究操作语义、等式理论和指称语义。本论文的第一个贡献是通过单子的视角研究效应的交换性。单子是诸如幺半群等代数结构的推广,而幺半群具有中心的概念:幺半群的中心由与所有其他元素都可交换的元素组成。我们给出了单子具有中心的充分必要条件。我们还详细描述了一种带有效应的语言的语义,这些效应携带了关于哪些效应是中心的信息。此外,我们在其等式理论与指称语义之间建立了紧密的联系。本论文的第二个重点是量子计算,将其视为一种可逆效应。物理上允许的量子操作除测量外都是可逆的;然而,测量可以推迟到计算结束时进行,这使我们能够首先关注可逆部分。我们定义了一种执行称为“酉算子”的量子操作的简单类型可逆编程语言。我们给出了适应该语言的指称语义和等式理论,并证明了前者的完备性。此外,我们研究了可逆编程中的递归,为一个图灵完备的、可逆的函数式编程语言提供了适当的操作语义和指称语义。其指称语义使用了 rig join inverse categories 的 dcpo 富集。这种对可逆计算进行高阶推理的数学描述并不能直接推广到其量子对应物。在结论中,我们详细说明了通过受保护递归实现高阶量子控制的局限性和可能的未来方向。
英文摘要:
This thesis revolves around an area of computer science called "semantics". We work with operational semantics, equational theories, and denotational semantics. The first contribution of this thesis is a study of the commutativity of effects through the prism of monads. Monads are the generalisation of algebraic structures such as monoids, which have a notion of centre: the centre of a monoid is made of elements which commute with all others. We provide the necessary and sufficient conditions for a monad to have a centre. We also detail the semantics of a language with effects that carry information on which effects are central. Moreover, we provide a strong link between its equational theories and its denotational semantics. The second focus of the thesis is quantum computing, seen as a reversible effect. Physically permissible quantum operations are all reversible, except measurement; however, measurement can be deferred at the end of the computation, allowing us to focus on the reversible part first. We define a simply-typed reversible programming language performing quantum operations called "unitaries". A denotational semantics and an equational theory adapted to the language are presented, and we prove that the former is complete. Furthermore, we study recursion in reversible programming, providing adequate operational and denotational semantics to a Turing-complete, reversible, functional programming language. The denotational semantics uses the dcpo enrichment of rig join inverse categories. This mathematical account of higher-order reasoning on reversible computing does not directly generalise to its quantum counterpart. In the conclusion, we detail the limitations and possible future for higher-order quantum control through guarded recursion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。