曲速引擎般的量子计算机模拟:评估GPU加速的影响
Quantum Computer Simulations at Warp Speed: Assessing the Impact of GPU Acceleration
AI总结:
本研究评估了GPU和多GPU系统对量子模拟器Qiskit Aer的性能影响,发现Nvidia cuQuantum后端在A100 GPU上能提供显著加速,并指出主机与GPU间的数据移动是多GPU性能瓶颈。
摘要:
量子计算机模拟器对量子计算的发展至关重要。在本研究中,我们探讨了GPU和多GPU系统对广泛使用的模拟工具——状态向量模拟器Qiskit Aer的适用性及性能影响。具体而言,我们在Nvidia A100 GPU上评估了Qiskit默认的Nvidia Thrust后端和近期的Nvidia cuQuantum后端的性能。我们提供了一套具有代表性的量子应用基准套件用于特征刻画。对于具有大量量子比特的模拟,这两种GPU后端相较于CPU后端可提供高达14倍的加速,其中Nvidia cuQuantum相较于默认的Thrust后端还能提供1.5至3倍的进一步加速。我们在单GPU上的评估识别出了Nvidia Thrust和cuQuantum中针对不同量子应用的最重要函数,及其计算和内存瓶颈。我们还评估了不同量子应用上的门融合和缓存块优化。最后,我们在多GPU上评估了大量量子比特的量子应用,并发现主机与GPU之间的数据移动是性能的限制因素。
英文摘要:
Quantum computer simulators are crucial for the development of quantum computing. In this work, we investigate the suitability and performance impact of GPU and multi-GPU systems on a widely used simulation tool - the state vector simulator Qiskit Aer. In particular, we evaluate the performance of both Qiskit's default Nvidia Thrust backend and the recent Nvidia cuQuantum backend on Nvidia A100 GPUs. We provide a benchmark suite of representative quantum applications for characterization. For simulations with a large number of qubits, the two GPU backends can provide up to 14x speedup over the CPU backend, with Nvidia cuQuantum providing further 1.5-3x speedup over the default Thrust backend. Our evaluation on a single GPU identifies the most important functions in Nvidia Thrust and cuQuantum for different quantum applications and their compute and memory bottlenecks. We also evaluate the gate fusion and cache-blocking optimizations on different quantum applications. Finally, we evaluate large-number qubit quantum applications on multi-GPU and identify data movement between host and GPU as the limiting factor for the performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。