{"title":"效应的语义学:中心性、量子控制和可逆递归","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":"2016 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"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\":\"2016 1\",\"pages\":\"\"},\"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}","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}
The Semantics of Effects: Centrality, Quantum Control and Reversible Recursion
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.