使用 QUDA 进行基于 Python 的格点 QCD 计算
Use QUDA for lattice QCD calculation with Python
AI总结:
开发了PyQUDA这一QUDA的Python封装库,结合NumPy等库与QUDA加速格点QCD计算,支持HMC及多重网格求解器等操作,简化代码编写并促进复杂物理包的构建。
摘要:
我们开发了 PyQUDA,一个用 Cython 编写的 QUDA 的 Python 封装库,旨在利用 Python 编程语言简化格点 QCD 计算。PyQUDA 利用 NumPy/CuPy/PyTorch 优化的线性代数功能,以及 QUDA 提供的高度优化的格点 QCD 操作来加速研究。这种集成简化了编写计算代码的过程,使研究人员能够为特定物理目标构建更复杂的 Python 包,如 EasyDistillation。PyQUDA 支持一系列格点 QCD 操作,包括具有 N-flavor clover/HISQ 费米子的混合蒙特卡洛(HMC),以及使用多重网格求解器对 Wilson/clover/HISQ 费米子作用进行求逆。它还包含用于读取存储在 Chroma、MILC 和 $χ$QCD 格式中的格点 QCD 数据的实用函数。存根文件支持类型提示,并通过 mpi4py 提供多 GPU 支持。
英文摘要:
We developed PyQUDA, a Python wrapper for QUDA written in Cython, designed to facilitate lattice QCD calculations using the Python programming language. PyQUDA leverages the optimized linear algebra capabilities of NumPy/CuPy/PyTorch, along with the highly optimized lattice QCD operations provided by QUDA to accelerate research. This integration simplifies the process of writing calculation codes, enabling researchers to build more complex Python packages like EasyDistillation for specific physics objectives. PyQUDA supports a range of lattice QCD operations, including hybrid Monte Carlo (HMC) with N-flavor clover/HISQ fermions and inversion for the Wilson/clover/HISQ fermion action with the multigrid solver. It also includes utility functions for reading lattice QCD data stored in Chroma, MILC, and $χ$QCD formats. Type hints are supported by stub files and multi-GPU support is provided through mpi4py.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。