Quantum Programming with Inductive Datatypes - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 2020

Quantum Programming with Inductive Datatypes

Résumé

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.
Fichier principal
Vignette du fichier
qpl-inductive.pdf (749.59 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03018513 , version 1 (22-11-2020)

Identifiants

  • HAL Id : hal-03018513 , version 1

Citer

Romain Péchoux, Simon Perdrix, Mathys Rennela, Vladimir Zamdzhiev. Quantum Programming with Inductive Datatypes. 2020. ⟨hal-03018513⟩
117 Consultations
115 Téléchargements

Partager

More