Cargando…
Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory
Inductive datatypes in programming languages allow users to define useful data structures such as natural numbers, lists, trees, and others. In this paper we show how inductive datatypes may be added to the quantum programming language QPL. We construct a sound categorical model for the language and...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788615/ http://dx.doi.org/10.1007/978-3-030-45231-5_29 |
_version_ | 1783633064559116288 |
---|---|
author | Péchoux, Romain Perdrix, Simon Rennela, Mathys Zamdzhiev, Vladimir |
author_facet | Péchoux, Romain Perdrix, Simon Rennela, Mathys Zamdzhiev, Vladimir |
author_sort | Péchoux, Romain |
collection | PubMed |
description | Inductive datatypes in programming languages allow users to define useful data structures such as natural numbers, lists, trees, and others. In this paper we show how inductive datatypes may be added to the quantum programming language QPL. We construct a sound categorical model for the language and by doing so we provide the first detailed semantic treatment of user-defined inductive datatypes in quantum programming. We also show our denotational interpretation is invariant with respect to big-step reduction, thereby establishing another novel result for quantum programming. Compared to classical programming, this property is considerably more difficult to prove and we demonstrate its usefulness by showing how it immediately implies computational adequacy at all types. To further cement our results, our semantics is entirely based on a physically natural model of von Neumann algebras, which are mathematical structures used by physicists to study quantum mechanics. |
format | Online Article Text |
id | pubmed-7788615 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-77886152021-01-07 Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory Péchoux, Romain Perdrix, Simon Rennela, Mathys Zamdzhiev, Vladimir Foundations of Software Science and Computation Structures Article Inductive datatypes in programming languages allow users to define useful data structures such as natural numbers, lists, trees, and others. In this paper we show how inductive datatypes may be added to the quantum programming language QPL. We construct a sound categorical model for the language and by doing so we provide the first detailed semantic treatment of user-defined inductive datatypes in quantum programming. We also show our denotational interpretation is invariant with respect to big-step reduction, thereby establishing another novel result for quantum programming. Compared to classical programming, this property is considerably more difficult to prove and we demonstrate its usefulness by showing how it immediately implies computational adequacy at all types. To further cement our results, our semantics is entirely based on a physically natural model of von Neumann algebras, which are mathematical structures used by physicists to study quantum mechanics. 2020-04-17 /pmc/articles/PMC7788615/ http://dx.doi.org/10.1007/978-3-030-45231-5_29 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Péchoux, Romain Perdrix, Simon Rennela, Mathys Zamdzhiev, Vladimir Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory |
title | Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory |
title_full | Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory |
title_fullStr | Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory |
title_full_unstemmed | Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory |
title_short | Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory |
title_sort | quantum programming with inductive datatypes: causality and affine type theory |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788615/ http://dx.doi.org/10.1007/978-3-030-45231-5_29 |
work_keys_str_mv | AT pechouxromain quantumprogrammingwithinductivedatatypescausalityandaffinetypetheory AT perdrixsimon quantumprogrammingwithinductivedatatypescausalityandaffinetypetheory AT rennelamathys quantumprogrammingwithinductivedatatypescausalityandaffinetypetheory AT zamdzhievvladimir quantumprogrammingwithinductivedatatypescausalityandaffinetypetheory |