Fast evaluation of spherical harmonics with sphericart.
Journal
The Journal of chemical physics
ISSN: 1089-7690
Titre abrégé: J Chem Phys
Pays: United States
ID NLM: 0375360
Informations de publication
Date de publication:
14 Aug 2023
14 Aug 2023
Historique:
received:
28
04
2023
accepted:
12
07
2023
medline:
8
8
2023
pubmed:
8
8
2023
entrez:
8
8
2023
Statut:
ppublish
Résumé
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 us 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 that also provides C bindings, a Python API, and a PyTorch implementation that includes a GPU kernel.
Identifiants
pubmed: 37551818
pii: 2905877
doi: 10.1063/5.0156307
pii:
doi:
Types de publication
Journal Article
Langues
eng
Sous-ensembles de citation
IM
Informations de copyright
© 2023 Author(s). Published under an exclusive license by AIP Publishing.