SHarmonic: A fast and accurate implementation of spherical harmonics for electronic-structure calculations
Open Access
- 24 February 2026
- journal article
- Published by AIP Publishing in The Journal of Chemical Physics
- Vol. 164 (8)
Abstract
The authors present SHarmonic, a new implementation of the spherical harmonics targeted for electronic-structure calculations. Their approach is to use explicit formulas for the harmonics written in terms of normalized Cartesian coordinates. This approach results in a code that is as precise as other implementations while being at least one order of magnitude more computationally efficient. The library can run on graphics processing units as well, achieving an additional order of magnitude in execution speed. This new implementation is simple to use and is provided under an open-source license; it can be readily used by other codes to avoid the error-prone and cumbersome implementation of the spherical harmonics.Keywords
All Related Versions
Funding Information
- U.S. Department of Energy
This publication has 25 references indexed in Scilit:
- Introduction to Relativistic Electronic Structure CalculationsThe Journal of Physical Chemistry A, 2025
- Inq, a Modern GPU-Accelerated Computational Framework for (Time-Dependent) Density Functional TheoryJournal of Chemical Theory and Computation, 2021
- Real-space grids and the Octopus code as tools for the development of new simulation approaches for electronic systemsPhysical Chemistry Chemical Physics, 2015
- Real-Space Density Functional Theory on Graphical Processing Units: Computational Approach and Comparison to Gaussian Basis Set MethodsJournal of Chemical Theory and Computation, 2013
- Angular Momentum2013
- Legendre Functions2013
- Atomic orbital basis setsWIREs Computational Molecular Science, 2012
- Ab initio molecular simulations with numeric atom-centered orbitalsComputer Physics Communications, 2009
- Optimized Slater‐type basis sets for the elements 1–118Journal of Computational Chemistry, 2003
- Transformation between Cartesian and pure spherical harmonic GaussiansInternational Journal of Quantum Chemistry, 1995