Pith. sign in

REVIEW

Sized Types for low-level Quantum Metaprogramming

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1908.02644 v1 pith:QMAUX2WD submitted 2019-08-07 quant-ph cs.PL

classification quant-phcs.PL
keywords circuitfamiliesmetaprogrammingquantumcircuitslanguagemetaqasmparticular
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original 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.

Discussion (0). Sign in to comment.

Pith tools