arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.03818quant-phcond-mat.quant-gas
收藏

在CPU、GPU和TPU上对量子红TEA进行基准测试

Benchmarking Quantum Red TEA on CPUs, GPUs, and TPUs

Institute for Complex Quantum Systems, Ulm University(乌尔姆大学复杂量子系统研究所);Dipartimento di Fisica e Astronomia "G. Galilei" & Padua Quantum Technologies Research Center, Università degli Studi di Padova(帕多瓦大学伽利略物理与天文系及帕多瓦量子技术中心);INFN, Sezione di Padova(意大利国家核物理研究所帕多瓦分部)

Daniel Jaschke, Marco Ballarin, Nora Reinić, Luka Pavešić, Simone Montangero

AI总结:

本文比较了不同线性代数后端在异构硬件上的量子多体系统模拟,展示了量子红TEA在处理不同库和硬件张量方面的优势,通过张量网络方法求解变分搜索基态问题,实现34倍的加速。

摘要:

我们使用CPU、GPU和TPU对多体量子系统进行基准测试,比较了NumPy与PyTorch、JAX或TensorFlow等线性代数后端,以及混合精度启发式方法和针对目标硬件的优化。量子红TEA特别针对处理不同库或硬件的张量,这些张量是张量网络算法的基本构建块。基准问题是在相互作用模型中寻找基态的变分搜索。这是量子多体物理中的普遍问题,我们使用张量网络方法解决。这种近似最先进的方法压缩量子相关性,这是克服粒子数目的函数的希尔伯特空间指数增长的关键。我们展示了一种在CPU上调整参数时获得34倍加速的方法,并在迁移到GPU时在最佳CPU设置基础上再获得2.76倍的加速。

英文摘要:

We benchmark simulations of many-body quantum systems on heterogeneous hardware platforms using CPUs, GPUs, and TPUs. We compare different linear algebra backends, e.g., NumPy versus the PyTorch, JAX, or TensorFlow libraries, as well as a mixed-precision-inspired approach and optimizations for the target hardware. Quantum Red TEA out of the Quantum TEA library specifically addresses handling tensors with different libraries or hardware, where the tensors are the building blocks of tensor network algorithms. The benchmark problem is a variational search of a ground state in an interacting model. This is a ubiquitous problem in quantum many-body physics, which we solve using tensor network methods. This approximate state-of-the-art method compresses quantum correlations which is key to overcoming the exponential growth of the Hilbert space as a function of the number of particles. We present a way to obtain speedups of a factor of 34 when tuning parameters on the CPU, and an additional factor of 2.76 on top of the best CPU setup when migrating to GPUs.

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

↑