BasisOpt: A Python package for quantum chemistry basis set optimization

J Chem Phys. 2023 Jul 28;159(4):044802. doi: 10.1063/5.0157878.

Abstract

The accuracy and efficiency of molecular quantum chemical calculations depend critically on the basis set used. However, the development of novel basis sets is hindered because much of the literature relies on the use of opaque processes and tools that are not publicly available. We present here BasisOpt, a tool for the automated optimization of basis sets with an easy-to-use framework. It features an open and accessible workflow for basis set optimization that can be easily adapted to almost any quantum chemistry program, a standardized approach to testing basis sets, and visualization of both the optimized basis sets and the optimization process. We provide examples of usage in realistic basis set optimization scenarios where: (i) a density fitting basis set is optimized for He, Ne, and Ar; (ii) the exponents of the def2-SVP basis are re-optimized for a set of molecules rather than atoms; and (iii) a large, almost saturated basis of sp primitives is automatically reduced to (10s5p) while achieving the lowest energy for such a basis set composition.