Show simple item record

dc.contributor.authorHeunen, Chris
dc.contributor.authorLemonnier, Louis
dc.contributor.authorMcNally, Christopher
dc.contributor.authorRice, Alex
dc.date.accessioned2026-02-02T19:05:44Z
dc.date.available2026-02-02T19:05:44Z
dc.date.issued2026-01-08
dc.identifier.issn2475-1421
dc.identifier.urihttps://hdl.handle.net/1721.1/164694
dc.description.abstractQuantum programs today are written at a low level of abstraction---quantum circuits akin to assembly languages - and the unitary parts of even advanced quantum programming languages essentially function as circuit description languages. This state of affairs impedes scalability, clarity, and support for higher-level reasoning. More abstract and expressive quantum programming constructs are needed. To this end, we introduce a simple syntax for generating unitaries from "just a phase"; we combine a (global) phase operation that captures phase shifts with a quantum analogue of the "if let" construct that captures subspace selection via pattern matching. This minimal language lifts the focus from gates to eigendecomposition, conjugation, and controlled unitaries; common building blocks in quantum algorithm design. We demonstrate several aspects of the expressive power of our language in several ways. Firstly, we establish that our representation is universal by deriving a universal quantum gate set. Secondly, we show that important quantum algorithms can be expressed naturally and concisely, including Grover's search algorithm, Hamiltonian simulation, Quantum Fourier Transform, Quantum Signal Processing, and the Quantum Eigenvalue Transformation. Furthermore, we give clean denotational semantics grounded in categorical quantum mechanics. Finally, we implement a prototype compiler that efficiently translates terms of our language to quantum circuits, and prove that it is sound with respect to these semantics. Collectively, these contributions show that this construct offers a principled and practical step toward more abstract and structured quantum programming.en_US
dc.publisherACMen_US
dc.relation.isversionofhttps://doi.org/10.1145/3776731en_US
dc.rightsCreative Commons Attributionen_US
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/en_US
dc.sourceAssociation for Computing Machineryen_US
dc.titleQuantum Circuits Are Just a Phaseen_US
dc.typeArticleen_US
dc.identifier.citationChris Heunen, Louis Lemonnier, Christopher McNally, and Alex Rice. 2026. Quantum Circuits Are Just a Phase. Proc. ACM Program. Lang. 10, POPL, Article 89 (January 2026), 28 pages.en_US
dc.contributor.departmentMassachusetts Institute of Technology. Department of Electrical Engineering and Computer Scienceen_US
dc.relation.journalProceedings of the ACM on Programming Languagesen_US
dc.identifier.mitlicensePUBLISHER_CC
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/JournalArticleen_US
eprint.statushttp://purl.org/eprint/status/PeerRevieweden_US
dc.date.updated2026-02-01T08:47:17Z
dc.language.rfc3066en
dc.rights.holderThe author(s)
dspace.date.submission2026-02-01T08:47:17Z
mit.journal.volume10en_US
mit.journal.issuePOPLen_US
mit.licensePUBLISHER_CC
mit.metadata.statusAuthority Work and Publication Information Neededen_US


Files in this item

Thumbnail
Thumbnail

This item appears in the following Collection(s)

Show simple item record