English

A feasible and unitary quantum programming language

Logic in Computer Science 2024-03-06 v3 Programming Languages

Abstract

We introduce a novel quantum programming language featuring higher-order programs and quantum controlflow which ensures that all qubit transformations are unitary. Our language boasts a type system guaranteeingboth unitarity and polynomial-time normalization. Unitarity is achieved by using a special modality forsuperpositions while requiring orthogonality among superposed terms. Polynomial-time normalization isachieved using a linear-logic-based type discipline employing Barber and Plotkin duality along with a specificmodality to account for potential duplications. This type discipline also guarantees that derived values havepolynomial size. Our language seamlessly combines the two modalities: quantum circuit programs upholdunitarity, and all programs are evaluated in polynomial time, ensuring their feasibility.

Keywords

Cite

@article{arxiv.2311.01054,
  title  = {A feasible and unitary quantum programming language},
  author = {Alejandro Díaz-Caro and Emmanuel Hainry and Romain Péchoux and Mário Silva},
  journal= {arXiv preprint arXiv:2311.01054},
  year   = {2024}
}
R2 v1 2026-06-28T13:09:23.276Z