title: Determining the Numerical Stability of Quantum Chemistry Algorithms.
abstract: We present a simple, broadly applicable method for determining the numerical properties of quantum chemistry algorithms. The method deliberately introduces random numerical noise into computations, which is of the same order of magnitude as the floating point precision. Accordingly, repeated runs of an algorithm give slightly different results, which can be analyzed statistically to obtain precise estimates of its numerical stability. This noise is produced by automatic code injection into regular compiler output, so that no substantial programming effort is required, only a recompilation of the affected program sections. The method is applied to investigate: (i) the numerical stability of the three-center Obara-Saika integral evaluation scheme for high angular momenta, (ii) if coupled cluster perturbative triples can be evaluated with single precision arithmetic, (iii) how to implement the density fitting approximation in Møller-Plesset perturbation theory (MP2) most accurately, and (iv) which parts of density fitted MP2 can be safely evaluated with single precision arithmetic. In the integral case, we find a numerical instability in an equation that is used in almost all integral programs. Due to the results of (ii) and (iv), we conjecture that single precision arithmetic can be applied whenever a calculation is done in an orthogonal basis set and excessively long linear sums are avoided.
authors.affiliation: Institut für Theoretische Chemie, Universität Stuttgart , Pfaffenwaldring 55, D-70569 Stuttgart, Germany.
authors.forename: Gerald
authors.initials: G
authors.lastname: Knizia
authors.affiliation: Institut für Parallele und Verteilte Systeme, Universität Stuttgart , Universitätsstraβe 38, D-70569 Stuttgart, Germany.
authors.forename: Wenbin
authors.initials: W
authors.lastname: Li
authors.affiliation: Institut für Parallele und Verteilte Systeme, Universität Stuttgart , Universitätsstraβe 38, D-70569 Stuttgart, Germany.
authors.forename: Sven
authors.initials: S
authors.lastname: Simon
authors.affiliation: Institut für Theoretische Chemie, Universität Stuttgart , Pfaffenwaldring 55, D-70569 Stuttgart, Germany.
authors.forename: Hans-Joachim
authors.initials: HJ
authors.lastname: Werner