Deconstructed Proto-Quipper: A Rational Reconstruction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kavanagh, Ryan, Sano, Chuta, Pientka, Brigitte
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909864701198336
author Kavanagh, Ryan
Sano, Chuta
Pientka, Brigitte
author_facet Kavanagh, Ryan
Sano, Chuta
Pientka, Brigitte
contents The Proto-Quipper family of programming languages aims to provide a formal foundation for the Quipper quantum programming language. Unfortunately, Proto-Quipper languages have complex operational semantics: they are inherently effectful, and they rely on set-theoretic operations and fresh name generation to manipulate quantum circuits. This makes them difficult to reason about using standard programming language techniques and, ultimately, to mechanize. We introduce Proto-Quipper-A, a rational reconstruction of Proto-Quipper languages for static circuit generation. It uses a linear $λ$-calculus to describe quantum circuits with normal forms that closely correspond to box-and-wire circuit diagrams. Adjoint-logical foundations integrate this circuit language with a linear/non-linear functional language and let us reconstruct Proto-Quipper's circuit programming abstractions using more primitive adjoint-logical operations. Proto-Quipper-A enjoys a simple call-by-value reduction semantics, and to illustrate its tractability as a foundation for Proto-Quipper languages, we show that it is normalizing. We show how to use standard logical relations to prove normalization of linear and substructural systems, thereby avoiding the inherent complexity of existing linear logical relations.
format Preprint
id arxiv_https___arxiv_org_abs_2510_20018
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Deconstructed Proto-Quipper: A Rational Reconstruction
Kavanagh, Ryan
Sano, Chuta
Pientka, Brigitte
Programming Languages
68N18 (Primary), 03B70 (Secondary)
F.3.3; D.3.1
The Proto-Quipper family of programming languages aims to provide a formal foundation for the Quipper quantum programming language. Unfortunately, Proto-Quipper languages have complex operational semantics: they are inherently effectful, and they rely on set-theoretic operations and fresh name generation to manipulate quantum circuits. This makes them difficult to reason about using standard programming language techniques and, ultimately, to mechanize. We introduce Proto-Quipper-A, a rational reconstruction of Proto-Quipper languages for static circuit generation. It uses a linear $λ$-calculus to describe quantum circuits with normal forms that closely correspond to box-and-wire circuit diagrams. Adjoint-logical foundations integrate this circuit language with a linear/non-linear functional language and let us reconstruct Proto-Quipper's circuit programming abstractions using more primitive adjoint-logical operations. Proto-Quipper-A enjoys a simple call-by-value reduction semantics, and to illustrate its tractability as a foundation for Proto-Quipper languages, we show that it is normalizing. We show how to use standard logical relations to prove normalization of linear and substructural systems, thereby avoiding the inherent complexity of existing linear logical relations.
title Deconstructed Proto-Quipper: A Rational Reconstruction
topic Programming Languages
68N18 (Primary), 03B70 (Secondary)
F.3.3; D.3.1
url https://arxiv.org/abs/2510.20018