Proto-Quipper with Dynamic Lifting

Quipper is a functional language for programming quantum circuits. Proto-Quipper is a family of languages aiming to provide a formal foundation for Quipper. In this paper, we extend Proto-Quipper-M with a construct called dynamic lifting, which is present in Quipper. By virtue of being a circuit description language, Proto-Quipper has two separate runtimes: circuit generation time and circuit execution time. Values that are known at circuit generation time are called parameters, and values that are known at circuit execution time are called states. Dynamic lifting is an operation that enables a state, such as the result of a measurement, to be lifted to a parameter, where it can influence the generation of the next portion of the circuit. As a result, dynamic lifting enables Proto-Quipper programs to interleave classical and quantum computation. We describe the syntax of a language we call Proto-Quipper-Dyn. Its type system uses a system of modalities to keep track of the use of dynamic lifting. We then provide an operational semantics, as well as a notion of categorical model for dynamic lifting. We also construct a concrete instance of such a model based on biset-enrichment. We prove that both the type system and the operational semantics are sound with respect to our categorical semantics. Finally, we give some examples of Proto-Quipper-Dyn programs that make essential use of dynamic lifting.

Data and Resources

Additional Info

Field Value
Source https://hal.science/hal-05596235
Author Fu, Peng, Kishida, Kohei, Ross, Neil J., Selinger, Peter
Maintainer CCSD
Last Updated November 29, 2026, 19:10 (UTC)
Created November 29, 2026, 19:10 (UTC)
Identifier hal-05596235
Language en
Rights https://creativecommons.org/licenses/by-nc-nd/4.0/
contributor University of South Carolina [Columbia]
creator Fu, Peng
date 2026-04-18T00:00:00
harvest_object_id c9d6ae5c-fc2d-430c-b0e7-3b3e91775b90
harvest_source_id 3374d638-d20b-4672-ba96-a23232d55657
harvest_source_title test moissonnage SELUNE
metadata_modified 2026-09-04T00:00:00
set_spec type:UNDEFINED