Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory

by   Romain Péchoux, et al.

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.



There are no comments yet.


page 1

page 2

page 3

page 4


Semantics for first-order affine inductive data types via slice categories

Affine type systems are substructural type systems where copying of info...

Linear Dependent Type Theory for Quantum Programming Languages

Modern quantum programming languages integrate quantum resources and cla...

A HoTT Quantum Equational Theory (Extended Version)

This paper presents an equational theory for the QRAM model of quantum c...

Qimaera: Type-safe (Variational) Quantum Programming in Idris

Variational Quantum Algorithms are hybrid classical-quantum algorithms w...

Inductive supervised quantum learning

In supervised learning, an inductive learning algorithm extracts general...

A Visual Language for Composable Inductive Programming

We present Zoea Visual which is a visual programming language based on t...

Quantum Expectation Transformers for Cost Analysis

We introduce a new kind of expectation transformer for a mixed classical...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.