The Semantics of Effects: Centrality, Quantum Control and Reversible Recursion

Louis Lemonnier
{"title":"The Semantics of Effects: Centrality, Quantum Control and Reversible Recursion","authors":"Louis Lemonnier","doi":"arxiv-2406.07216","DOIUrl":null,"url":null,"abstract":"This thesis revolves around an area of computer science called \"semantics\".\nWe work with operational semantics, equational theories, and denotational\nsemantics. The first contribution of this thesis is a study of the commutativity of\neffects through the prism of monads. Monads are the generalisation of algebraic\nstructures such as monoids, which have a notion of centre: the centre of a\nmonoid is made of elements which commute with all others. We provide the\nnecessary and sufficient conditions for a monad to have a centre. We also\ndetail the semantics of a language with effects that carry information on which\neffects are central. Moreover, we provide a strong link between its equational\ntheories and its denotational semantics. The second focus of the thesis is quantum computing, seen as a reversible\neffect. Physically permissible quantum operations are all reversible, except\nmeasurement; however, measurement can be deferred at the end of the\ncomputation, allowing us to focus on the reversible part first. We define a\nsimply-typed reversible programming language performing quantum operations\ncalled \"unitaries\". A denotational semantics and an equational theory adapted\nto the language are presented, and we prove that the former is complete. Furthermore, we study recursion in reversible programming, providing adequate\noperational and denotational semantics to a Turing-complete, reversible,\nfunctional programming language. The denotational semantics uses the dcpo\nenrichment of rig join inverse categories. This mathematical account of\nhigher-order reasoning on reversible computing does not directly generalise to\nits quantum counterpart. In the conclusion, we detail the limitations and\npossible future for higher-order quantum control through guarded recursion.","PeriodicalId":501135,"journal":{"name":"arXiv - MATH - Category Theory","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-06-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - MATH - Category Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.07216","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
效应的语义学:中心性、量子控制和可逆递归
本论文围绕计算机科学的一个领域 "语义学 "展开。我们研究了运算语义学、等式理论和指称语义学。本论文的第一个贡献是通过单子的棱镜来研究效应的换元性。单元是代数结构(如单体)的概括,它有一个中心的概念:单体的中心是由与所有其他元素交换的元素组成的。我们提供了单子具有中心的必要条件和充分条件。我们还详述了一种语言的语义,这种语言的效应携带着关于哪个效应是中心的信息。此外,我们还提供了等式理论与指称语义之间的紧密联系。论文的第二个重点是量子计算,它被视为一种可逆效应。物理上允许的量子操作都是可逆的,测量除外;然而,测量可以推迟到计算结束时进行,因此我们可以首先关注可逆的部分。我们定义了一种执行量子运算的简单类型可逆编程语言,称为 "单元"。我们提出了与该语言相适应的指称语义和等式理论,并证明前者是完整的。此外,我们还研究了可逆编程中的递归,为图灵完备的可逆函数式编程语言提供了适当的运算和指称语义。表示法语义使用了 rig 连接逆范畴的 dcpoenrichment。这种关于可逆计算的高阶推理的数学解释并不能直接推广到量子推理。在结论中,我们详细介绍了通过保护递归实现高阶量子控制的局限性和可能的未来。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信