Flexible Type-Based Resource Estimation in Quantum Circuit Description Languages. Colledan, A. & Dal Lago, U. Proceedings of the ACM on Programming Languages, 9(POPL):47, Association for Computing Machinery, New York, NY, USA, January, 2025. doi abstract bibtex We introduce a type system for the Quipper language designed to derive upper bounds on the size of the circuits produced by the typed program. This size can be measured according to various metrics, including width, depth and gate count, but also variations thereof obtained by considering only some wire types or some gate kinds. The key ingredients for achieving this level of flexibility are effects and refinement types, both relying on indices, that is, generic arithmetic expressions whose operators are interpreted differently depending on the target metric. The approach is shown to be correct through logical predicates, under reasonable assumptions about the chosen resource metric. This approach is empirically evaluated through the QuRA tool, showing that, in many cases, inferring tight bounds is possible in a fully automatic way.
@article{Colledan2025,
author = {Colledan, Andrea and Dal Lago, Ugo},
title = {Flexible Type-Based Resource Estimation in Quantum Circuit Description Languages},
year = {2025},
publisher = acm,
address = {New York, NY, USA},
volume = {9},
number = {POPL},
doi = {10.1145/3704883},
abstract = {We introduce a type system for the Quipper language designed to derive upper bounds on the size of the circuits produced by the typed program. This size can be measured according to various metrics, including width, depth and gate count, but also variations thereof obtained by considering only some wire types or some gate kinds. The key ingredients for achieving this level of flexibility are effects and refinement types, both relying on indices, that is, generic arithmetic expressions whose operators are interpreted differently depending on the target metric. The approach is shown to be correct through logical predicates, under reasonable assumptions about the chosen resource metric. This approach is empirically evaluated through the QuRA tool, showing that, in many cases, inferring tight bounds is possible in a fully automatic way.},
journal = pacmpl,
month = jan,
eid = {47},
pages = {47},
numpages = {31},
keywords = {Effects, Lambda Calculus, Quantum Computing, Quipper, Refinement Types},
webnote = {POPL '25},
bibsource = qplbib
}
Downloads: 0
{"_id":"GXSmDHLihmSgPTesW","bibbaseid":"colledan-dallago-flexibletypebasedresourceestimationinquantumcircuitdescriptionlanguages-2025","author_short":["Colledan, A.","Dal Lago, U."],"bibdata":{"bibtype":"article","type":"article","author":[{"propositions":[],"lastnames":["Colledan"],"firstnames":["Andrea"],"suffixes":[]},{"propositions":[],"lastnames":["Dal","Lago"],"firstnames":["Ugo"],"suffixes":[]}],"title":"Flexible Type-Based Resource Estimation in Quantum Circuit Description Languages","year":"2025","publisher":"Association for Computing Machinery","address":"New York, NY, USA","volume":"9","number":"POPL","doi":"10.1145/3704883","abstract":"We introduce a type system for the Quipper language designed to derive upper bounds on the size of the circuits produced by the typed program. This size can be measured according to various metrics, including width, depth and gate count, but also variations thereof obtained by considering only some wire types or some gate kinds. The key ingredients for achieving this level of flexibility are effects and refinement types, both relying on indices, that is, generic arithmetic expressions whose operators are interpreted differently depending on the target metric. The approach is shown to be correct through logical predicates, under reasonable assumptions about the chosen resource metric. This approach is empirically evaluated through the QuRA tool, showing that, in many cases, inferring tight bounds is possible in a fully automatic way.","journal":"Proceedings of the ACM on Programming Languages","month":"January","eid":"47","pages":"47","numpages":"31","keywords":"Effects, Lambda Calculus, Quantum Computing, Quipper, Refinement Types","webnote":"POPL '25","bibsource":"Quantum Programming Languages & Verification Bibliography, https://git.io/qpl-bib","bibtex":"@article{Colledan2025,\n author = {Colledan, Andrea and Dal Lago, Ugo},\n title = {Flexible Type-Based Resource Estimation in Quantum Circuit Description Languages},\n year = {2025},\n publisher = acm,\n address = {New York, NY, USA},\n volume = {9},\n number = {POPL},\n doi = {10.1145/3704883},\n abstract = {We introduce a type system for the Quipper language designed to derive upper bounds on the size of the circuits produced by the typed program. This size can be measured according to various metrics, including width, depth and gate count, but also variations thereof obtained by considering only some wire types or some gate kinds. The key ingredients for achieving this level of flexibility are effects and refinement types, both relying on indices, that is, generic arithmetic expressions whose operators are interpreted differently depending on the target metric. The approach is shown to be correct through logical predicates, under reasonable assumptions about the chosen resource metric. This approach is empirically evaluated through the QuRA tool, showing that, in many cases, inferring tight bounds is possible in a fully automatic way.},\n journal = pacmpl,\n month = jan,\n eid = {47},\n pages = {47},\n numpages = {31},\n keywords = {Effects, Lambda Calculus, Quantum Computing, Quipper, Refinement Types},\n webnote = {POPL '25},\n bibsource = qplbib\n}\n\n","author_short":["Colledan, A.","Dal Lago, U."],"key":"Colledan2025","id":"Colledan2025","bibbaseid":"colledan-dallago-flexibletypebasedresourceestimationinquantumcircuitdescriptionlanguages-2025","role":"author","urls":{},"keyword":["Effects","Lambda Calculus","Quantum Computing","Quipper","Refinement Types"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://raw.githubusercontent.com/QuantumPL/bib/main/bbt.bib","dataSources":["JG9W34HAXfSxsC6ML"],"keywords":["effects","lambda calculus","quantum computing","quipper","refinement types"],"search_terms":["flexible","type","based","resource","estimation","quantum","circuit","description","languages","colledan","dal lago"],"title":"Flexible Type-Based Resource Estimation in Quantum Circuit Description Languages","year":2025}