ACM Transactions on Quantum Computing · 2022 · 23 citations · 21 references
ComputingComputer EngineeringComputer ScienceOptimizationProgramming LanguagesQuantum ComputingQuantum CircuitsQuantum CompilationQuantum ComputationQuantum Programming LanguagesDataflow GraphsIntermediate Representation DesignInterprocedural Dataflow AnalysisProgram OptimizationQuantum Intermediate RepresentationsQuantum Programming AbstractionsQuantum State RepresentationStatic Single Assignment Form
We propose an IR for quantum computing that directly exposes quantum and classical data dependencies for the purpose of optimization. The Quantum Intermediate Representation for Optimization (QIRO) consists of two dialects, one input dialect and one that is specifically tailored to enable quantum-classical co-optimization. While the first employs a perhaps more intuitive memory-semantics (quantum operations act on qubits via side-effects), the latter uses value-semantics (operations consume and produce states) to integrate quantum dataflow in the IR’s Static Single Assignment (SSA) graph. Crucially, this allows for a host of optimizations that leverage dataflow analysis. We discuss how to map existing quantum programming languages to the input dialect and how to lower the resulting IR to the optimization dialect. We present a prototype implementation based on MLIR that includes several quantum-specific optimization passes. Our benchmarks show that significant improvements in resource requirements are possible even through static optimization. In contrast to circuit optimization at run time, this is achieved while incurring only a small constant overhead in compilation time, making this a compelling approach for quantum program optimization at application scale.
21
Quantum Computing in the NISQ era and beyond
John Preskill · Quantum · 2018 · 8.2K citations · Full text
Computing, Computer Science, Physics +17
Elucidating reaction mechanisms on quantum computers
Markus Reiher, Nathan Wiebe, Krysta M. Svore et al. · Proceedings of the National Academy of Sciences · 2017 · 775 citations · Full text
MLIR: Scaling Compiler Infrastructure for Domain Specific Computation
Chris Lattner, Mehdi Amini, Uday Bondhugula et al. · 2021 · 502 citations