Q-Profile:应用于量子近似优化算法的量子控制栈性能分析工具
Q-Profile: Profiling Tool for Quantum Control Stacks applied to the Quantum Approximate Optimization Algorithm
AI总结:
本文提出 Q-Profile 工具,通过主机 CPU 与控制栈直接连接对量子控制栈进行精细性能分析,并在 QAOA 基准测试中识别出被动量子比特复位和通信开销等瓶颈,实现了 1.40 倍和 1.37 倍的加速。
摘要:
扩大量子比特数量并加快量子算法执行速度是迈向量子优势的重要步骤。这对控制栈提出了很高的要求,因为脉冲需要分配到越来越多的控制通道,并且变分算法要求量子计算与经典计算快速交替进行。因此,评估控制栈中的瓶颈是使其为达到量子优势做好准备的关键。然而,现有的基准测试套件由于对控制硬件的间接访问而缺乏细节。在这项工作中,我们提出了 Q-Profile,一种用于对量子控制栈进行性能分析的工具,它通过利用主机 CPU 到控制栈的直接连接来规避这些问题,从而在测量运行时间方面提供精细的精度,并能够识别性能瓶颈。我们通过在一个 Qblox Cluster 上针对一个虚拟的 4 到 14 量子比特 transmon 系统对量子近似优化算法(QAOA)进行基准测试,展示了我们工具的用途。我们的结果确定了被动量子比特复位和通信开销中的主要执行瓶颈。我们估计,通过使用主动量子比特复位代替被动复位,相对于总运行时间可获得 1.40 倍的加速,并通过控制模块的并行初始化进一步展示了 1.37 倍的加速。所提出的性能分析方法适用于其他控制栈提供商以及其他基准测试,同时仍能提供超出单一指标的详细信息。由此延伸,该工具将有助于识别并消除未来量子加速中的瓶颈。该性能分析工具已包含在开源的 Quantify 量子控制软件中,该软件支持多种后端。
英文摘要:
Scaling up the number of qubits and speeding up the execution of quantum algorithms are important steps towards reaching quantum advantage. This poses heavy demands particularly on the control stack, as pulses need to be distributed to an increasing number of control channels and variational algorithms require rapid interleaving of quantum and classical computation. Assessing the bottlenecks in the control stack is therefore key to making it ready for reaching quantum advantage. However, existing benchmark suites suffer from lack of detail due to indirect access to the control hardware. In this work, we present Q-Profile, a tool to profile quantum control stacks that circumvents these issues by utilizing a direct connection from the host CPU to the control stack, providing fine accuracy in measuring the runtime and allowing to identify performance bottlenecks. We demonstrate the use of our tool by benchmarking the Quantum Approximate Optimization Algorithm (QAOA) on a Qblox Cluster for a virtual 4 to 14-qubit transmon system. Our results identify the major execution bottlenecks in the passive qubit reset and communication overhead. We estimate a 1.40x~speedup with respect to the total runtime by using an active qubit reset, instead of passive reset, and demonstrate a further speedup of 1.37x by parallel initialization of the control modules. The presented method of profiling is applicable to other control-stack providers, as well as to other benchmarks, while still providing detailed information beyond a single metric. By extension, this tool will enable identifying and eliminating bottlenecks for future quantum acceleration. The profiling tool is included in the open-source Quantify quantum control software, which allows support for multiple back-ends.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。