2QAN: a quantum compiler for 2-local qubit hamiltonian simulation algorithms
Lingling Lao, Dan E. Browne
Abstract
Simulating quantum systems is one of the most important potential applications of quantum computers. The high-level circuit defining the simulation needs to be compiled into one that complies with hardware limitations such as qubit architecture (connectivity) and instruction (gate) set. Generalpurpose quantum compilers work at the gate level and have little knowledge of the mathematical properties of quantum applications, missing further optimization opportunities. Existing application-specific compilers only apply advanced optimizations in the scheduling procedure and are restricted to the CNOT or CZ gate set. In this work, we develop a compiler, named 2QAN, to optimize quantum circuits for 2-local qubit Hamiltonian simulation problems, a framework which includes the important quantum approximate optimization algorithm (QAOA). In particular, we exploit the flexibility of permuting different operators in the Hamiltonian (no matter whether they commute) and propose permutation-aware techniques for qubit routing, gate optimization and scheduling to minimize compilation overhead. 2QAN can target different qubit topologies and different hardware gate sets. Compilation results on four applications (up to 50 qubits) and three quantum computers (namely, Google Sycamore, IBMQ Montreal and Rigetti Aspen) show that 2QAN outperforms state-of-the-art general-purpose compilers and applicationspecific compilers. Specifically, 2QAN can reduce the number of inserted SWAP gates by 11.5X, reduce overhead in hardware gate count by 68.5X, and reduce overhead in circuit depth by 21X. Experimental results on the Montreal device demonstrate that benchmarks compiled by 2QAN achieve the highest fidelity.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext af538709-ddc6-4ec6-a00e-806cea04819aCited by top-tier papers16
- Paulihedral: a generalized block-wise compiler optimization framework for Quantum simulation kernelsGushu Li, Anbang Wu, Yunong Shi, Ali Javadi-Abhari et al.ASPLOS 2022 · 60 citations
- CaQR: A Compiler-Assisted Approach for Qubit Reuse through Dynamic CircuitFei Hua, Yuwei Jin, Yan-Hao Chen, Suhas Vittal et al.ASPLOS 2023 · 27 citations
- Atomique: A Quantum Compiler for Reconfigurable Neutral Atom ArraysHanrui Wang, Pengyu Liu, Daniel Bochen Tan, Yilian Liu et al.ISCA 2024 · 26 citations
- FrozenQubits: Boosting Fidelity of QAOA by Skipping Hotspot NodesRamin Ayanzadeh, Narges Alavisamani, Poulami Das, Moinuddin K. QureshiASPLOS 2023 · 16 citations
- Q-Pilot: Field Programmable Qubit Array Compilation with Flying AncillasHanrui Wang, Daniel Bochen Tan, Pengyu Liu, Yilian Liu et al.DAC 2024 · 15 citations
Builds on7
- Software Mitigation of Crosstalk on Noisy Intermediate-Scale Quantum ComputersPrakash Murali, David C. McKay, Margaret Martonosi, Ali Javadi-AbhariASPLOS 2020 · 253 citations
- Circuit Compilation Methodologies for Quantum Approximate Optimization AlgorithmMahabubul Alam, Abdullah Ash-Saki, Swaroop GhoshMICRO 2020 · 65 citations
- Paulihedral: a generalized block-wise compiler optimization framework for Quantum simulation kernelsGushu Li, Anbang Wu, Yunong Shi, Ali Javadi-Abhari et al.ASPLOS 2022 · 60 citations
- An Efficient Circuit Compilation Flow for Quantum Approximate Optimization AlgorithmMahabubul Alam, Abdullah Ash-Saki, Swaroop GhoshDAC 2020 · 37 citations
- SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective UncomputationYongshan Ding, Xin-Chuan Wu, Adam Holmes, Ash Wiseth et al.ISCA 2020 · 33 citations
Related papers
- Not All SWAPs Have the Same Cost: A Case for Optimization-Aware Qubit RoutingJi Liu, Peiyi Li, Huiyang ZhouHPCA 2022 · 30 citations
- Qubit Routing Using Graph Neural Network Aided Monte Carlo Tree SearchAnimesh Sinha, Utkarsh Azad, Harjinder SinghAAAI 2022 · 31 citations
- QuCLEAR: Clifford Extraction and Absorption for Quantum Circuit OptimizationJi Liu, Alvin Gonzales, Benchen Huang, Zain Hamid Saleem et al.HPCA 2025 · 3 citations
- Exploiting the Regular Structure of Modern Quantum Architectures for Compiling and Optimizing Programs with Permutable OperatorsYuwei Jin, Fei Hua, Yan-Hao Chen, Ari B. Hayes et al.ASPLOS 2023 · 5 citations
- Unifying Qubit Routing Across Diverse Quantum ISAs via Canonical RepresentationZhaohui Yang, Kai Zhang, Xinyang Tian, Xiangyu Ren et al.ISCA 2026 · 1 citation
