arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.14025quant-phcs.SE
收藏

Arline Benchmarks:面向量子计算器的自动化基准测试平台

Arline Benchmarks: Automated Benchmarking Platform for Quantum Compilers

Y. Kharkov, A. Ivanova, E. Mikhantiev, A. Kotelnikov

摘要:

量子算法的有效编译在噪声中等规模量子(NISQ)设备时代至关重要。虽然有多种开源量子编译和电路优化框架可用,例如IBM Qiskit,CQC Tket,Google Cirq,Rigetti Quilc,PyZX,但量子程序员并不总是清楚它们的相对性能。量子线路编译算法的复杂性和多样性的增长产生了对用于量子编译栈的内部工作流的交叉基准测试和剖析的专用工具的需求。我们提出了一个开源软件包Arline Benchmarks,旨在执行量子编译器的自动基准测试,重点是NISQ应用程序。“Arline”这个名字是为了纪念量子计算的先驱理查德·费曼的第一任妻子Arline Greenbaum Feynman。我们比较了几个量子编译框架的基础上的一组重要的指标,如优化后的门数,电路深度,硬件依赖的电路成本函数,编译器运行时间等,与每个编译阶段的指标的详细分析。我们对几种流行的量子硬件架构的随机电路和结构化量子算法(VQE,Trotter分解,Grover搜索,通过幅度估计的期权定价)进行了各种编译器测试。利用Arline的跨平台功能,我们提出了一个复合编译流水线的概念,它将编译器特定的电路优化子程序组合在一个编译堆栈中,并找到一个优化的编译通道序列。通过提供对量子编译器编译流程的详细见解,Arline Benchmarks为量子计算研究人员和软件开发人员提供了一个有价值的工具包,以获得对编译器特征的更多见解。

英文摘要:

Efficient compilation of quantum algorithms is vital in the era of Noisy Intermediate-Scale Quantum (NISQ) devices. While multiple open-source quantum compilation and circuit optimization frameworks are available, e.g. IBM Qiskit, CQC Tket, Google Cirq, Rigetti Quilc, PyZX, their relative performance is not always clear to a quantum programmer. The growth of complexity and diversity of quantum circuit compilation algorithms creates a demand for a dedicated tool for cross-benchmarking and profiling of inner workflow of the quantum compilation stack. We present an open-source software package, Arline Benchmarks, that is designed to perform automated benchmarking of quantum compilers with the focus on NISQ applications. The name "Arline" was given in honour of Arline Greenbaum Feynman, the first wife of Richard Feynman, the pioneer of quantum computing. We compared several quantum compilation frameworks based on a set of important metrics such as post-optimization gate counts, circuit depth, hardware-dependent circuit cost function, compiler run time etc. with a detailed analysis of metrics for each compilation stage. We performed a variety of compiler tests for random circuits and structured quantum algorithms (VQE, Trotter decomposition, Grover search, Option Pricing via Amplitude Estimation) for several popular quantum hardware architectures. Leveraging cross-platform functionality of Arline, we propose a concept of composite compilation pipeline that combines compiler-specific circuit optimization subroutines in a single compilation stack and finds an optimized sequence of compilation passes. By providing detailed insights into the compilation flow of quantum compilers, Arline Benchmarks offers a valuable toolkit for quantum computing researchers and software developers to gain additional insights into compilers' characteristics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑