QSSA: An SSA-based IR for Quantum Computing
Anurudh Peduri, Siddharth Bhat

TL;DR
QSSA introduces a static single assignment-based quantum IR that enables applying classical compiler optimizations and static analysis to quantum programs, improving verification and transformation capabilities.
Contribution
The paper presents QSSA, a novel SSA-based quantum IR that models quantum operations as side-effect-free, supporting static analysis and optimization techniques.
Findings
QSSA supports static verification of no-cloning theorem.
QSSA-based compiler achieves optimization performance comparable to IBM Qiskit.
QSSA enables classical compiler techniques to be applied to quantum programs.
Abstract
Quantum computing hardware has progressed rapidly. Simultaneously, there has been a proliferation of programming languages and program optimization tools for quantum computing. Existing quantum compilers use intermediate representations (IRs) where quantum programs are described as circuits. Such IRs fail to leverage existing work on compiler optimizations. In such IRs, it is non-trivial to statically check for physical constraints such as the no-cloning theorem, which states that qubits cannot be copied. We introduce QSSA, a novel quantum IR based on static single assignment (SSA) that enables decades of research in compiler optimizations to be applied to quantum compilation. QSSA models quantum operations as being side-effect-free. The inputs and outputs of the operation are in one-to-one correspondence; qubits cannot be created or destroyed. As a result, our IR supports a static…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
