使用硬件加速通用库的快速量子线路模拟
Fast quantum circuit simulation using hardware accelerated general purpose libraries
摘要:
量子线路模拟器具有利用大规模硬件并行性的悠久传统。在大多数情况下,并行性由专门为量子线路定制的专用库支持。量子线路模拟器是量子软件栈的组成部分,这些软件栈主要用Python编写。我们的重点一直是Python生态系统中的易用性、实现和可维护性。我们报告了我们通过使用CuPy(一种专门为基于CUDA的GPU开发的通用库(线性代数))来模拟量子线路所获得的性能增益。与最先进的基于C++的模拟器相比,对于至高无上的电路,加速比约为2倍,对于量子乘法器,加速比约为22倍。
英文摘要:
Quantum circuit simulators have a long tradition of exploiting massive hardware parallelism. Most of the times, parallelism has been supported by special purpose libraries tailored specifically for the quantum circuits. Quantum circuit simulators are integral part of quantum software stacks, which are mostly written in Python. Our focus has been on ease of use, implementation and maintainability within the Python ecosystem. We report the performance gains we obtained by using CuPy, a general purpose library (linear algebra) developed specifically for CUDA-based GPUs, to simulate quantum circuits. For supremacy circuits the speedup is around 2x, and for quantum multipliers almost 22x compared to state-of-the-art C++-based simulators.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。