Verification and Evaluation of A Comprehensive Quantum Simulation Compiler
Bhuwan Joshi, Zoukarneini Difaizi Tagba, Zhi Xiang Chong, Liyi Li
Abstract
Hamiltonian simulation is a central application of quantum computing, yet most existing compilers offer no machine-checked guarantee that the circuits they produce approximate the intended evolution. The previous QBlue compiler verifies a Hamiltonian simulation compiler containing only Trotter-based algorithms. It takes a Hamiltonian written over Pauli strings, a simulation time, and an error bound, and produces a circuit or analog schedule that is proven, in the Rocq proof assistant, to approximate the ideal time evolution within that bound and proves a single end-to-end error bound that composes the errors of the individual stages; the compiler uses it to select, by resource estimation, the cheapest algorithm that meets the user's bound. This paper advances the verification efforts with two further steps. First, we extend QBlue to by verifying another important compilation method for Hamiltonian simulation: block-encoding-based (BE-based) algorithms. Second, we empirically evaluate 279 Hamiltonian simulation programs against the state-of-the-art BE-based compiler, PennyLane. For many programs, our compiler shows a gate reduction compared to PennyLane. Additionally, we also discover issues and bugs in PennyLane. We also compare Trotter- and BE-based algorithms, providing a practical comparison for the long-standing debate over which algorithms perform better. Our results surprisingly show that Trotter-based algorithms may gain a practical advantage, even though BE algorithms have a theoretical advantage.
Create a lesson
Related papers
Direct quantum simulation of compressible Navier-Stokes flow via finite homotopy linearisation
Shared title terminology · Ming-Yang Tan, Guo-Ping Guo, Zhao-Yun Chen
Unveiling the Action of Randomized Compiling on Quantum States: A Geometric Perspective
Shared title terminology · Kai Tang, Chao Zhan, Yao Song et al.
Optimised 8th-Order Trotter-Suzuki Schemes for Quantum Simulation
Shared title terminology · Marko Maležič, Johann Ostmeyer
Scheduling the quantum implementation of the Trotter decomposition for Hamiltonian simulation
Shared title terminology · Augustin Ho, Naoki Yamamoto
End-to-End Quantum Algorithm for Differential Equations: Application to Simulating a Biomolecular System
Shared title terminology · Mohsen Bagherimehrab, Daniyaal Farooqi, Gavin K. Brennen et al.
Ellis: Extremely Fast Quantum Circuit Simulation under Qubit Loss and Leakage
Shared title terminology · Yuewen Hou, Gokul Subramanian Ravi