论文标题
量子电路优化和通过参数化电路实例化
Quantum Circuit Optimization and Transpilation via Parameterized Circuit Instantiation
论文作者
论文摘要
参数化电路的实例化是在大型混合量子古典算法的电路中遇到的一种常见技术。尽管受到IBM Qiskit和Google CIRQ等流行的量子汇编基础架构的支持,但在电路编译和优化管道的背景下,尚未广泛考虑实例化。在这项工作中,我们描述了在两个常见的汇编步骤中应用实例化的算法:电路优化和栅极式转移。当放置在编译工作流程中时,我们的电路优化算法会比其他优化编译器产生的电路平均少13%。我们的栅极转卸算法可以瞄准任何栅极集,甚至可以用多个两倍的门设置,并产生比其他编译器平均少12%的电路。总体而言,我们展示了如何将实例化纳入编译器工作流程中,以提高电路质量并提高便携性,同时保持相当低的编译时间开销。
Parameterized circuit instantiation is a common technique encountered in the generation of circuits for a large class of hybrid quantum-classical algorithms. Despite being supported by popular quantum compilation infrastructures such as IBM Qiskit and Google Cirq, instantiation has not been extensively considered in the context of circuit compilation and optimization pipelines. In this work, we describe algorithms to apply instantiation during two common compilation steps: circuit optimization and gate-set transpilation. When placed in a compilation workflow, our circuit optimization algorithm produces circuits with an average of 13% fewer gates than other optimizing compilers. Our gate-set transpilation algorithm can target any gate-set, even sets with multiple two-qubit gates, and produces circuits with an average of 12% fewer two-qubit gates than other compilers. Overall, we show how instantiation can be incorporated into a compiler workflow to improve circuit quality and enhance portability, all while maintaining a reasonably low compile time overhead.