Greedy Algorithm Based Circuit Optimization for Near-Term Quantum Simulation

Yi Hu,Fanxu Meng,Xiaojun Wang,Tian Luan,Yulong Fu,Zaichen Zhang,Xianchao Zhang,Xutao Yu
DOI: https://doi.org/10.1088/2058-9565/ac796b
IF: 6.568
2022-01-01
Quantum Science and Technology
Abstract:Simulating quantum systems is believed to be one of the most important applications of quantum computers. On noisy intermediate-scale quantum (NISQ) devices, the high-level circuit designed by quantum algorithms for Hamiltonian simulation needs to consider hardware limitations such as gate errors and circuit depth before it can be efficiently executed. In this work, we develop a hardware-agnostic circuit optimization algorithm to reduce the overall circuit cost for Hamiltonian simulation problems. Our method employ a novel sub-circuit synthesis in intermediate representation and propose a greedy ordering scheme for gate cancellation to minimize the gate count and circuit depth. To quantify the benefits of this approach, we benchmark proposed algorithm on different Hamiltonian models. Compared with state-of-the-art generic quantum compilers and specific quantum simulation compiler, the benchmarking results of our algorithm show an average reduction in circuit depth by 16.5x (up to 64.1x) and in gate count by 7.8x (up to 23.7x). This significant improvement helps enhance the performance of Hamiltonian simulation in the NISQ era.
What problem does this paper attempt to address?