OpenOrbitalOptimizer——用于自洽场计算的可重用开源库
OpenOrbitalOptimizer -- a reusable open source library for self-consistent field calculations
AI总结:
本文介绍了开源C++库OpenOrbitalOptimizer,用于迭代求解耦合自洽场方程,实现了DIIS等标准收敛加速算法,易于与遗留程序对接,并在质子化水团簇的核-电子轨道计算中验证了其有效性。
摘要:
根据现代软件工程范式,标准任务最好由可重用的开源库来完成。我们描述了OpenOrbitalOptimizer:一个可重用的开源C++库,用于迭代求解任意数量粒子类型p和对称性的耦合自洽场(SCF)方程$\oldsymbol{F}_{p}^σ(\{\oldsymbol{C}_{p}^σ\})\oldsymbol{C}_{p}^σ=\oldsymbol{C}_{p}^σ\oldsymbol{E}_{p}^σ$。尽管OpenOrbitalOptimizer是一个新项目,但它已经实现了求解SCF方程的标准算法:Pulay的迭代子空间直接反演(DIIS)、能量DIIS(EDIIS)、增强DIIS(ADIIS)和最优阻尼算法(ODA)。该库被设计为在许多遗留程序中引入最先进收敛加速器的简便方法。它易于与各种程序对接,因为它只需要一个函数来评估给定轨道集$\{\oldsymbol{C}_{p}^σ\}$的总能量$E$和Fock矩阵$\{\oldsymbol{F}_{p}^σ\}$。该库背后的唯一假设是能够轻松地将Fock矩阵和轨道矩阵存储在内存中,并完全对角化Fock矩阵,这在绝大多数量子化学应用中都是可行的。我们以使用高斯型轨道基组对质子化水团簇进行核-电子轨道(NEO)计算为例展示了该库。我们发现最小基的质子初猜效果良好,并且逐步SCF算法比同时SCF算法需要更少的计算时间。
英文摘要:
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 $\boldsymbol{F}_{p}^σ(\{\boldsymbol{C}_{p}^σ\})\boldsymbol{C}_{p}^σ=\boldsymbol{C}_{p}^σ\boldsymbol{E}_{p}^σ$ for an arbitrary number of particle types $p$ 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 the 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 $E$ and Fock matrices $\{\boldsymbol{F}_{p}^σ\}$ for a given set of orbitals $\{\boldsymbol{C}_{p}^σ\}$. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。