使用sphericart快速计算球谐函数
Fast evaluation of spherical harmonics with sphericart
AI总结:
本研究提出一种高效稳定的实值球谐函数计算算法,可快速求解笛卡尔导数,并将其封装为支持多语言接口与GPU加速的sphericart库,服务于化学、几何机器学习等多领域的球谐函数计算需求。
摘要:
球谐函数提供了一套光滑、正交且适配对称性的基来展开球面上的函数,常规应用于物理化学、理论化学,以及从地质学、大气科学到信号处理、计算机图形学等不同科技领域。近年来,它们已成为几何机器学习中旋转等变模型的关键组成部分,应用场景包括分子与材料的原子尺度建模。我们提出了一种简洁高效的实值球谐函数计算算法,该构造兼具现有方案的诸多优良特性,还能以数值稳定、计算高效的方式求解笛卡尔导数。为方便使用,我们将该算法实现在sphericart中——这是一个快速C++库,同时提供C语言绑定、Python API,以及包含GPU内核的PyTorch实现。
英文摘要:
Spherical harmonics provide a smooth, orthogonal, and symmetry-adapted basis to expand functions on a sphere, and they are used routinely in physical and theoretical chemistry as well as in different fields of science and technology, from geology and atmospheric sciences to signal processing and computer graphics. More recently, they have become a key component of rotationally equivariant models in geometric machine learning, including applications to atomic-scale modeling of molecules and materials. We present an elegant and efficient algorithm for the evaluation of the real-valued spherical harmonics. Our construction features many of the desirable properties of existing schemes and allows to compute Cartesian derivatives in a numerically stable and computationally efficient manner. To facilitate usage, we implement this algorithm in sphericart, a fast C++ library which also provides C bindings, a Python API, and a PyTorch implementation that includes a GPU kernel.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。