Paulihedral: a generalized block-wise compiler optimization framework for Quantum simulation kernels
Paulihedral: a generalized block-wise compiler optimization framework for Quantum simulation kernels
复制标题
DOI:
10.1145/3503222.3507715
复制
发表时间:
2021-09
期刊:
影响因子:
--
通讯作者:
Gushu Li;Anbang Wu;Yunong Shi;Ali Javadi-Abhari;Yufei Ding;Yuan Xie
中科院分区:
文献类型:
--
作者:
Gushu Li;Anbang Wu;Yunong Shi;Ali Javadi-Abhari;Yufei Ding;Yuan Xie
The quantum simulation kernel is an important subroutine appearing as a very long gate sequence in many quantum programs. In this paper, we propose Paulihedral, a block-wise compiler framework that can deeply optimize this subroutine by exploiting high-level program structure and optimization opportunities. Paulihedral first employs a new Pauli intermediate representation that can maintain the high-level semantics and constraints in quantum simulation kernels. This naturally enables new large-scale optimizations that are hard to implement at the low gate-level. In particular, we propose two technology-independent instruction scheduling passes, and two technology-dependent code optimization passes which reconcile the circuit synthesis, gate cancellation, and qubit mapping stages of the compiler. Experimental results show that Paulihedral can outperform state-of-the-art compiler infrastructures in a wide-range of applications on both near-term superconducting quantum processors and future fault-tolerant quantum computers.