Lehtola Susi, Burns Lori A
Department of Chemistry, University of Helsinki, P.O. Box 55, FI-00014 University of Helsinki, Finland.
Center for Computational Molecular Science and Technology, School of Chemistry and Biochemistry, Georgia Institute of Technology, Atlanta, Georgia 30332, United States.
J Phys Chem A. 2025 Jun 26;129(25):5651-5664. doi: 10.1021/acs.jpca.5c02110. Epub 2025 Jun 11.
According to the modern paradigms of software engineering, standard tasks are best accomplished by reusable open source libraries. We describe OpenOrbitalOptimizer: a reusable open source C++ library for the iterative solution of coupled self-consistent field (SCF) equations ({}) = for an arbitrary number of particle types and symmetries. Although OpenOrbitalOptimizer is a new project, it already implements standard algorithms for solving SCF equations: Pulay's direct inversion in the iterative subspace (DIIS), energy DIIS (EDIIS), augmented DIIS (ADIIS), and the optimal damping algorithm (ODA). The library was designed as an easy way to introduce state-of-the-art convergence accelerators in a number of legacy programs. It is easy to interface with various programs, as it only requires a function to evaluate the total energy and Fock matrices {} for a given set of orbitals {}. The only assumption behind the library is that one is able to easily store Fock and orbital matrices in memory, and to diagonalize the Fock matrices in full, which is the case in the overwhelming majority of quantum chemistry applications. We exemplify the library with nuclear-electronic orbital (NEO) calculations of protonated water clusters with Gaussian-type orbital basis sets. We find that a minimal-basis protonic guess works well, and that the stepwise SCF algorithm requires less computational time than the simultaneous SCF algorithm.
根据现代软件工程范式,标准任务最好通过可重用的开源库来完成。我们描述了OpenOrbitalOptimizer:一个可重用的开源C++库,用于迭代求解任意数量粒子类型和对称性的耦合自洽场(SCF)方程{} = 。尽管OpenOrbitalOptimizer是一个新项目,但它已经实现了求解SCF方程的标准算法:迭代子空间中的Pulay直接反演(DIIS)、能量DIIS(EDIIS)、增强DIIS(ADIIS)和最优阻尼算法(ODA)。该库被设计为一种在许多传统程序中引入最先进收敛加速器的简便方法。它很容易与各种程序接口,因为它只需要一个函数来计算给定轨道集{}的总能量和福克矩阵{}。该库背后唯一的假设是能够轻松地在内存中存储福克矩阵和轨道矩阵,并对福克矩阵进行完全对角化,这在绝大多数量子化学应用中都是如此。我们用高斯型轨道基组对质子化水团簇进行核电子轨道(NEO)计算来举例说明该库。我们发现最小基质子猜测效果很好,并且逐步SCF算法比同时SCF算法需要更少的计算时间。