arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26261cond-mat.str-el
收藏

自旋哈密顿量的GPU加速有限温度Lanczos方法

GPU-accelerated finite-temperature Lanczos method for spin Hamiltonians

Technische Universität Dresden(德累斯顿工业大学);Center for Advanced Systems Understanding (CASUS)(高级系统理解中心)

Shadan Ghassemi Tabrizi, Thomas D. Kühne

AI总结:

提出一种针对工作站GPU的有限温度Lanczos方法实现,通过矩阵自由的行收集公式和两种状态到索引策略加速,FP32精度在典型样本量下误差远低于随机不确定性,速度比优化多核CPU快一个数量级,支持约10^8维希尔伯特空间。

摘要:

我们提出了一种针对海森堡自旋哈密顿量的有限温度Lanczos方法(FTLM)的GPU实现,该实现针对工作站硬件而非分布式内存集群。哈密顿量作用以矩阵自由的形式在行收集公式中评估。我们引入并比较了两种状态到索引策略:压缩查找表(CLT),相对于完整表将查找内存减少了16倍,同时保留了固定的、分支轻的访问模式;以及一种GPU适应的组合排序方案,完全消除了查找表。与FP64 CPU参考的数值测试表明,在典型样本量下,FP32 GPU算术对热容和磁化率的影响比FTLM迹估计器的随机不确定性低几个数量级。基准测试显示,相对于优化的多核CPU计算,加速比高达约一个数量级,并能在单个工作站GPU上处理维度约10^8的希尔伯特空间扇区。MATLAB/CUDA实现,包括示例输入文件和基准测试脚本,可在https://github.com/ghasdeke/ftlm-gpu(存档于DOI: 10.5281/zenodo.20378647)以Apache-2.0许可证公开获取。

英文摘要:

We present a GPU implementation of the finite-temperature Lanczos method (FTLM) for Heisenberg spin Hamiltonians that targets workstation hardware rather than distributed-memory clusters. The Hamiltonian action is evaluated matrix-free in a row-wise gather formulation. We introduce and compare two state-to-index strategies: a compressed lookup table (CLT), which reduces lookup memory by a factor of 16 relative to a full table while retaining a fixed, branch-light access pattern, and a GPU-adapted combinatorial-ranking scheme that removes the lookup table altogether. Numerical tests against FP64 CPU references show that FP32 GPU arithmetic changes heat capacities and magnetic susceptibilities by amounts several orders of magnitude below the stochastic uncertainty of the FTLM trace estimator at typical sample sizes. Benchmarks show speedups of up to about one order of magnitude over optimized multicore CPU calculations and enable Hilbert-space sectors of dimension ~10^8 on a single workstation GPU. The MATLAB/CUDA implementation, including example input files and benchmark scripts, is openly available at https://github.com/ghasdeke/ftlm-gpu (archived at DOI: 10.5281/zenodo.20378647) under the Apache-2.0 license.

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

↑