Circuit description languages are a class of quantum programming languages in which programs are classical and produce a description of a quantum computation, in the form of a quantum circuit. Since these programs can leverage all the expressive power of high-level classical languages, circuit description languages have been successfully used to describe complex quantum algorithms, whose circuits, however, may involve many more qubits and gate applications than current quantum architectures can actually muster. In this article, we present Proto-Quipper-R, a circuit description language endowed with a linear dependent type-and-effect system capable of deriving parametric upper bounds on the width of the circuits produced by a program. We prove both the standard type safety results and that the resulting resource analysis is correct with respect to a big-step operational semantics. Lastly, we introduce QuRA, a static analysis tool based on Proto-Quipper-R’s type system, and use it to show that our framework allows for the automatic width verification of realistic quantum algorithms, such as the QFT and Grover’s algorithm.

Colledan, A., Lago, U.D., Vazou, N. (2025). Circuit Width Estimation via Effect Typing and Linear Dependency. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 47(3), 1-35 [10.1145/3737282].

Circuit Width Estimation via Effect Typing and Linear Dependency

Colledan, Andrea;Lago, Ugo Dal
;
2025

Abstract

Circuit description languages are a class of quantum programming languages in which programs are classical and produce a description of a quantum computation, in the form of a quantum circuit. Since these programs can leverage all the expressive power of high-level classical languages, circuit description languages have been successfully used to describe complex quantum algorithms, whose circuits, however, may involve many more qubits and gate applications than current quantum architectures can actually muster. In this article, we present Proto-Quipper-R, a circuit description language endowed with a linear dependent type-and-effect system capable of deriving parametric upper bounds on the width of the circuits produced by a program. We prove both the standard type safety results and that the resulting resource analysis is correct with respect to a big-step operational semantics. Lastly, we introduce QuRA, a static analysis tool based on Proto-Quipper-R’s type system, and use it to show that our framework allows for the automatic width verification of realistic quantum algorithms, such as the QFT and Grover’s algorithm.
2025
Colledan, A., Lago, U.D., Vazou, N. (2025). Circuit Width Estimation via Effect Typing and Linear Dependency. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 47(3), 1-35 [10.1145/3737282].
Colledan, Andrea; Lago, Ugo Dal; Vazou, Niki
File in questo prodotto:
File Dimensione Formato  
toplas2025.pdf

accesso aperto

Tipo: Versione (PDF) editoriale / Version Of Record
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione (CCBY)
Dimensione 5.74 MB
Formato Adobe PDF
5.74 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1034435
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact