arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.00668quant-ph
收藏

PIMutation:探索PIM架构在量子电路仿真中的潜力

PIMutation: Exploring the Potential of PIM Architecture for Quantum Circuit Simulation

Dongin Lee, Enhyeok Jang, Seungwoo Choi, Junwoong An, Cheolhwan Kim, Won Woo Ro

AI总结:

针对量子电路仿真内存需求大且数据访问局部性低的问题,提出基于UPMEM PIM架构的PIMutation框架,通过门合并、行交换和向量分区优化,在16和32量子比特基准上实现最高16.51倍加速并大幅降低能耗。

摘要:

量子电路仿真对于在真实量子设备上验证量子算法至关重要。然而,此类仿真的内存需求随量子程序中量子比特数量的增加呈指数级增长。此外,量子电路仿真中的大量计算会导致低局部性数据访问,因为它们需要在全状态向量的整个表上进行广泛的计算。这些特性导致CPU与主内存之间的数据传输产生显著的延迟和能耗开销。处理内存(Processing-in-Memory, PIM)技术将计算逻辑集成在DRAM存储体附近,可能为应对这些挑战提供一种有前景的解决方案。在本文中,我们提出了PIMutation(用于量子电路仿真的PIM框架),以实现快速且节能的量子电路仿真。PIMutation是首次尝试利用公开可用的PIM集成DIMM——UPMEM,来实现量子电路仿真。PIMutation结合了三种优化策略,以克服使用真实PIM系统进行量子电路仿真的开销:(i)门合并,(ii)行交换,以及(iii)向量分区。我们的评估表明,在16和32量子比特基准测试中,与CPU上的QuEST模拟器相比,PIMutation分别实现了2.99倍和16.51倍的平均加速,并减少了25.23%和75.29%的能耗。

英文摘要:

Quantum circuit simulations are essential for the verification of quantum algorithms on behalf of real quantum devices. However, the memory requirements for such simulations grow exponentially with the number of qubits involved in quantum programs. Moreover, a substantial number of computations in quantum circuit simulations cause low locality data accesses, as they require extensive computations across the entire table of the full state vector. These characteristics lead to significant latency and energy overheads during data transfers between the CPU and main memory. Processing-in-Memory (PIM), which integrates computational logic near DRAM banks, could present a promising solution to address these challenges. In this paper, we introduce PIMutation (PIM framework for qUanTum circuit simulATION) for achieving fast and energy-efficient quantum circuit simulation. PIMutation is the first attempt to leverage UPMEM, a publicly available PIM-integrated DIMM, to implement quantum circuit simulations. PIMutation incorporates three optimization strategies to overcome the overhead of quantum circuit simulation using the real PIM system: (i) gate merging, (ii) row swapping, and (iii) vector partitioning. Our evaluations show that PIMutation achieves an average speedup of 2.99x and 16.51x with a reduction of energy of 25.23% and 75.29% over the QuEST simulator on CPU in 16- and 32-qubit benchmarks, respectively.

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

↑