Sized Types for Low-Level Quantum Metaprogramming. Amy, M. In Thomsen, M. K. & Soeken, M., editors, Reversible Computation (RC '19), volume 11497, of Lecture Notes in Computer Science, pages 87–107, Cham, May, 2019. Springer International Publishing. doi abstract bibtex One of the most fundamental aspects of quantum circuit design is the concept of families of circuits parametrized by an instance size. As in classical programming, metaprogramming allows the programmer to write entire families of circuits simultaneously, an ability which is of particular importance in the context of quantum computing as algorithms frequently use arithmetic over non-standard word lengths. In this work, we introduce metaQASM, a typed extension of the openQASM language supporting the metaprogramming of circuit families. Our language and type system, built around a lightweight implementation of sized types, supports subtyping over register sizes and is moreover type-safe. In particular, we prove that our system is strongly normalizing, and as such any well-typed metaQASM program can be statically unrolled into a finite circuit.
@inproceedings{Amy2019b,
title = {Sized {{Types}} for {{Low}}-{{Level Quantum Metaprogramming}}},
author = {Amy, Matthew},
year = {2019},
month = may,
booktitle = {Reversible Computation (RC '19)},
editor = {Thomsen, Michael Kirkedal and Soeken, Mathias},
publisher = sprintl,
address = {{Cham}},
series = {Lecture Notes in Computer Science},
volume = {11497},
pages = {87--107},
doi = {10.1007/978-3-030-21500-2_6},
archiveprefix = {arXiv},
eprint = {1908.02644},
abstract = {One of the most fundamental aspects of quantum circuit design is the concept of families of circuits parametrized by an instance size. As in classical programming, metaprogramming allows the programmer to write entire families of circuits simultaneously, an ability which is of particular importance in the context of quantum computing as algorithms frequently use arithmetic over non-standard word lengths. In this work, we introduce metaQASM, a typed extension of the openQASM language supporting the metaprogramming of circuit families. Our language and type system, built around a lightweight implementation of sized types, supports subtyping over register sizes and is moreover type-safe. In particular, we prove that our system is strongly normalizing, and as such any well-typed metaQASM program can be statically unrolled into a finite circuit.},
keywords = {quantum programming, circuit description languages, metaprogramming, openqasm, qasm},
bibsource = qplbib
}
Downloads: 0
{"_id":"dX654Lj2t5RxtsXhi","bibbaseid":"amy-sizedtypesforlowlevelquantummetaprogramming-2019","authorIDs":[],"author_short":["Amy, M."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Sized Types for Low-Level Quantum Metaprogramming","author":[{"propositions":[],"lastnames":["Amy"],"firstnames":["Matthew"],"suffixes":[]}],"year":"2019","month":"May","booktitle":"Reversible Computation (RC '19)","editor":[{"propositions":[],"lastnames":["Thomsen"],"firstnames":["Michael","Kirkedal"],"suffixes":[]},{"propositions":[],"lastnames":["Soeken"],"firstnames":["Mathias"],"suffixes":[]}],"publisher":"Springer International Publishing","address":"Cham","series":"Lecture Notes in Computer Science","volume":"11497","pages":"87–107","doi":"10.1007/978-3-030-21500-2_6","archiveprefix":"arXiv","eprint":"1908.02644","abstract":"One of the most fundamental aspects of quantum circuit design is the concept of families of circuits parametrized by an instance size. As in classical programming, metaprogramming allows the programmer to write entire families of circuits simultaneously, an ability which is of particular importance in the context of quantum computing as algorithms frequently use arithmetic over non-standard word lengths. In this work, we introduce metaQASM, a typed extension of the openQASM language supporting the metaprogramming of circuit families. Our language and type system, built around a lightweight implementation of sized types, supports subtyping over register sizes and is moreover type-safe. In particular, we prove that our system is strongly normalizing, and as such any well-typed metaQASM program can be statically unrolled into a finite circuit.","keywords":"quantum programming, circuit description languages, metaprogramming, openqasm, qasm","bibsource":"Quantum Programming Languages & Verification Bibliography, https://git.io/qpl-bib","bibtex":"@inproceedings{Amy2019b,\n title = {Sized {{Types}} for {{Low}}-{{Level Quantum Metaprogramming}}},\n author = {Amy, Matthew},\n year = {2019},\n month = may,\n booktitle = {Reversible Computation (RC '19)},\n editor = {Thomsen, Michael Kirkedal and Soeken, Mathias},\n publisher = sprintl,\n address = {{Cham}},\n series = {Lecture Notes in Computer Science},\n volume = {11497},\n pages = {87--107},\n doi = {10.1007/978-3-030-21500-2_6},\n archiveprefix = {arXiv},\n eprint = {1908.02644},\n abstract = {One of the most fundamental aspects of quantum circuit design is the concept of families of circuits parametrized by an instance size. As in classical programming, metaprogramming allows the programmer to write entire families of circuits simultaneously, an ability which is of particular importance in the context of quantum computing as algorithms frequently use arithmetic over non-standard word lengths. In this work, we introduce metaQASM, a typed extension of the openQASM language supporting the metaprogramming of circuit families. Our language and type system, built around a lightweight implementation of sized types, supports subtyping over register sizes and is moreover type-safe. In particular, we prove that our system is strongly normalizing, and as such any well-typed metaQASM program can be statically unrolled into a finite circuit.},\n keywords = {quantum programming, circuit description languages, metaprogramming, openqasm, qasm},\n bibsource = qplbib\n}\n\n","author_short":["Amy, M."],"editor_short":["Thomsen, M. K.","Soeken, M."],"key":"Amy2019b","id":"Amy2019b","bibbaseid":"amy-sizedtypesforlowlevelquantummetaprogramming-2019","role":"author","urls":{},"keyword":["quantum programming","circuit description languages","metaprogramming","openqasm","qasm"],"metadata":{"authorlinks":{}},"downloads":0},"bibtype":"inproceedings","biburl":"https://raw.githubusercontent.com/QuantumPL/bib/main/bbt.bib","creationDate":"2020-05-31T17:07:22.711Z","downloads":0,"keywords":["quantum programming","circuit description languages","metaprogramming","openqasm","qasm"],"search_terms":["sized","types","low","level","quantum","metaprogramming","amy"],"title":"Sized Types for Low-Level Quantum Metaprogramming","year":2019,"dataSources":["Z5Dp3qAJiMzxtvKMq","JG9W34HAXfSxsC6ML"]}