Resource-Aware Quantum Programming with General Recursion and Quantum Control

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chardonnet, Kostia, Hainry, Emmanuel, Péchoux, Romain, Vinet, Thomas
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908835085549568
author Chardonnet, Kostia
Hainry, Emmanuel
Péchoux, Romain
Vinet, Thomas
author_facet Chardonnet, Kostia
Hainry, Emmanuel
Péchoux, Romain
Vinet, Thomas
contents This paper introduces the hybrid quantum language with general recursion $\mathtt{Hyrql}$, driven towards resource-analysis. By design, $\mathtt{Hyrql}$ does not require the specification of an initial set of quantum gates. Hence, it is well amenable towards a generic cost analysis, unlike languages that use different sets of quantum gates, which yield quantum circuits of distinct complexity. Regarding resource-analysis, we show how to relate the runtime of an expressive fragment of $\mathtt{Hyrql}$ programs with the size of the corresponding quantum circuits. We also manage to capture the class of functions computable in quantum polynomial time, which, by Yao's Theorem, corresponds to families of circuits of polynomial size. Consequently, this result paves the way for the use of termination and runtime-analysis techniques designed for classical programs to guarantee bounds on the size of quantum circuits.
format Preprint
id arxiv_https___arxiv_org_abs_2510_20452
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Resource-Aware Quantum Programming with General Recursion and Quantum Control
Chardonnet, Kostia
Hainry, Emmanuel
Péchoux, Romain
Vinet, Thomas
Logic in Computer Science
This paper introduces the hybrid quantum language with general recursion $\mathtt{Hyrql}$, driven towards resource-analysis. By design, $\mathtt{Hyrql}$ does not require the specification of an initial set of quantum gates. Hence, it is well amenable towards a generic cost analysis, unlike languages that use different sets of quantum gates, which yield quantum circuits of distinct complexity. Regarding resource-analysis, we show how to relate the runtime of an expressive fragment of $\mathtt{Hyrql}$ programs with the size of the corresponding quantum circuits. We also manage to capture the class of functions computable in quantum polynomial time, which, by Yao's Theorem, corresponds to families of circuits of polynomial size. Consequently, this result paves the way for the use of termination and runtime-analysis techniques designed for classical programs to guarantee bounds on the size of quantum circuits.
title Resource-Aware Quantum Programming with General Recursion and Quantum Control
topic Logic in Computer Science
url https://arxiv.org/abs/2510.20452