Fast and Accurate Boys Function Evaluation Using Nonuniform Gridded Taylor Expansions

Efficient Boys function evaluation is important for Gaussian integral calculations on both central processing units (CPUs) and graphics processing units (GPUs). Gridded Taylor expansion provides a simple evaluation procedure, but a uniformly spaced reference table requires substantial storage over a wide argument range. We address this limitation using a nonuniform grid whose spacing increases with the argument. For large arguments, we introduce a normalized auxiliary function whose scaling and derivative properties allow it to be evaluated using the same Taylor procedure as the main-domain Boys functions. The main-domain and large-argument reference tables are constructed jointly, with polynomial degrees and grid parameters selected under accuracy and storage constraints. Low-part corrections to the reference values are included to improve the accuracy of the Taylor evaluation. The resulting method is implemented in the Fast and Accurate BOys (FABO) library and evaluated in QUICK and NWChem-Simint. FABO gives the smallest maximum and mean errors among the tested implementations for all three reported error measures, with the largest sampled error being approximately 1.067 units in the last place (ULPs). In application benchmarks, FABO reduces the Fock-build time relative to the original Boys evaluators in both applications and is competitive with the other tested implementations.

Authors

Publication Details

Journal
arXiv
Published
2026-11-24
DOI
https://doi.org/10.48550/arxiv.2611.32943
Primary Topic
Numerical Methods and Algorithms
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Fast and Accurate Boys Function Evaluation Using Nonuniform Gridded Taylor Expansions

Peifeng Su, Wu Wei, Longxiang Yan
arXiv
Numerical Methods and Algorithms
preprint

Fast and Accurate Boys Function Evaluation Using Nonuniform Gridded Taylor Expansions

Peifeng Su, Wu Wei, Longxiang Yan
preprint en

Abstract

Efficient Boys function evaluation is important for Gaussian integral calculations on both central processing units (CPUs) and graphics processing units (GPUs). Gridded Taylor expansion provides a simple evaluation procedure, but a uniformly spaced reference table requires substantial storage over a wide argument range. We address this limitation using a nonuniform grid whose spacing increases with the argument. For large arguments, we introduce a normalized auxiliary function whose scaling and derivative properties allow it to be evaluated using the same Taylor procedure as the main-domain Boys functions. The main-domain and large-argument reference tables are constructed jointly, with polynomial degrees and grid parameters selected under accuracy and storage constraints. Low-part corrections to the reference values are included to improve the accuracy of the Taylor evaluation. The resulting method is implemented in the Fast and Accurate BOys (FABO) library and evaluated in QUICK and NWChem-Simint. FABO gives the smallest maximum and mean errors among the tested implementations for all three reported error measures, with the largest sampled error being approximately 1.067 units in the last place (ULPs). In application benchmarks, FABO reduces the Fock-build time relative to the original Boys evaluators in both applications and is competitive with the other tested implementations.

arXiv
Numerical Methods and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon