원시데이터 수집 시스템
선정목록으로

Economical Models for Electron Densities

관련 필름·전자재료 · (15) 디스플레이 패널재료

기본 정보

저자
  1. Ellena K. G. Black — School of Chemistry, University of Sydney, Camperdown, NSW 2006, Australia
  2. Peter M. W. Gill — School of Chemistry, University of Sydney, Camperdown, NSW 2006, Australia
DOI
10.1021/acs.jpca.3c04363
저널
The Journal of Physical Chemistry A
발행년도
2023
발행기관
American Chemical Society
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1021/acs.jpca.3c04363
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4388074517

평가 내용

관련도
관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We discuss a new theoretical framework for modeling molecular electron densities. Our approach decomposes the total density into contributions from basis function products and then approximates each product using constrained least–squares approximation in a tailored local basis of functions with adjustable non–linear parameters. We show how to solve directly for the expansion coefficients and Lagrange multipliers and present an iterative method to optimize the non–linear parameters. Example products from the Dunning cc-pVTZ basis set are discussed.

본문 61,011자

본문 펼치기
This article is licensed under <u>[CC-BY-NC-ND 4.0](https://pubs.acs.org/page/policy/authorchoice_ccbyncnd_termsofuse.html)</u> pubs.acs.org/JPCA <mark>Article</mark> ## Economical Models for Electron Densities #### _Published as part of The Journal of Physical Chemistry A virtual special issue “Krishnan Raghavachari_ _Festschrift”._ Ellena K. G. Black and Peter M. W. Gill* Cite This: _J._ _Phys._ _Chem._ _A_ [2023,](https://pubs.acs.org/action/showCitFormats?doi=10.1021/acs.jpca.3c04363&ref=pdf) 127, 9346−9356 Read [Online](https://pubs.acs.org/doi/10.1021/acs.jpca.3c04363?ref=pdf) ### ACCESS Metrics & More Article Recommendations * sı Supporting Information ABSTRACT: We discuss a new theoretical framework for modeling molecular electron densities. Our approach decomposes the total density into contributions from basis function products and then approximates each product using constrained least−squares approximation in a tailored local basis of functions with adjustable non−linear parameters. We show how to solve directly for the expansion coefficients and Lagrange multipliers and present an iterative method to optimize the non−linear parameters. Example products from the Dunning cc-pVTZ basis set are discussed. 1. INTRODUCTION 1.1. Background. The central tenet of density functional theory (DFT) is that, notwithstanding its conceptual simplicity, the electron density _D_ (r) in a system is a molecular property from which all others can be derived. <sup>1</sup> Consequently, its computation, representation, and visualization are among the most fundamental features of all modern electronic structure software packages. Our goal in this work is to develop a systematic scheme for efficiently constructing accurate approximations to _D_ (r). In terms of a set of orthonormal orbitals _ψi_ (r), we can write the electron density as <sup>2,3</sup> _n_ where we have introduced the Gaussian density _K_ _K_ _k_ _l_ _k_ 2 _l_ ( r ) = _CkC_ _l_ exp[ _k_ | r A |2] exp[ r ) = _CkC_ _l_ exp[ _k_ | r A |2] exp[ _l_ | r A = _CkC_ _l_ exp[ _k_ | r A |2] exp[ _l_ | r A |2] _CkC_ 2 _l_ 2 _k_ =1 _l_ = 1 _l_ =1 _l_ _K_ _K_ _k_ _l_ _kl_ _kl_ _kl_ 2 = _CkC_ _lGkl_ exp[ _kl_ | r A _kl_ |2] _CkC_ _lG_ exp r A _k_ =1 _l_ = 1 _l_ =1 _l_ (5) and its primitive prefactors, exponents and centers are, respectively, Ä | A A | É = _i_ *( r ) _i_ ( r ) _i_ (1) _Gkl_ = expÄ 1/| A _k_ + A 1/|2 _l_ É ÅÅÅÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÑÑÑÖ Ç | A A |2 = exp _k_ | A A exp ÄÅÅÅÅÅÅÅÅÅÅÅÇ _D_ ( r ) = *( r ) ( r ) _kl_ Ö 1/ _k_ + 1/ _k_ _l_ + 1/ _l_ Ö (6) _i_ and, if each of these orbitals is expanded in a one-electron basis set _ϕμ_ (r), we obtain _N_ _D_ ( r ) = _P_ ( r ) ( r ) (2) where _Pμν_ is a density matrix. If each basis function is a contracted Gaussian _K_ _kl_ = _k_ + _l_ (7) _k_ _l_ _kl_ _k_ A + _l_ A A = _k_ _l_ + + _l_ (8) = _Y_ ( r ) _Ck_ exp( _k_ | r A |2 _k_ _k_ ( r ) = _Y_ ( r ) _Ck_ exp( _k_ | r A |2) The electrostatic energy between two products is given by the two-electron integral Received: June 28, 2023 Revised: October 3, 2023 Accepted: October 4, 2023 Published: October 31, 2023 _k_ =1 (3) where _Yμ_ (r) is the angular factor, _Cμk_ is a contraction coefficient, _αμk_ is an exponent, and A _μ_ is the Gaussian center, where _Yμ_ (r) is the angular factor, _Cμk_ coefficient, _αμk_ is an exponent, and A _μ_ is the Gaussian center, then the function products in (2) are ( r ) ( r ) = _Y_ ( r ) _Y_ ( r ) ( r ) (4) © 2023 The Authors Published by <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> 1 ( | ) = ( r 1) ( r 1) ( r 2) ( r 2) d r 1 d r 2 | r 1 r 2| (9) and these integrals yield the Coulomb, exchange, and correlation energies. <sup>4</sup> The evaluation of the ( _μν_ | _λσ_ ) is one of the key bottlenecks of quantum chemistry, and research over many decades has led to an impressive array of algorithms for their computation, including the methods of Boys, <sup>5</sup> Dupuis et al., <sup>6</sup> McMurchie and Davidson, <sup>7</sup> Obara and Saika, <sup>8</sup> HeadGordon and Pople, <sup>9</sup> Hamilton and Schaefer, <sup>10</sup> Lindh et al., <sup>11</sup> Gill and Pople, <sup>12,13</sup> Adams et al., <sup>14</sup> Ishida, <sup>15</sup> Makowski, <sup>16</sup> and Komornicki and King. <sup>17</sup> Nonetheless, although some of these are very computationally efficient, all become expensive when the degrees of contraction _KμKν_ and _KλKσ_ are large. For this reason, it was recognized long ago that it is desirable to construct approximations for products. In the 20th century, a variety of methods for fitting function products in an auxiliary basis were introduced and we note the seminal contributions by Reeves and Fletcher, <sup>18</sup> O-ohata et al., <sup>19</sup> Newton et al., <sup>20</sup> Hehre et al., <sup>21</sup> Stewart, <sup>22</sup> Billingsley and Bloor, <sup>23</sup> Baerends et al., <sup>24</sup> Whitten, <sup>25</sup> Beebe and Linderberg, <sup>26</sup> Dunlap et al., <sup>27</sup> Fortunelli and Salvetti, <sup>28</sup> Feyereisen et al., <sup>29</sup> and Eichkorn et al. <sup>30</sup> Helpful discussions of the underlying theory were published subsequently by a number of workers. <sup>31−37</sup> In the present paper, however, we eschew a global auxiliary basis in favor of approximating each product on its own locally generated basis. More specifically, we seek an approximation to the Gaussian density (5) that uses a few Gaussians whose coefficients, exponents and centers are explicitly optimized. Throughout this paper, we will use italic symbols to denote scalars and bold (or double-struck) symbols to denote vectors or matrices. 1.2. Least-Squares Functional. We seek to approximate a given density _ρ_ (r) by a model _χ_ (r) where ( r ) = d T a (10) ( r ) = c T b (11) where d = ( _d_ 1, ..., _dn_ ) is a list of positive coefficients, c = ( _c_ 1, ..., _cm_ ) is a list of expansion coefficients, a = [ _a_ 1(r), ..., _an_ (r)] and b = [ _b_ 1(r), ..., _bm_ (r)] are lists of normalized Gaussians + _y_ 2 + 3/2 Ä 2 2 2 É i 1 y _x_ + _y_ + ( _z_ _Aj_ ) _aj_ ( r ) = exp jjjjjj 4 _j_ zzzzzz 4 _j_ k { ÅÅÅÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÑÑÑÖ i 1 y3/2 Ä _x_ 2 + _y_ 2 + ( _z_ _Bj_ )2 É _bj_ ( r ) = exp 4 4 jjjjjjj _j_ zzzzzzz _j_ k { ÅÅÅÅÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÑÑÑÑÖ 3/2 Ä 2 2 2 i 1 y _x_ + _y_ + ( _z_ _Aj_ ) = exp jjjjjj zzzzzz ÅÅÅÅÅÅÅÅÅÅÅ i i jjjjjj k i y Ä ÄÅÅÅÅÅÅÅÅÅÅÅÇ i 1 y _x_ 2 + _y_ 2 + ( _z_ _Aj_ _j_ ( r ) = exp jjjjjj 4 _j_ zzzzzz 4 _j_ ÅÅÅÅÅÅÅÅÅÅÅ ( _z_ _Aj_ ) _j_ É _j_ 4 _j_ 4 _j_ + _y_ 2 + _j_ _aj_ ( k ) = exp( _jk_ 2) exp( _A kj_ _z_ ) (16) _bj_ ( k ) = exp( _jk_ 2) exp( _B kj_ _z_ ) (17) Our models seek to minimize by least-squares the residual _R_ ( k ) = ( k ) ( k ) (18) over all of space and, to achieve this, we introduce a Fourier weight function _p_ ( _k_ ) = _k_ 2 _p_ 3/(2 ) (19) In general, our models must also satisfy _l_ linear constraints on the expansion coefficients _ci_ . These are conveniently captured by the matrix equation T c = (20) where is an _m_ × _l_ matrix and is a vector of length _l_ . For example, if we seek a model that conserves charge in an _ss_ density, must contain a column of ones and the corresponding element of must hold _ρ_ ̂(0), i.e. the charge of _ρ_ (r). We therefore introduce a vector of Lagrange multipliers and seek a stationary point of the functional _Z_ = _R_ | _p_ | _R_ + 2 T( T c ) (21) 1.3. Weight Function. The parameter _p_ in (19) determines the type of model that we form and we will write _Lp_ ( _m_ ) to denote an _m_ -Gaussian least-squares model with parameter _p_ and charge conservation ( 0 ) = ( 0 ) (22) constrained. If _p_ - 0, the fit emphasizes high-frequency components of the density; if _p_ < 0, it emphasizes lowfrequency components. Historically, _p_ = 3/2, 1/2, or −1/2 have been advocated, but these are just three points on a continuum of possibilities. _L_ 3/2( _m_ ) models minimize the square of the residual _density_ _R_ (r) itself. Such models were used by Reeves and Fletcher <sup>18</sup> to perform approximate Slater orbital calculations, O-ohata et al. <sup>19</sup> to construct expansions of Slater functions, Newton et al. <sup>20</sup> in the PDDO approximation, Hehre et al. <sup>21,22</sup> to construct the STO-nG basis sets, Billingsley and Bloor <sup>23</sup> in the LEDO approximation and Baerends et al. <sup>24</sup> in their Hartree−Fock− Figure 1. Optimal _β_ for modeling a Slater function as the weight function _ωp_ ( _k_ ) varies. i 1 y3/2 Ä _x_ 2 + _y_ 2 + ( _z_ _Bj_ )2 = exp jjjjjjj zzzzzzz ÅÅÅÅÅÅÅÅÅÅÅÅ Ö É i jjjjjjj k y zzzzzz { y y zzzzzzz { Ç Ä ÄÅÅÅÅÅÅÅÅÅÅÅÅÇ Ç i 1 y _x_ 2 + _y_ 2 + ( _z_ _Bj_ _j_ ( r ) = exp 4 4 jjjjjjj zzzzzzz ÅÅÅÅÅÅÅÅÅÅÅÅ ( _z_ _Bj_ ) _j_ Ö _j_ 4 4 _j_ (12) (13) _j_ _α_ = ( _α_ 1, ..., _αn_ ) and _β_ = ( _β_ 1, ..., _βm_ ) are lists of inverted exponents, and A = ( _A_ 1, ..., _An_ ) and B = ( _B_ 1, ..., _Bm_ ) are lists of Gaussian centers on the _z_ axis. The assumption that all _di_ - 0 sometimes requires that the basis set be reconstructed and this is discussed in Section 2.1. We assume that _m_ < _n_, and we regard all of the _cj_, _βj_, and _Bj_ as optimizable parameters. For simplicity, we recast the problem in Fourier space and model _ρ_ (̂ k) by _χ_ ̂(k) where ( k ) = d T a (14) ( k ) = c T b (15) and the elements of a ̂ and b ̂ are the Fourier transforms <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> Slater algorithm. Most of these authors used unconstrained fits, but Baerends et al. constrained charge conservation. _L_ 1/2( _m_ ) models minimize the squared norm of the _electric_ _field_ of _R_ (r). Such models were advocated by Whitten <sup>25</sup> for modeling densities without charge conservation, used by Dunlap et al. <sup>27</sup> in his Coulomb fitting approach, developed further by Feyereisen et al. <sup>29</sup> and Eichkorn et al. <sup>30</sup> and analyzed in detail by Hall and Martin. <sup>31</sup> _L_ −1/2( _m_ ) models minimize the square of the _potential_ value of _R_ (r). They were introduced by Fortunelli and Salvetti <sup>28</sup> and defined rigorously by Gill et al. <sup>32</sup> The constraint (22) ensures that the integral in (21) exists when weight functions with −2 < _p_ ≤ 0 are used but, for _p_ ≤ −2, additional constraints must be applied. For certain isolated _p_ values, for example _p_ = 0, the weight function (19) is not positive definite and the functional (21) does not have a welldefined stationary point. However, if they are needed, such models can be obtained by taking limits in the neighborhood of _p_ . To illustrate this, we modeled a single Slater function by a single Gaussian function. In Fourier space, this corresponds to modeling _ρ_ ̂(k) = (1 + _k_ <sup>2</sup> ) <sup>−2</sup> by _χ_ ̂(k) = exp(− _βk_ <sup>2</sup> ). By minimizing (21), one finds that the optimal _β_ satisfies (2 ) _p_ +1U( _p_ + 1, _p_, ) = 1 (23) where U is the Tricomi hypergeometric function. <sup>38</sup> Analysis of (23) reveals that opt = 2 + (4 ln 2 3)( _p_ + 2) + _O_ ( _p_ + 2)2 (24) and Figure 1 shows that the optimal _β_ varies smoothly and almost linearly over a wide domain. 1.4. Cost-Benefit Analysis. In a spatially extended system, most pairs of basis functions _ϕμ_ and _ϕν_ are well separated, and the product _ϕμ_ (r) _ϕν_ (r) can therefore be neglected. It is easy to show that the number of _significant ϕμ_ (r) _ϕν_ (r) products grows only linearly with _N_ and, thus, because the shell pair economizations are independent, the cost of economizing all significant shell pairs is _O_ ( _N_ ). However, it is reasonable to ask whether this effort is worthwhile. There are two types of calculations where the cost is easy to justify. First, calculations in which the electron density _D_ (r) will be evaluated at a large number _K_ of points r as, for example, on a van der Waals surface. The cost of evaluating (2) at a point r is _O_ ( _N_ ) and the total cost for all points is therefore _O_ ( _KN_ ). In such situations, the economization cost will be more than compensated by the subsequent savings in density evaluations. Second, calculations in which the shell pairs will be used to calculate two-electron integrals (9) as, for example, in a hybrid density functional calculation. The number of _significant_ shell quartets, and therefore the number of significant ERIs, is _O_ ( _N_ <sup>2</sup> ). Thus, whereas the cost of economization scales linearly with _N_, the savings that accrue from the use of economized shell pairs to form ERIs scale quadratically with _N_ and will more than compensate for the economization cost if _N_ is sufficiently large. 2. METHODS 2.1. Basis Set Reconstruction. To facilitate the modeling process, we required all contraction coefficients to be positive. This is true of some basis functions (for example, the 5-fold contracted function on H atoms in the Dunning cc-pVTZ basis, <sup>39</sup> see Table 1) but it is not true of many basis functions Table 1. cc-pVTZ Exponents and Coefficients <sup>39,41</sup> of an _s_ Function on H Primitive Exponent Coefficient 1 33.87 +0.006068 2 5.095 +0.045308 3 1.159 +0.202822 4 0.3258 +0.503903 5 0.1027 +0.383421 (for example, the 10-fold contracted functions on C atoms in the same basis, see Table 2). However, it is often possible (at least, in shared-exponent basis sets such as those of Dunning <sup>39</sup> and Jensen <sup>40</sup> ) to reconstruct the basis on each atom, creating all-positive basis functions by linearly combining the originals. Because the reconstructed basis set necessarily has the same span as the original, it is equivalent for quantum chemical purposes. We formulate our problem as follows. Given a set _V_ of linearly independent vectors { v 1, ..., v _n_ }, we seek a set _U_ of all-positive vectors {u1, ..., u _n_ } with span( _U_ ) = span( _V_ ). We define vmin _i_ as the minimum (i.e., most negative) component of v _i_ and we then reorder the v _i_ so that vmin1 - vmin2 We define v _i_ min1 - v2 component of v _i_ and we then reorder the v _i_ so that vmin1 - vmin2 >··· - vmin _n_ . We then try to construct a _single_ all-positive vector >··· - vmin _n_ . We then try to construct a _single_ all-positive vector u1 from _V_ by writing _n_ u = v + v 1 = v 1 + _i_ v <sup>_i_</sup> _i_ =2 _i_ =2 (25) _i_ and seeking the _γ_ i that maximize umin1 . This maps onto the linear programming problem _n_ maximize _t_ subject to _t_ subject to _v_ 1 _j_ + _iv_ <sup>_ij_</sup> _t_ 1 _j_ + _iv_ <sup>_ij_</sup> _i_ =2 _j_ _i_ _i_ = ( _j_ = 1, 2,···, ) _j_ = 1, 2,··· (26) with the auxiliary variable _t_, and solved, for example, by converting to canonical form and applying the Simplex Method. <sup>42</sup> The optimized _t_ is maximized umin1 . If the resulting umin1 value is positive, the original vectors are reconstructible. We then form u _i_ = v _i_ + _i_ u _i_ 1 ( _i_ = 2, ..., _n_ ) (27) where _δi_ is the smallest value that yields umin _i_ = 0, and normalize the resulting basis functions. This has the additional benefit of reducing the order of contraction by one even before modeling. We add the prefix “rec-” to the name of a reconstructed basis set. It is important to note that the reconstructed basis functions are not orthogonal and, in some cases, can be almost parallel. As a consequence, we hope that, in the future, (a) improved reconstruction algorithms will be devised and (b) basis set developers will produce basis sets with all-positive coefficients, so that reconstruction is unnecessary. If this method is applied to the 10-fold contracted functions on C in the cc-pVTZ basis set (Table 2), we find that umin1 is a concave piecewise linear function of _γ_ 2 given by (28) 0.008983 + 0.598684 < 0.0158885 + 0.598684 2 2 < 2 2 u 1min = loooooo m oooooo n +0.000531 0.000113 2 0.0158885 2 < 0.000531 0.000113 0.0158885 < 2.03008 2 2 + 0.346129 0.170352 2.03008 2 2 0.346129 0.170352 2.03008 <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> Table 2. cc-pVTZ Exponents and Coefficients <sup>39,41</sup> of Two _s_ Functions on C Coefficient cc-pVTZ rec-cc-pVTZ Primitive Exponent v1 v2 u1 u2 1 8236. +0.000531 −0.000113 +0.000529 +0.000133 2 1235. +0.004108 −0.000878 +0.004094 +0.001026 3 280.8 +0.021087 −0.004540 +0.021012 +0.005238 4 79.27 +0.081853 −0.018133 +0.081555 +0.019875 5 25.59 +0.234817 −0.055760 +0.233901 +0.053661 6 8.997 +0.434401 −0.126895 +0.432330 +0.077970 7 3.319 +0.346129 −0.170352 +0.343379 0 8 0.9059 +0.039378 +0.140382 +0.041603 +0.143342 9 0.3643 −0.008983 +0.598684 +0.000529 +0.533186 10 0.1285 +0.002385 +0.395389 +0.008666 +0.355805 which reaches its maximum value (+0.000529) at _γ_ 2 = 0.0158885. We then form u 2 = v 2 + 0.496042 u 1 (29) and renormalize both u1 and u2. The rec-cc-pVTZ basis functions are shown in Table 2 and we note that their overlap integral is _S_ 12 = 0.456. 2.2. Modeling Theory. _2.2.1._ _Linear_ _Parameters._ The basic units of the optimization are the scalar _Z_ 0 <sup>=</sup> | _p_ | (30) the vector 00 <sup>=</sup> _bi_ | _p_ | (31) and the matrix 00 <sup>=</sup> _bi_ | _p_ | _bj_ (32) From these, we can assemble the augmented vector where _β_ 0 - 0 is a scale factor and an Inverse Mellin Transform <sup>38</sup> provides the weight function _w_ ( _u_ ) = _u_ 1 1{ ( _s_ / 0 )}( _u_ ) (40) We then approximate (39) by the _m_ -point Gauss−Christoffel quadrature formula <sup>43</sup> Having thus solved for the linear parameters _ci_ and _i_ <sup>,</sup> <sup>we</sup> now have a functional (38) that depends only on the nonlinear parameters _βi_ and _Bi_ . We now discuss the minimization of (38) with respect to those parameters. _2.2.2._ _Initial_ _Guesses:_ _Spherical_ _Density._ If _ρ_ (r) has spherical ( _Kh_ ) symmetry, we choose all _Bi_ = 0 and eschew further optimization. The exponents _β_ are more challenging, and to construct an initial guess for these, we convert the modeling problem into a quadrature problem. First, we form the integral representation = 1 _u_ 0 _k_ 2 _w_ ( _u_ ) d _u_ 0 (39) ( _k_ ) = _u_ 0 _k_ 2 _w_ ( _u_ ) d _u_ 0 i i 00y f 00 = jjjjj zzzzz k { i jjjjj k y zzzzz { _m_ ( _k_ ) _cui_ _i_ _i_ =1 (41) 00 = 0 _k_ 2 and the augmented matrix (33) (34) where the weights _ci_ - 0 and roots 0 < _ui_ < 1 are related to polynomials that are orthogonal on [0, 1] with respect to _w_ ( _u_ ). In the Golub-Welsch method <sup>44</sup> (see Supporting [Information),](https://pubs.acs.org/doi/suppl/10.1021/acs.jpca.3c04363/suppl_file/jp3c04363_si_001.pdf) the _ci_ and _ui_ are found from the moments i 1 i 00 y F 00 = jjjjj T 0 zzzzz i jjjjj k 00 00 = jjjjjk T 0 y zzzzz { = jjjjj T ( _u_ ) d _u_ = ( _j_ / ) and then write (21) as _Z_ = _Z_ 0 2 f 00T x + x T F 00 x (35) where the coefficients and Lagrange multipliers have been conflated into the vector and, in order to sample _ρ_ ̂( _k_ ) well, we choose the arbitrary scale factor to be _j_ _j_ _u_ _j_ = _u wj_ ( _u_ ) d _u_ = ( _j_ = _u wj_ ( _u_ ) d _u_ = ( _j_ / 0 0 ( _j_ = 0, 1, ..., 2 _m_ ) ( _j_ = 0, 1, ..., 2 _m_ = 0, 1, ..., 2 _m_ ) (42) i jjj Ä É Ä i c = jjj y zzz (36) x = i c y jjj zzz k { i jjj k ÉÑÑÑÑÑÑÑÑÖ Ä É Ä É 0 = _m_ / _k_ 2 = _m_ ( _k_ ) d _k_ _k_ 2 ( _k_ ) d _k_ 0 0 ÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÖ ÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÖ = _m_ / _k_ 2 = _m_ ( _k_ ) d _k_ _k_ 2 ÄÅÅÅÅÅÅÅÅÇ Ç 0 0 ÉÑÑÑÑÑÑÑÑÖ Ö ÄÅÅÅÅÅÅÅÅÇ Ç Requiring that the gradient of (35) with respect to x vanish yields the optimal coefficients and Lagrange multipliers x = F 001 f 00 (37) and the resulting minimal value _Z_ = _Z_ 0 f T00 x (38) For greatest numerical stability, (37) should be computed by solving a linear system. (43) Finally, by substituting _ui_ = exp(− _βi_ / _β_ 0) into (41), we obtain an approximation that we call the Q( _m_ ) model _m_ 2 ( _k_ ) _ci_ exp( _k_ 2) _i_ =1 (44) _i_ _i_ _i_ 1 Although this model is less accurate than least-squares fitting, it may sometimes be useful in its own right. However, its low cost and reasonable accuracy make it a useful initial guess. <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> É Ö There is an important caveat to the use of a quadrature scheme to generate an initial guess. There is no guarantee <sup>45</sup> that the Gauss−Christoffel roots _ui_ and weights _ci_ will exist or be satisfactory unless the weight function _w_ ( _u_ ) in (39) is a non-negative function on [0, 1]. It was to ensure this that we assumed that all of the coefficients _di_ in (10) are positive. _2.2.3._ _Initial_ _Guesses:_ _Cylindrical_ _Density._ Generating guesses for the exponents _βi_ and centers _Bi_ when _ρ_ (r) has cylindrical ( _C_ ∞ _v_ ) symmetry is not difficult. In general, because of the primitive prefactors (6), the coefficients _di_ of the _n_ primitives in _ρ_ (r) range over many orders of magnitude and _ρ_ (r) is therefore dominated by the primitives with the largest absolute coefficients | _di_ |. We exploit this by using the _α_ i and _Ai_ of the _m_ primitives with the largest | _di_ | as our guesses. We start by ordering the _α_ i and _Ai_ by | _di_ | value and take the first _m_ primitives that are not already “covered” by a larger primitive. A primitive _i_ is considered “covered” if its _Ai_ value is within 0.25 au of the position _Aj_ of a larger primitive _j_ (| _dj_ | | _di_ |). This is because primitives that are close to each other tend to be represented by a single Gaussian in models, even if they both have large coefficients. In the case of a tie for the _m_ th largest “uncovered” primitive, there are two options. If it would not break another tie, the ( _m_ - 1)th largest primitive is excluded, and the _αi_ and _Ai_ of the _m_ th and ( _m_ + 1)th largest primitives are used. Otherwise, the average of the _m_ th and ( _m_ + 1)th largest primitives’ quantities are taken. Finally, if the guess formed this way has _k_ < _m_ primitives, the _m_ - _k_ largest previously excluded “covered” primitives are included as well. _2.2.4. Matrix Elements and Their Derivatives._ For the basis functions (17), one can show from eq (6.631.1) of Gradshteyn and Ryzhik <sup>46</sup> that both the matrix (32) and its derivatives with respect to the nonlinear parameters ( _βi_ and _Bi_ ) can be conveniently expressed in terms of the function Table 3. Construction of an _m_ -Gaussian Model for a Gaussian Density Step Description Equations Cost Ä 2 É _s_ _R_ _t_ (, _R_ ) = ( _s_ )M _s_, 23 + _t_, 4 ÅÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÑÖ = ( _ss_ )M _s_, 3 + _t_, _R_ 2 Ä Ä _s_ ÅÅÅÅÅÅÅÅÅÇ _s_, _t_ (, _R_ ) = ( _s_ )MÇ _s_, 23 + _t_, 4 (45) Ç where Γ is the gamma function <sup>38</sup> and M is the Kummer hypergeometric function. <sup>38</sup> The matrix itself is given by 00 = _p_,0( _i_ + _j_, _Bi_ _Bj_ ) (46) and, using properties of the hypergeometric function, one finds the first derivatives _p_,0(, _R_ ) = _p_ +1,0(, _R_ ) (47) _R_ _p_,0(, _R_ ) = _p_ +1,1(, _R_ ) _R_ 3 (48) and the second derivatives 2 2 _p_,0(, _R_ ) = _p_ +2,0(, _R_ ) (49) 2 _R_ _p_,0(, _R_ ) = _p_ +2,1(, _R_ ) _R_ 3 _p_,0(, _R_ ) = _p_ +2,1(, _R_ ) 3 (50) 2 _R_ 2 1 _p_,0(, _R_ ) = _p_ +2,2(, _R_ ) _p_ +1,1(, _R_ ) 15 3 2 2 _p_,0 = _p_ +2,2(, _R_ ) _p_ +1,1 _R_ 1 Input, _m_, _p_,, _O_ (1) If _ρ_ is spherical 2a Compute ⟨ _u_ <sup>_j_</sup> ⟩ and _β_ 0 (42), (43) _O_ ( _m_ ) 3a Compute initial guess for _β_ (44) _O_ ( _m_ <sup>2</sup> ) 4a Set B = 0 _O_ ( _m_ ) else if _ρ_ is cylindrical 2b Sort primitives by | _d_ i| value _O_ ( _n_ ) 3b Compute initial guess for _β_ and B _O_ ( _m_ ) end if 5 Compute f00, f10, f01, f20, f11, f02 (33), (52)− _O_ ( _m_ ) (51) For half-integer values of _p_, all six of these can be expressed in terms of Gaussians and the error function. <sup>38</sup> To construct the gradient of _Z_, we require the first derivative vectors and matrices f 10 = f 00/ _i_ F 10 = F 00/ _i_ (52) f 01 = f 00/ _Bi_ F 01 = F 00/ _Bi_ (53) and, to construct its Hessian, we need the second derivative vectors and matrices f 20 = 2 f 00/ _i_ 2 F 20 = 2 F 00/ _i_ 2 (54) f 11 = 2 f 00/ _i_ _Bi_ F 11 = 2 F 00/ _i_ _Bi_ (55) f 02 = 2 f 00/ _Bi_ 2 F 02 = 2 F 00/ _Bi_ 2(1 _ij_ ) (56) Differentiating (38) shows the gradient and Hessian of _Z_ with respect to _β_ and B are 11T ] i[ [ E 10 x ] [ E x y zzzzzz { i[ E 10 x ]y g = 2 jjjjjjk[ E 01 x ]zzzzzz{ i[ jjjjjj[ k 10 2 jjjjjj[ E x = 2 jjjjjjk[ E 01 [ E 01 x ]{ (57) i i[ H 20] [ H 11] [ H ] [ H y { i[ H 20] [ H 11]y H = 2 jjjjjjjk[ H 11T ] [ H 02]zzzzzzz{ = 2 jjjjjjjk[ H 11T ] [ H 02 20 11 2 jjjjjjj[ H T ] [ H i jjjjjjj k (56) 6 Compute F00, F10, F01, F20, F11, F02 (34), (52)− (56) _O_ ( _m_ ) _O_ ( _m_ <sup>2</sup> ) [ H 11T ] [ H 02]{ (58) 7 Compute _E_ 10, _E_ 01, _E_ 20, _E_ 11, _E_ 02 (59) - (63) _O_ ( _m_ ) 8 Compute _U_ 10, _U_ 01, _H_ 20, _H_ 11, _H_ 02 (59) - (63) _O_ ( _m_ <sup>3</sup> ) 9 Compute x (37) _O_ ( _m_ <sup>3</sup> ) 10 Compute g (57) _O_ ( _m_ <sup>2</sup> ) 11 Compute H (58) _O_ ( _m_ <sup>3</sup> ) 12 Compute ( _β_, B) ← ( _β_, B) - Δ (69) _O_ ( _m_ <sup>3</sup> ) 13 If | Δ | - 10 <sup>−4</sup> or H is not positive definite, _O_ ( _m_ <sup>3</sup> ) where E 10 = diag( F 10 x f 10) U 10 = XF 10 + E 10 (59) E 01 = diag( F 01 x f 01) U 01 = XF 01 + E 01 (60) E = diag( F x f diag( F 20 x f 20) 20 20 20 H = X ( E + F X ) U F 1 U = diag( F 20 x f 20) 20 = X ( E 20 + F 20 X ) U 10 F 001 U 10T = X ( E 20 + F 20 X ) U 10 F 001 U 10T (61) ( E 20 + F 20 X ) go to Step 5 _O_ ( _m_ <sup>3</sup> ) <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> Table 4. Models for the H(1s <sup>2</sup> ) cc-pVTZ Density _Q_ ( _m_ ) _L_ −1/2( _m_ ) _L_ +1/2( _m_ ) _L_ +3/2( _m_ ) _m_ _λi_ _ci_ _λi_ _ci_ _λi_ _ci_ _λi_ _ci_ 1 +1.032 1.000 +0.876 1.000 +1.011 1.000 +1.159 1.000 = 1.8 × 10 <sup>−1</sup> = 1.7 × 10 <sup>−1</sup> = 1.8 × 10 <sup>−1</sup> = 2.1 × 10 <sup>−1</sup> 2 +0.421 0.610 +0.315 0.572 +0.497 0.700 +0.719 0.824 +1.827 0.390 +1.802 0.428 +2.083 0.300 +2.455 0.176 = 5.1 × 10 <sup>−2</sup> = 5.5 × 10 <sup>−2</sup> = 4.2 × 10 <sup>−2</sup> = 6.7 × 10 <sup>−2</sup> 3 +0.004 0.262 +0.027 0.308 +0.219 0.456 +0.439 0.621 +0.935 0.533 +1.102 0.563 +1.396 0.476 +1.741 0.348 +2.250 0.204 +2.583 0.129 +2.974 0.068 +3.430 0.031 = 2.8 × 10 <sup>−2</sup> = 1.8 × 10 <sup>−2</sup> = 1.2 × 10 <sup>−2</sup> = 2.0 × 10 <sup>−2</sup> 4 −0.174 0.161 −0.139 0.186 −0.036 0.249 +0.316 0.519 +0.660 0.465 +0.765 0.521 +0.908 0.521 +1.478 0.412 +1.564 0.295 +1.849 0.260 +2.027 0.208 +2.838 0.066 +2.776 0.080 +3.361 0.032 +3.581 0.022 +4.621 0.003 = 1.2 × 10 <sup>−2</sup> = 5.4 × 10 <sup>−3</sup> = 4.5 × 10 <sup>−3</sup> = 1.2 × 10 <sup>−2</sup> 5 −0.196 0.147 −0.165 0.169 −0.130 0.189 −0.057 0.228 +0.550 0.325 +0.707 0.499 +0.758 0.506 +0.831 0.496 +1.008 0.254 +1.709 0.278 +1.787 0.261 +1.854 0.238 +1.833 0.233 +2.917 0.050 +3.074 0.042 +3.148 0.037 +3.183 0.041 +4.455 0.004 +4.810 0.002 +4.924 0.002 = 5.7 × 10 <sup>−3</sup> = 1.6 × 10 <sup>−3</sup> = 6.6 × 10 <sup>−4</sup> = 7.1 × 10 <sup>−4</sup> 6 −0.196 0.147 −0.190 0.152 −0.176 0.161 −0.135 0.183 +0.539 0.305 +0.610 0.412 +0.660 0.459 +0.730 0.490 +0.961 0.255 +1.225 0.211 +1.436 0.214 +1.684 0.254 +1.738 0.219 +1.927 0.187 +2.043 0.132 +2.421 0.046 +2.411 0.049 +3.147 0.036 +3.192 0.033 +3.268 0.026 +3.456 0.024 +4.874 0.002 +4.936 0.002 +4.975 0.002 = 4.7 × 10 <sup>−3</sup> = 2.5 × 10 <sup>−4</sup> = 1.5 × 10 <sup>−4</sup> = 1.8 × 10 <sup>−4</sup> E = diag( F x f = diag( F 11 x f 11) 11 = X ( E 11 F 11 X ) U 10 F 001 U 01T diag( F 11 x f 11) 11 11 11 H = X ( E F X ) U F 1 U = X ( E 11 F 11 X ) U 10 F 001 U 01T (62) ( E 11 F 11 X ) E = diag( F x f = diag( F 02 x f 02) 02 = X ( E 02 F 02 X ) U 01 F 001 U 01T diag( F 02 x f 02) 02 02 02 H = X ( E F X ) U F 1 U = X ( E 02 F 02 X ) U 01 F 001 U 01T (63) ( E 02 F 02 X ) and X = diag(x). The square brackets in (57) and (58) indicate that only the first _m_ elements of the enclosed vector, or the first _m_ -by- _m_ block of the enclosed matrix, is retained. It is well-known, however, that the optimal exponents of Gaussian expansions of exponential densities form a roughly geometrical sequence <sup>35,47</sup> and that the exponents typically span several orders of magnitude. We therefore choose to work with the log-exponents _i_ = ln _i_ (64) which are roughly evenly spaced and typically of the order of unity. By the chain rule, the elements of the gradient and Hessian of _Z_ with respect to the _λi_ are [ g ] = diag( )[ g ] (65) H 20 = diag([ g ]) + diag( )[ H 20] diag( ) (66) H 11 = diag( )[ H 11] (67) i i H 20 H 11 y H = 2jjjjjj H 11T [ H 02]zzzzzz i jjjjjj k H H 20 11 2 jjjjjj H T [ H y zzzzzz { = 2jjjjjjk H 11T [ H 02 T 11 [ H 02]{ (68) _2.2.5._ _Optimization_ _Step._ Given the gradient (g) and Hessian (H) of (38), we are in a position to find the optimal _β_ and B via an iterative scheme. Although the Newton−Raphson method could be used, it is effective only if current _β_ and B are near-optimal and can be disastrous otherwise. We prefer the slower (but more robust) approach taken by the Levenberg− Marquardt method, <sup>48,49</sup> wherein a small fraction _σ_ - 0 of the identity matrix is added to the Hessian to form the shiftedNewton step = ( H + I <u>)</u> <sup>1</sup> g (69) The shift _σ_ should decay as the optimization proceeds and we have found that _σ_ = 10|g| is effective for all the densities discussed below and hundreds of others that we have explored. When optimizing _β_ and B, our goal is to reduce _Z_ to within 1% of its minimum value. This is usually achieved when H is positive definite and | Δ | < 10 <sup>−4</sup> . _2.2.6._ _Algorithm._ The inputs to our algorithm are the density _ρ_ (r), the number _m_ of Gaussians in the desired model, the weight function parameter _p_, the constraint matrix and the constraint vector . The way in which we generate initial guesses for the nonlinear ( _β_ and B) parameters depends on whether the Gaussian density is spherical or cylindrical, but after that, the algorithm becomes the same. The overall algorithm, together with links to key equations, is shown in Table 3. 3. RESULTS AND DISCUSSION 3.1. Spherical Densities. _3.1.1._ _Preamble._ Armed with the necessary theory, we now consider how it can be applied in calculations using the Dunning cc-pVTZ basis set. <sup>39</sup> If the basis <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> Table 5. Models for the rec-cc-pVTZ C(1s2s) Density ( _S_ = 0.456) _Q_ ( _m_ ) _L_ −1/2( _m_ ) _L_ +1/2( _m_ ) _L_ +3/2( _m_ ) _m_ _λi_ _ci_ / _S_ _λi_ _ci_ / _S_ _λi_ _ci_ / _S_ _λi_ _ci_ / _S_ 1 4.031 1.000 3.386 1.000 3.685 1.000 3.976 1.000 = 6.3 × 10 <sup>−1</sup> = 4.3 × 10 <sup>−1</sup> = 4.9 × 10 <sup>−1</sup> = 6.0 × 10 <sup>−1</sup> 2 3.273 0.725 2.349 0.441 2.835 0.642 3.284 0.796 5.098 0.275 4.445 0.559 4.954 0.358 5.454 0.204 = 1.5 × 10 <sup>−1</sup> = 1.6 × 10 <sup>−1</sup> = 1.4 × 10 <sup>−1</sup> = 2.1 × 10 <sup>−1</sup> 3 2.855 0.524 1.423 0.117 2.334 0.382 2.872 0.615 4.150 0.332 3.159 0.572 3.958 0.484 4.657 0.342 5.561 0.144 5.036 0.312 5.699 0.134 6.423 0.043 = 6.1 × 10 <sup>−2</sup> = 1.1 × 10 <sup>−1</sup> = 5.1 × 10 <sup>−2</sup> = 8.7 × 10 <sup>−2</sup> 4 2.625 0.416 0.854 0.046 1.708 0.155 2.574 0.467 3.703 0.298 2.622 0.396 3.165 0.485 4.104 0.396 4.715 0.216 4.027 0.419 4.646 0.307 5.504 0.127 6.015 0.070 5.646 0.139 6.272 0.053 7.218 0.010 = 3.1 × 10 <sup>−2</sup> = 4.8 × 10 <sup>−2</sup> = 1.9 × 10 <sup>−2</sup> = 4.0 × 10 <sup>−2</sup> 5 2.544 0.370 0.494 0.023 1.195 0.071 2.273 0.321 3.369 0.167 2.117 0.187 2.750 0.403 3.596 0.412 3.941 0.220 3.216 0.416 4.018 0.352 4.874 0.221 4.877 0.190 4.554 0.306 5.279 0.156 6.180 0.044 6.191 0.053 6.098 0.068 6.871 0.018 7.879 0.003 = 2.6 × 10 <sup>−2</sup> = 2.5 × 10 <sup>−2</sup> = 9.8 × 10 <sup>−3</sup> = 2.1 × 10 <sup>−2</sup> 6 2.182 0.143 0.217 0.013 0.957 0.049 1.958 0.201 2.768 0.281 1.602 0.081 2.534 0.318 3.208 0.416 3.682 0.266 2.775 0.369 3.609 0.341 4.437 0.276 4.457 0.156 3.924 0.331 4.732 0.225 5.576 0.093 5.177 0.119 5.109 0.179 5.920 0.062 6.875 0.013 6.424 0.035 6.624 0.028 7.503 0.006 8.583 0.001 = 1.7 × 10 <sup>−2</sup> = 1.1 × 10 <sup>−2</sup> = 3.7 × 10 <sup>−3</sup> = 1.2 × 10 <sup>−2</sup> functions are concentric, their density is spherical and has the Fourier transform (14) _n_ = _di_ exp( _ik_ 2 ( _k_ ) = _di_ exp( _ik_ 2) _i_ =1 (70) _i_ _i_ _i_ 1 and the associated weight function (40) is _n_ 1 _di_ (ln _u_ + _i_ / _w_ ( _u_ ) = _u_ 1 _di_ (ln _u_ + _i_ / ) = _u_ 1 _di_ (ln _u_ + _i_ / 0 _i_ =1 _i_ =1 (71) _i_ where _δ_ is the Dirac delta. If all _di_ - 0, then _w_ ( _u_ ) is nonnegative and, from (43), we have Ä _n_ _n_ Ä _n_ É Ä _n_ É 2 _m_ _di_ _i_ 1/2 _di_ _i_ 3/2 _i_ =1 _i_ =1 ÅÅÅÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÑÑÑÖ ÅÅÅÅÅÅÅÅÅÅÅÇ ÑÑÑÑÑÑÑÑÑÑÑÖ Ä _i_ ÅÅÅÅÅÅÅÅÅÅÅÇ Ä É É = 2 _m_ _di_ _i_ 1/2 _di_ _i_ 3/2 1/2 0 _i_ _i_ _i_ _i_ _i_ =1 _i_ =1 Ç Ö Ç _i_ _i_ ÉÑÑÑÑÑÑÑÑÑÑÑÖ Ö _i_ Ç ÄÅÅÅÅÅÅÅÅÅÅÅÇ Ç _i_ =1 Ö Ç _i_ =1 Ö (72) _i_ Ö _i_ 1 To find the _Q_ ( _m_ ), we need the moments _n_ ( _j_ / ) = _di_ exp( _j_ _i_ / ) 0 ) = _di_ exp( _j_ _i_ / 0) _i_ =1 _i_ =1 (73) important, however, to assess the resulting models _χ_ (r) by measuring the largest _pointwise_ difference between _ρ_ (r) and _χ_ (r). For a spherical density, it is natural to measure this through the maximum Jacobian-weighted error = max[4 _r_ 2| ( _r_ ) ( _r_ )|] (76) and we report this for each of the models described below. _3.1.2. H(1s1s) Density._ Our first example comes from the 5fold contracted basis function on an H atom in the cc-pVTZ basis set (see Table 1). The product of this function with itself yields a density with _n_ = 15 distinct Gaussians and its _Q_ ( _m_ ) and _Lp_ ( _m_ ) models are listed in Table 4. The exponents of the _Lp_ ( _m_ ) change smoothly and predictably as _p_ and _m_ are varied. The _L_ −1/2( _m_ ) are the most diffuse (i.e., their _λi_ are most negative) and the _L_ +3/2( _m_ ) are the most compact (i.e., their _λi_ are the most positive). This is reasonable because, whereas the _L_ −1/2( _m_ ) use a Fourier weight 1/(2 _π_ _k_ <sup>4</sup> ) that emphasizes low-frequency components of the density and therefore its tail, the _L_ +3/2( _m_ ) use a weight 1/(2 _πk_ <sup>0</sup> ) that places greater emphasis on the high-frequency components and therefore the region near the nuclear cusp. The _L_ +1/2( _m_ ) exponents are remarkably close to the average of the analogous _L_ −1/2( _m_ ) and _L_ +3/2( _m_ ) exponents, thus generalizing the near-linear behavior seen in Figure 1. The exponents of _Q_ ( _m_ ) also change smoothly with _m_ . Their most diffuse exponents are similar to those in _L_ +1/2( _m_ ) when _m_ is small and similar to those in _L_ −1/2( _m_ ) when _m_ is larger but the range _λm_ - _λ_ 1 of the _Q_ ( _m_ ) exponents is smaller than in any of the least-squares models. For applications for which a quick and reasonably accurate approximation is required, the _Q_ ( _m_ ) models appear useful. _i_ and, to find the _Lp_ ( _m_ ), we need the integrals _n_ _n_ _Z_ 0 = _d di_ _j_ _p_,0( _i_ + _j_, 0) 0 = _d di_ _j_ _p_,0( _i_ + _j_, _i_ =1 _j_ =1 =1 _j_ =1 (74) _i_ _j_ _n_ 00 = _dj_ _p_,0( _j_ + _i_ _j_ =1 _dj_ _p_,0( _j_ +, 0) _j_ =1 (75) _j_ The _Q_ ( _m_ ) and _Lp_ ( _m_ ) models are constructed to mimic the original density _ρ_ (r) as well as possible over all space. It is also <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> Table 6. _L_ −1/2( _m_ ) Models for cc-pVTZ H(1s)H(1s) Densities with Various _R_ _R_ = 4.928, _S_ = 0.100 _R_ = 7.725, _S_ = 0.010 _R_ = 9.995, _S_ = 0.001 _m_ _Bi_ _λi_ _ci_ / _S_ _Bi_ _λi_ _ci_ / _S_ _Bi_ _λi_ _ci_ / _S_ 1 +0.000 +0.015 1.000 +0.000 −0.239 1.000 +0.000 −0.262 1.000 = 3.6 × 10 <sup>−3</sup> = 2.2 × 10 <sup>−4</sup> = 1.0 × 10 <sup>−5</sup> 2 −1.142 +0.282 0.500 −1.287 +0.019 0.500 −0.990 −0.125 0.500 +1.142 +0.282 0.500 +1.287 +0.019 0.500 +0.990 −0.125 0.500 = 1.8 × 10 <sup>−3</sup> = 9.1 × 10 <sup>−5</sup> = 3.9 × 10 <sup>−6</sup> 3 −1.382 +0.709 0.274 −2.320 +0.657 0.133 −2.743 +0.561 0.062 +0.000 −0.182 0.452 +0.000 −0.165 0.734 +0.000 −0.193 0.875 +1.382 +0.709 0.274 +2.320 +0.657 0.133 +2.743 +0.561 0.062 = 1.1 × 10 <sup>−3</sup> = 3.6 × 10 <sup>−5</sup> = 9.6 × 10 <sup>−7</sup> 4 −1.763 +0.913 0.168 −2.323 +0.670 0.132 −2.744 +0.561 0.062 +0.000 −0.163 0.510 +0.000 −0.184 0.717 +0.000 +3.312 −0.0001 +0.000 +0.662 0.155 +0.000 +0.583 0.018 +0.000 −0.192 0.875 +1.763 +0.913 0.168 +2.323 +0.670 0.132 +2.744 +0.561 0.062 = 8.0 × 10 <sup>−4</sup> = 3.6 × 10 <sup>−5</sup> = 9.6 × 10 <sup>−7</sup> 5 −2.229 +1.761 0.030 −3.276 +1.640 0.013 −4.252 +1.696 0.002 −1.137 +0.554 0.290 −1.982 +0.531 0.146 −2.607 +0.541 0.062 +0.000 −0.273 0.361 +0.000 −0.198 0.683 +0.000 −0.196 0.870 +1.137 +0.554 0.290 +1.982 +0.531 0.146 +2.607 +0.541 0.062 +2.229 +1.761 0.030 +3.276 +1.640 0.013 +4.252 +1.696 0.002 = 3.1 × 10 <sup>−4</sup> = 1.1 × 10 <sup>−5</sup> = 1.8 × 10 <sup>−7</sup> 6 −2.138 +1.915 0.025 −3.327 +1.785 0.010 −1.368 +0.596 0.220 −2.037 +0.550 0.144 +0.000 −0.186 0.445 +0.000 −0.195 0.689 +0.000 +0.872 0.064 +0.000 +0.886 0.002 +1.368 +0.596 0.220 +2.037 +0.550 0.144 +2.138 +1.915 0.025 +3.327 +1.785 0.010 = 2.7 × 10 <sup>−4</sup> = 9.0 × 10 <sup>−6</sup> _3.1.3. C(1s2s) Density._ Our second example comes from the product of the two 10-fold contracted rec-cc-pVTZ basis functions on a C atom (see Table 2). Their product yields a density with _n_ = 55 distinct Gaussians and its _Q_ ( _m_ ) and _Lp_ ( _m_ ) models are listed in Table 5. _3.1.4._ _Other_ _Densities._ We have applied our algorithm for spherical densities to all of the concentric _ss_ products arising in the cc-pVDZ and cc-pVTZ basis sets of Dunning and the pc-1 and pc-2 basis set of Jensen, constructing _L_ −1/2( _m_ ), _L_ 1/2( _m_ ) and _L_ 3/2( _m_ ) models with _m_ = 1,..., 6. The maximum error does not show a strong dependence on _p_ but we find that the smallest is often obtained by _L_ 3/2( _m_ ) if _m_ is small, and by _L_ 1/2( _m_ ) if _m_ is larger. In many cases, the number _m_ of Gaussians required to accurately model a density with a large number _n_ of Gaussians is surprisingly small. The explanation for this encouraging discovery appears to lie in the distribution of exponents _αklμν_ in _R_ - 0, their product yields a Gaussian density _ρ_ (r) with cylindrical symmetry and, to find the _Lp_ ( _m_ ), we need _n_ _n_ _Z_ 0 = _d di_ _j_ _p_,0( _i_ + _j_, _Ai_ _Aj_ ) 0 = _d di_ _j_ _p_,0( _i_ + _j_, _Ai_ _Aj_ _i_ =1 _j_ =1 _i_ =1 _j_ =1 (77) _i_ _j_ _n_ 00 = _dj_ _p_ + _q_,0( _j_ + _i_, _Aj_ _Bi_ _j_ =1 _dj_ _p_ + _q_,0( _j_ +, _Aj_ _Bi_ ) (78) + _j_ _j_ = discovery appears to lie in the distribution of exponents _αklμν_ in a typical basis function product. We see from (7) that the _αklμν_ are simple sums of the _αμk_ and _αlν_ of the parent basis functions but, because the latter typically form a roughly geometrical sequence, the distribution of _αklμν_ is clustered. To illustrate this, _klμν_ The overlap _S_ = ∫ _ρ_ (r) dr of the functions decays rapidly as _R_ increases and it is interesting to compare the accuracies of the _Lp_ ( _m_ ) models as a function of _R_ . The _Lp_ ( _m_ ) models are constructed to mimic the original density _ρ_ (r) as well as possible over all space. It is also important, however, to assess the resulting models _χ_ (r) by measuring the largest _pointwise_ difference between _ρ_ (r) and _χ_ (r). For a cylindrical density, it is natural to measure this through the maximum axial error = max[2 _x_ 2 + _y_ 2 | ( r ) ( r )|] (79) and we report this for each of the models described below. _3.2.2._ _H(1s)H(1s)_ _Density._ Our first example is the product of the 5-fold contracted cc-pVTZ basis functions (Table 1) on two hydrogen atoms centered at (0, 0, ± _R_ /2). The density consists of 25 Gaussians, and _L_ −1/2( _m_ ) models with _m_ = 1 to 6 Gaussians are shown in Table 6. We have considered three values of _R_, chosen so that the resulting overlap _S_ is close to 0.1, 0.01, or 0.001. These correspond roughly to the most distant H atoms in the _μk_ and _αlν_ are simple sums of the _αμk_ sequence, the distribution of _αklμν_ is clustered. To illustrate this, consider a hypothetical basis function with _αkμ_ = {1000, 100, consider a hypothetical basis function with _αkμ_ = {1000, 100, 10, 1}. The product of this with itself generates a Gaussian density with _αklμμ_ = {2000, 1100, 1010, 1001, 200, 110, 101, 20, density with _αklμμ_ = {2000, 1100, 1010, 1001, 200, 110, 101, 20, 11, 2}, and although these 10 exponents are strictly distinct, the second, third and fourth Gaussians are similar (as are the sixth and seventh Gaussians) and can be modeled quite well by a single Gaussian. 3.2. Cylindrical Densities. _3.2.1._ _Preamble._ If two basis functions are on different centers, separated by a distance <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> Table 7. _L_ −1/2( _m_ ) Models for rec-cc-pVTZ C(2s)H(1s) Densities with Various _R_ _R_ = 4.669, _S_ = 0.100 _R_ = 7.305, _S_ = 0.010 _R_ = 9.446, _S_ = 0.001 _m_ _Bi_ _λi_ _ci_ / _S_ _Bi_ _λi_ _ci_ / _S_ _Bi_ _λi_ _ci_ / _S_ 1 −0.285 +0.158 1.000 −0.593 −0.090 1.000 −0.712 −0.134 1.000 = 3.8 × 10 <sup>−3</sup> = 3.2 × 10 <sup>−4</sup> = 1.8 × 10 <sup>−5</sup> 2 −1.179 +0.418 0.561 −1.779 +0.310 0.480 −2.135 +0.266 0.303 +0.889 +0.378 0.439 +0.567 +0.025 0.520 −0.072 −0.082 0.697 = 3.1 × 10 <sup>−3</sup> = 1.2 × 10 <sup>−4</sup> = 4.6 × 10 <sup>−6</sup> 3 −1.320 +0.761 0.344 −2.306 +0.758 0.196 −2.797 +0.677 0.120 −0.289 −0.099 0.387 −0.437 −0.041 0.699 −0.537 −0.073 0.838 +1.079 +0.733 0.270 +1.869 +0.662 0.105 +2.171 +0.595 0.041 = 2.9 × 10 <sup>−3</sup> = 1.1 × 10 <sup>−4</sup> = 3.0 × 10 <sup>−6</sup> 4 −1.691 +0.948 0.197 −3.396 +2.405 0.006 −4.158 +1.924 0.003 −0.274 −0.039 0.487 −2.197 +0.707 0.203 −2.710 +0.653 0.121 −0.170 +0.776 0.171 −0.434 −0.052 0.681 −0.533 −0.076 0.834 +1.529 +0.954 0.145 +1.813 +0.646 0.110 +2.136 +0.594 0.042 =2.7 × 10 <sup>−3</sup> =8.6 × 10 <sup>−5</sup> =2.4 × 10 <sup>−6</sup> 5 −2.280 +3.202 0.008 −3.232 +1.878 0.012 −4.037 +1.686 0.005 −1.345 +0.719 0.329 −2.068 +0.649 0.222 −2.675 +0.641 0.122 −0.230 −0.152 0.345 −0.418 −0.080 0.640 −0.530 −0.078 0.831 +0.652 +0.625 0.274 +1.487 +0.568 0.115 +2.061 +0.595 0.041 +1.978 +1.429 0.044 +2.849 +1.438 0.011 +3.881 +1.783 0.001 = 1.6 × 10 <sup>−3</sup> = 9.4 × 10 <sup>−5</sup> = 2.5 × 10 <sup>−6</sup> 6 −2.249 +3.354 0.007 −3.573 +3.933 0.002 −4.647 +3.942 0.0004 −1.460 +0.796 0.257 −2.812 +1.213 0.032 −3.766 +1.398 0.007 −0.318 −0.053 0.436 −1.959 +0.590 0.211 −2.646 +0.625 0.121 +0.013 +0.918 0.093 −0.406 −0.083 0.631 −0.527 −0.078 0.829 +1.131 +0.611 0.184 +1.523 +0.582 0.116 +2.052 +0.598 0.041 +1.915 +1.868 0.024 +2.929 +1.587 0.009 +3.830 +1.672 0.001 = 1.5 × 10 <sup>−3</sup> = 3.5 × 10 <sup>−5</sup> = 8.7 × 10 <sup>−7</sup> equilibrium structures of ethane, propane and butane, respectively. In the least-squares approximation of smooth functions by other smooth functions, pointwise convergence is expected to be exponential <sup>50</sup> and this seems to be observed here. As the number _m_ of Gaussians in the model grows, the maximum error decays rapidly. In all cases, the optimal centers _Bi_ are symmetrically and more or less uniformly distributed on the _z_ axis, the central Gaussian is the most diffuse (its _λi_ is the most negative) and the Gaussians furthest from the origin are the least diffuse and have the smallest coefficients _ci_ . It is particularly encouraging to note that, for _R_ ≈ 10, the 25Gaussian density can be approximated very accurately ( < 1 × 10 6) by a model with just three Gaussians, or accurately ( = 1 × 10 <sup>5</sup> ) by a model with just a single Gaussian! The reported _m_ = 4 model for _R_ ≈ 10 is a local minimum, with a _Z_ value 0.5% larger than the global minimum. The values are the same. It seems clear that adding a fourth Gaussian to the model provides negligible improvement, so its precise _λi_ and _ci_ have little bearing on the overally accuracy. The fifth Gaussian is needed to noticeably lower both _Z_ and, but this is unimportant since this density can be modeled so accurately with even a single Gaussian. _3.2.3._ _C(2s)H(1s)_ _Density._ Our second example is the product of the 10-fold contracted rec-cc-pVTZ 2 _s_ basis function on a C atom at (0, 0, - _R_ /2) with the 5-fold contracted cc-pVTZ basis function on a H atom at (0, 0, + _R_ /2) (see Tables 1 and 2). The product consists of 50 Gaussians, and _L_ −1/2( _m_ ) models with _m_ = 1 to 6 Gaussians are shown in Table 7. As before, we have considered three values of _R_, chosen so that the resulting overlap _S_ is close to 0.1, 0.01, or 0.001. These correspond roughly to the most separated C and H atoms in the equilibrium structures of ethane, propane and butane, respectively. Although the maximum pointwise error of the models almost always decreases as _m_ grows, its decay is slower than for the H(1s)H(1s) densities above. More detailed investigation revealed that the pointwise error is usually largest (and oscillating) in a small region close to the carbon nucleus, but because of volume effects, this error contributes relatively little to the integral in (21) and is therefore only slowly reduced as more Gaussians are added to the model. As was observed for the H(1s)H(1s) densities, the models in Table 7 are usually dominated by a diffuse Gaussian near the origin, flanked by tighter Gaussians with smaller coefficients, and the central dominance is even more marked in the large- _R_ densities. It is clear from the values that the 50-Gaussian densities arising from the overlap of well separated C(2s) and H(1s) functions can be very accurately modeled by models with very small numbers of Gaussians. 4. CONCLUSIONS The electron density _D_ (r) is a fundamental quantity in all quantum chemical calculations and, in order that those calculations be efficient, it is desirable that _D_ (r) be represented as compactly as possible. Most of the successful previous work in this area projects _D_ (r) into a global auxiliary basis set but, in the present work, we have sought instead to approximate each <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> basis function product that contributes to _D_ (r) in a small, local basis that is explicitly tailored to that product. This is achieved by performing a nonlinear optimization with a few adjustable parameters for each product, and we have presented expressions for all of the first and second derivatives required to use Newton’s method or a similar second-order scheme. We have applied our algorithm to many of the products that arise when Dunning’s cc-pVnZ or Jensen’s pc-n basis sets are used, and we find that, in many cases, products consisting of many primitive Gaussians can be accurately approximated by models with only a few, well-optimized Gaussians. We anticipate that when such models are used in quantum chemical calculations, the resulting errors will be small while the computational speed will be significantly enhanced. # ■* sı Supporting ASSOCIATED Information CONTENT The Supporting Information is available free of charge at [https://pubs.acs.org/doi/10.1021/acs.jpca.3c04363.](https://pubs.acs.org/doi/10.1021/acs.jpca.3c04363?goto=supporting-info) The Golub-Welsch algorithm [(PDF)](https://pubs.acs.org/doi/suppl/10.1021/acs.jpca.3c04363/suppl_file/jp3c04363_si_001.pdf) # ■ Corresponding AUTHOR INFORMATION Author Peter M. W. Gill − _School of Chemistry, University of Sydney,_ _Camperdown,_ _NSW_ _2006,_ _Australia;_ [orcid.org/0000-](https://orcid.org/0000-0003-1042-6331) [0003-1042-6331; Phone: +61 2 8627 9486; Email: p.gill@](https://orcid.org/0000-0003-1042-6331) [sydney.edu.au](mailto:p.gill@sydney.edu.au) [Author](https://pubs.acs.org/action/doSearch?field1=Contrib&text1="Ellena+K.+G.+Black"&field2=AllField&text2=&publication=&accessType=allContent&Earliest=&ref=pdf) Ellena K. G. Black - _School_ _of_ _Chemistry,_ _University_ _of_ _Sydney,_ _Camperdown,_ _NSW_ _2006,_ _Australia_ Complete contact information is available at: [https://pubs.acs.org/10.1021/acs.jpca.3c04363](https://pubs.acs.org/doi/10.1021/acs.jpca.3c04363?ref=pdf) Notes The authors declare no competing financial interest. # ■ ACKNOWLEDGMENTS E.K.G.B. thanks the University of Sydney for a Ph.D. scholarship and a Postgraduate Teaching Fellowship. # ■(1) REFERENCES Hohenberg, P.; Kohn, W. Inhomogeneous electron gas. Phys. _Rev._ 1964, _136_, B864−B871. (2) Davidson, E. R. _Reduced_ _density_ _matrices_ _in_ _quantum_ _chemistry_ ; Academic: New York, 1976; pp 1−2. (3) Parr, R. G.; Yang, W. _Density-functional_ _theory_ _of_ _atoms_ _and_ _molecules_ ; Clarendon Press: Oxford, U.K., 1989; pp 24−26. (4) Szabo, A.; Ostlund, N. S. _Modern_ _quantum_ _chemistry_ ; McGrawHill: New York, 1989; pp 108−230. (5) Boys, S. F. Electronic wave [functions.](https://doi.org/10.1098/rspa.1950.0036) 1. A general method of calculation for the stationary [states](https://doi.org/10.1098/rspa.1950.0036) of any molecular system. _Proc._ _R._ _Soc._ _London,_ _Ser._ _A_ 1950, _200_, 542−554. [(6) Dupuis, M.; Rys, J.; King, H. F. Evaluation of molecular integrals](https://doi.org/10.1063/1.432807) over Gaussian [basis](https://doi.org/10.1063/1.432807) functions. _J._ _Chem._ _Phys._ 1976, _65_, 111−116. (7) McMurchie, L. E.; Davidson, E. R. One- and two-electron [integrals over Cartesian Gaussian functions.](https://doi.org/10.1016/0021-9991%0x2878%0x2990092-X) _J. Comput. Phys._ 1978, _26_, 218−231. [(8) Obara, S.; Saika, A. Efficient recursive computation of molecular](https://doi.org/10.1063/1.450106) integrals over [cartesian](https://doi.org/10.1063/1.450106) gaussian functions. _J._ _Chem._ _Phys._ 1986, _84_, 3963−3974. (9) Head-Gordon, M.; Pople, J. A. A method [for](https://doi.org/10.1063/1.455553) two-electron gaussian integral and integral [derivative](https://doi.org/10.1063/1.455553) evaluation using recurrence [relations.](https://doi.org/10.1063/1.455553) _J._ _Chem._ _Phys._ 1988, _89_, 5777−5786. (10) Hamilton, T. P.; Schaefer, H. F., III New [variations](https://doi.org/10.1016/0301-0104%0x2891%0x2980126-3) in twoelectron integral evaluation in the context of direct SCF procedures. _Chem._ _Phys._ 1991, _150_, 163−171. (11) Lindh, R.; Ryu, U.; Liu, B. The reduced [multiplication scheme](https://doi.org/10.1063/1.461610) of the Rys quadrature and new recurrence relations for auxiliary function based [two-electron](https://doi.org/10.1063/1.461610) integral evaluation. _J._ _Chem._ _Phys._ 1991, _95_, 5889−5897. (12) Gill, P. M. W.; Pople, J. A. The PRISM [algorithm](https://doi.org/10.1002/qua.560400605) for twoelectron integrals. _Int._ _J._ _Quantum_ _Chem._ 1991, _40_, 753−772. [(13) Gill, P. M. W. Molecular integrals over gaussian basis functions.](https://doi.org/10.1016/S0065-3276%0x2808%0x2960019-2) _Adv._ _Quantum_ _Chem._ 1994, _25_, 141−205. (14) Adams, T. R.; Adamson, R. D.; Gill, P. M. W. A [tensor](https://doi.org/10.1063/1.474359) approach to [two-electron](https://doi.org/10.1063/1.474359) matrix elements. _J._ _Chem._ _Phys._ 1997, _107_, 124−131. [(15) Ishida, K. Rigorous algorithm for the electron repulsion integral](https://doi.org/10.1063/1.1316013) [over the generally contracted solid harmonic Gaussian-type orbitals.](https://doi.org/10.1063/1.1316013) _J._ _Chem._ _Phys._ 2000, _113_, 7818−7829. [(16) Makowski, M. Simple yet powerful techniques for optimization](https://doi.org/10.1002/qua.21056) of horizontal recursion steps in [gaussian-type](https://doi.org/10.1002/qua.21056) two-electron integral evaluation algorithms. _Int._ _J._ _Quantum_ _Chem._ 2007, _107_, 30−36. (17) Komornicki, A.; King, H. F. A general [formulation](https://doi.org/10.1063/1.3600745) for the efficient evaluation of n-electron [integrals](https://doi.org/10.1063/1.3600745) over products of gaussian charge distributions with [gaussian](https://doi.org/10.1063/1.3600745) geminal functions. _J._ _Chem._ _Phys._ 2011, _134_, 244115. (18) Reeves, C. M.; Fletcher, R. Use of gaussian functions in the [calculation of wavefunctions for small molecules. III. The orbital basis](https://doi.org/10.1063/1.1695896) and its [effect](https://doi.org/10.1063/1.1695896) on valence. _J._ _Chem._ _Phys._ 1965, _42_, 4073−4081. (19) O-ohata, K.; Taketa, H.; Huzinaga, S. Gaussian [expansions](https://doi.org/10.1143/JPSJ.21.2306) of atomic [orbitals.](https://doi.org/10.1143/JPSJ.21.2306) _J._ _Phys._ _Soc._ _Jpn._ 1966, _21_, 2306−2313. (20) Newton, M. D.; Ostlund, N. S.; Pople, J. A. [Projection](https://doi.org/10.1063/1.1670022) of diatomic differential overlap: [Least-squares](https://doi.org/10.1063/1.1670022) projection of two-center distributions onto [one-center](https://doi.org/10.1063/1.1670022) functions. _J._ _Chem._ _Phys._ 1968, _49_, 5192−5194. (21) Hehre, W. J.; Stewart, R. F.; Pople, J. A. [Self-consistent](https://doi.org/10.1063/1.1672392) molecular-orbital methods. I. Use of gaussian expansions of Slatertype [atomic](https://doi.org/10.1063/1.1672392) orbitals. _J._ _Chem._ _Phys._ 1969, _51_, 2657−2664. (22) Stewart, R. F. Small gaussian [expansions](https://doi.org/10.1063/1.1671406) of atomic orbitals. _J._ _Chem._ _Phys._ 1969, _50_, 2485−2495. (23) Billingsley, F. P., II; Bloor, J. E. Limited [expansion](https://doi.org/10.1063/1.1675655) of diatomic overlap (LEDO): A near-accurate approximate ab initio LCAO MO [method. I. Theory and preliminary investigations.](https://doi.org/10.1063/1.1675655) _J. Chem. Phys._ 1971, _55_, 5178−5190. (24) Baerends, E. J.; Ellis, D. E.; Ros, P. [Self-consistent](https://doi.org/10.1016/0301-0104%0x2873%0x2980059-X) molecular Hartree-Fock-Slater calculations. [I.](https://doi.org/10.1016/0301-0104%0x2873%0x2980059-X) The computational procedure. _Chem._ _Phys._ 1973, _2_, 41−51. (25) Whitten, J. Coulombic potential energy integrals and [approximations.](https://doi.org/10.1063/1.1679012) _J._ _Chem._ _Phys._ 1973, _58_, 4496−4501. [(26) Beebe, N. H. F.; Linderberg, J. Simplifications in the generation](https://doi.org/10.1002/qua.560120408) [and transformation of two-electron integrals in molecular calculations.](https://doi.org/10.1002/qua.560120408) _Int._ _J._ _Quantum_ _Chem._ 1977, _12_, 683−705. [(27) Dunlap, B. I.; Connolly, J.; Sabin, J. On some approximations in](https://doi.org/10.1063/1.438728) applications [of](https://doi.org/10.1063/1.438728) X _α_ theory. _J._ _Chem._ _Phys._ 1979, _71_, 3396−3402. (28) Fortunelli, A.; Salvetti, O. A simplified [representation](https://doi.org/10.1002/jcc.540120105) of the [potential produced by gaussian charge distributions.](https://doi.org/10.1002/jcc.540120105) _J. Comput. Chem._ 1991, _12_, 36−41. (29) Feyereisen, M.; Fitzgerald, G.; Komornicki, A. [Use](https://doi.org/10.1016/0009-2614%0x2893%0x2987156-W) of approximate integrals in ab [initio](https://doi.org/10.1016/0009-2614%0x2893%0x2987156-W) theory. An application in MP2 energy [calculations.](https://doi.org/10.1016/0009-2614%0x2893%0x2987156-W) _Chem._ _Phys._ _Lett._ 1993, _208_, 359−363. (30) Eichkorn, K.; Treutler, O.; Öhm, H.; Häser, M.; Ahlrichs, R. Auxiliary basis sets to [approximate](https://doi.org/10.1016/0009-2614%0x2895%0x2900621-A) Coulomb potentials. _Chem._ _Phys._ _Lett._ 1995, _240_, 283−289. (31) Hall, G. G.; Martin, D. Approximate [electron](https://doi.org/10.1002/ijch.198000028) densities for atoms and molecules. _Isr._ _J._ _Chem._ 1980, _19_, 255−259. (32) Gill, P. M. W.; Johnson, B. G.; Pople, J. A.; Taylor, S. W. Modeling the potential [of](https://doi.org/10.1063/1.462530) a charge distribution. _J._ _Chem._ _Phys._ 1992, _96_, 7178−7179. (33) Weigend, F.; Kattannek, M.; Ahlrichs, R. [Approximated](https://doi.org/10.1063/1.3116103) electron repulsion integrals: [Cholesky](https://doi.org/10.1063/1.3116103) decomposition versus resolution of the [identity](https://doi.org/10.1063/1.3116103) methods. _J._ _Chem._ _Phys._ 2009, _130_, 164106. <u>The</u> <u>Journal</u> <u>of</u> <u>Physical</u> <u>Chemistry</u> <u>A</u> <u><mark>pubs.acs.org/JPCA</mark></u> <u><mark>Article</mark></u> (34) Pedersen, T. B.; Aquilante, F.; Lindh, R. Density [fitting](https://doi.org/10.1007/s00214-009-0608-y) with auxiliary basis sets from [Cholesky](https://doi.org/10.1007/s00214-009-0608-y) decompositions. _Theor._ _Chem._ _Acc._ 2009, _124_, 1−10. (35) McKemmish, L. K.; Gill, P. M. W. Gaussian [expansions](https://doi.org/10.1021/ct300559t?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) of [orbitals.](https://doi.org/10.1021/ct300559t?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _J._ _Chem._ _Theory_ _Comput._ 2012, _8_, 4891−4898. [(36) Kutzelnigg, W. Expansion of a wave function in a gaussian basis.](https://doi.org/10.1002/qua.24224) I. Local versus [global](https://doi.org/10.1002/qua.24224) approximation. _Int._ _J._ _Quantum_ _Chem._ 2013, _113_, 203−217. (37) García, V.; Zorrilla, D.; Sánchez-Márquez, J.; Fernández-Núnez, M. Software to obtain accurate [gaussian](https://doi.org/10.1007/s00894-017-3340-x) expansions for a wide range of radial [functions.](https://doi.org/10.1007/s00894-017-3340-x) _J._ _Mol._ _Model_ 2017, _23_, 165. (38) Olver, F. W. J., Lozier, D. W., Boisvert, R. F., Clark, C. W., Eds. _NIST_ _Handbook_ _of_ _Mathematical_ _Functions_ ; Cambridge University Press: New York, 2010. (39) Dunning, T. H. Gaussian basis sets for use in correlated molecular [calculations.](https://doi.org/10.1063/1.456153) _J._ _Chem._ _Phys._ 1989, _90_, 1007−1023. [(40) Jensen, F. Polarization consistent basis sets: Principles.](https://doi.org/10.1063/1.1413524) _J. Chem._ _Phys._ 2001, _115_, 9113−9125. (41) Pritchard, B. P.; Altarawy, D.; Didier, B.; Gibson, T. D.; Windus, T. L. A new Basis Set [Exchange:](https://doi.org/10.1021/acs.jcim.9b00725?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) An open, up-to-date resource for the [molecular](https://doi.org/10.1021/acs.jcim.9b00725?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) sciences community. _J._ _Chem._ _Inf._ _Model._ 2019, _59_, 4814−4820. (42) Dantzig, G. B.; Thapa, M. N. _Linear_ _Programming_ _1:_ _Introduction_ ; Springer: New York, 1997; pp 63−97. (43) Gautschi, W. Construction of [Gauss-Christoffel](https://doi.org/10.1090/S0025-5718-1968-0228171-0) quadrature [formulas.](https://doi.org/10.1090/S0025-5718-1968-0228171-0) _Math._ _Comp._ 1968, _22_, 251−270. (44) Golub, G. H.; Welsch, J. H. Calculation of [Gauss](https://doi.org/10.1090/S0025-5718-69-99647-1) quadrature [rules.](https://doi.org/10.1090/S0025-5718-69-99647-1) _Math._ _Comp._ 1969, _23_, 221−230. (45) Szegö, G. _Orthogonal_ _polynomials_ ; American Mathematical Society: New York, 1959; pp 9, 111−158. (46) Gradshteyn, I. S.; Ryzhik, I. M. In _Table of Integrals, Series, and_ _Products_, 7th ed.; Jeffrey, A., Zwillinger, D., Eds.; Academic Press: London, 2007; pp 635−793. (47) Bardo, R. D.; Ruedenberg, K. Even-tempered atomic orbitals. VI. Optimal orbital exponents [and](https://doi.org/10.1063/1.1681168) optimal contractions of Gaussian primitives for hydrogen, [carbon,](https://doi.org/10.1063/1.1681168) and oxygen in molecules. _J._ _Chem._ _Phys._ 1974, _60_, 918−931. (48) Levenberg, K. A method for the [solution](https://doi.org/10.1090/qam/10666) of certain non-linear problems in [least](https://doi.org/10.1090/qam/10666) squares. _Quart._ _Appl._ _Math._ 1944, _2_, 164−168. (49) Marquardt, D. W. An algorithm for [least-squares](https://doi.org/10.1137/0111030) estimation of nonlinear [parameters.](https://doi.org/10.1137/0111030) _J._ _Soc._ _Indust._ _Appl._ _Math._ 1963, _11_, 431−441. (50) Boyd, J. P. _Chebyshev_ _and_ _Fourier_ _spectral_ _methods_, 2nd ed.; Dover: New York, 2000; p 67.

섹션 본문 111문단 · 26,428자

(제목 없음)

1We discuss a new theoretical framework for modeling molecular electron densities.Our approach decomposes the total density into contributions from basis function products and then approximates each product using constrained least−squares approximation in a tailored local basis of functions with adjustable non−linear parameters.We show how to solve directly for the expansion coefficients and Lagrange multipliers and present an iterative method to optimize the non−linear parameters.Example products from the Dunning cc-pVTZ basis set are discussed.

INTRODUCTION

21.1.Background.The central tenet of density functional theory (DFT) is that, notwithstanding its conceptual simplicity, the electron density D(r) in a system is a molecular property from which all others can be derived. 1Consequently, its computation, representation, and visualization are among the most fundamental features of all modern electronic structure software packages.Our goal in this work is to develop a systematic scheme for efficiently constructing accurate approximations to D(r).

3In terms of a set of orthonormal orbitals ψ i (r), we can write the electron density as 2,3 D r r r ( ) ( ) ( )

4and, if each of these orbitals is expanded in a one-electron basis set ϕ μ (r), we obtain

5where P μν is a density matrix.If each basis function is a contracted Gaussian

6where Y μ (r) is the angular factor, C μ k is a contraction coefficient, α μ k is an exponent, and A μ is the Gaussian center, then the function products in (2) and its primitive prefactors, exponents and centers are, respectively, The electrostatic energy between two products is given by the two-electron integral and these integrals yield the Coulomb, exchange, and correlation energies. 4The evaluation of the (μν|λσ) is one of the key bottlenecks of quantum chemistry, and research over many decades has led to an impressive array of algorithms for their computation, including the methods of Boys, 5 Dupuis et al., 6 McMurchie and Davidson, 7 Obara and Saika, 8 Head-Gordon and Pople, 9 Hamilton and Schaefer, 10 Lindh et al., 11 Gill and Pople, 12,13 Adams et al., 14 Ishida, 15 Makowski, 16 and Komornicki and King. 17Nonetheless, although some of these are very computationally efficient, all become expensive when the degrees of contraction K μ K ν and K λ K σ are large.For this reason, it was recognized long ago that it is desirable to construct approximations for products.

7−37 In the present paper, however, we eschew a global auxiliary basis in favor of approximating each product on its own locally generated basis.More specifically, we seek an approximation to the Gaussian density (5) that uses a few Gaussians whose coefficients, exponents and centers are explicitly optimized.

8Throughout this paper, we will use italic symbols to denote scalars and bold (or double-struck) symbols to denote vectors or matrices.

91.2.Least-Squares Functional.We seek to approximate a given density ρ(r) by a model χ(r) where

10i k j j j j j j j y The assumption that all d i > 0 sometimes requires that the basis set be reconstructed and this is discussed in Section 2.1.We assume that m < n, and we regard all of the c j , β j , and B j as optimizable parameters.

11For simplicity, we recast the problem in Fourier space and model ρ(k) by χ (k) where

12and the elements of âand b ̂are the Fourier transforms

13) exp( )

14Our models seek to minimize by least-squares the residual

15over all of space and, to achieve this, we introduce a Fourier weight function

16In general, our models must also satisfy l linear constraints on the expansion coefficients c i .These are conveniently captured by the matrix equation

17where is an m × l matrix and is a vector of length l.For example, if we seek a model that conserves charge in an ss density, must contain a column of ones and the corresponding element of must hold ρ(0), i.e. the charge of ρ(r).We therefore introduce a vector of Lagrange multipliers and seek a stationary point of the functional

181.3.Weight Function.The parameter p in ( 19) determines the type of model that we form and we will write L p (m) to denote an m-Gaussian least-squares model with parameter p and charge conservation

19constrained.If p > 0, the fit emphasizes high-frequency components of the density; if p < 0, it emphasizes lowfrequency components.Historically, p = 3/2, 1/2, or −1/2 have been advocated, but these are just three points on a continuum of possibilities.

20L 3/2 (m) models minimize the square of the residual density R(r) itself.Such models were used by Reeves and Fletcher 18 to perform approximate Slater orbital calculations, O-ohata et al. 19 to construct expansions of Slater functions, Newton et al. 20 in the PDDO approximation, Hehre et al. 21,22 to construct the STO-nG basis sets, Billingsley and Bloor 23 in the LEDO approximation and Baerends et al. 24 in their Hartree−Fock− L 1/2 (m) models minimize the squared norm of the electric f ield of R(r).Such models were advocated by Whitten 25 for modeling densities without charge conservation, used by Dunlap et al. 27 in his Coulomb fitting approach, developed further by Feyereisen et al. 29 and Eichkorn et al. 30 and analyzed in detail by Hall and Martin. 31 −1/2 (m) models minimize the square of the potential value of R(r).They were introduced by Fortunelli and Salvetti 28 and defined rigorously by Gill et al. 32 The constraint (22) ensures that the integral in (21) exists when weight functions with −2 < p ≤ 0 are used but, for p ≤ −2, additional constraints must be applied.For certain isolated p values, for example p = 0, the weight function (19) is not positive definite and the functional (21) does not have a welldefined stationary point.However, if they are needed, such models can be obtained by taking limits in the neighborhood of p.

21To illustrate this, we modeled a single Slater function by a single Gaussian function.In Fourier space, this corresponds to modeling ρ(k) = (1 + k 2 ) −2 by χ(k) = exp(−βk 2 ).By minimizing (21), one finds that the optimal β satisfies p p (2 ) U( 1, , ) 1

22where U is the Tricomi hypergeometric function. 38Analysis of (23) reveals that

23and Figure 1 shows that the optimal β varies smoothly and almost linearly over a wide domain.

241.4.Cost-Benefit Analysis.In a spatially extended system, most pairs of basis functions ϕ μ and ϕ ν are well separated, and the product ϕ μ (r)ϕ ν (r) can therefore be neglected.It is easy to show that the number of significant ϕ μ (r)ϕ ν (r) products grows only linearly with N and, thus, because the shell pair economizations are independent, the cost of economizing all significant shell pairs is O(N).However, it is reasonable to ask whether this effort is worthwhile.There are two types of calculations where the cost is easy to justify.

25First, calculations in which the electron density D(r) will be evaluated at a large number K of points r as, for example, on a van der Waals surface.The cost of evaluating (2) at a point r is O(N) and the total cost for all points is therefore O(KN).In such situations, the economization cost will be more than compensated by the subsequent savings in density evaluations.

26Second, calculations in which the shell pairs will be used to calculate two-electron integrals (9) as, for example, in a hybrid density functional calculation.The number of significant shell quartets, and therefore the number of significant ERIs, is O(N 2 ).Thus, whereas the cost of economization scales linearly with N, the savings that accrue from the use of economized shell pairs to form ERIs scale quadratically with N and will more than compensate for the economization cost if N is sufficiently large.

Basis Set Reconstruction.

27To facilitate the modeling process, we required all contraction coefficients to be positive.This is true of some basis functions (for example, the 5-fold contracted function on H atoms in the Dunning cc-pVTZ basis, 39 see Table 1) but it is not true of many basis functions (for example, the 10-fold contracted functions on C atoms in the same basis, see Table 2).However, it is often possible (at least, in shared-exponent basis sets such as those of Dunning 39 and Jensen 40 ) to reconstruct the basis on each atom, creating all-positive basis functions by linearly combining the originals.Because the reconstructed basis set necessarily has the same span as the original, it is equivalent for quantum chemical purposes.

28We formulate our problem as follows.Given a set V of linearly independent vectors v v , ..., n 1 { } , we seek a set U of all-positive vectors {u 1 , ..., u n } with span(U) = span(V).

29We define v i min as the minimum (i.e., most negative) component of v i and we then reorder the

30We then try to construct a single all-positive vector u 1 from V by writing

31and seeking the γ i that maximize u 1 min .This maps onto the linear programming problem

32with the auxiliary variable t, and solved, for example, by converting to canonical form and applying the Simplex Method. 42The optimized t is maximized u 1 min .If the resulting u 1 min value is positive, the original vectors are reconstructible.We then form

33where δ i is the smallest value that yields u i min = 0, and normalize the resulting basis functions.This has the additional benefit of reducing the order of contraction by one even before modeling.We add the prefix "rec-" to the name of a reconstructed basis set.

34It is important to note that the reconstructed basis functions are not orthogonal and, in some cases, can be almost parallel.As a consequence, we hope that, in the future, (a) improved reconstruction algorithms will be devised and (b) basis set developers will produce basis sets with all-positive coefficients, so that reconstruction is unnecessary.

35If this method is applied to the 10-fold contracted functions on C in the cc-pVTZ basis set ( The Journal of Physical Chemistry A which reaches its maximum value (+0.000529) at γ 2 = 0.0158885.We then form

36and renormalize both u 1 and u 2 .The rec-cc-pVTZ basis functions are shown in Table 2 From these, we can assemble the augmented vector i k j j j j j y { z z z z z f 00 00 = (33) and the augmented matrix i k j j j j j y { z z z z z F 0

37and then write (21) as

38where the coefficients and Lagrange multipliers have been conflated into the vector i k j j j y { z z z x c = (36) Requiring that the gradient of (35) with respect to x vanish yields the optimal coefficients and Lagrange multipliers

39and the resulting minimal value

40For greatest numerical stability, (37) should be computed by solving a linear system.

41Having thus solved for the linear parameters c i and i , we now have a functional (38) that depends only on the nonlinear parameters β i and B i .We now discuss the minimization of (38) with respect to those parameters.

422.2.2.Initial Guesses: Spherical Density.If ρ(r) has spherical (K h ) symmetry, we choose all B i = 0 and eschew further optimization.The exponents β are more challenging, and to construct an initial guess for these, we convert the modeling problem into a quadrature problem.First, we form the integral representation

43where β 0 > 0 is a scale factor and an Inverse Mellin Transform 38 provides the weight function

44We then approximate (39) by the m-point Gauss−Christoffel quadrature formula 43

45where the weights c i > 0 and roots 0 < u i < 1 are related to polynomials that are orthogonal on [0, 1] with respect to w(u).In the Golub-Welsch method 44 (see Supporting Information), the c i and u i are found from the moments

46and, in order to sample ρ(k) well, we choose the arbitrary scale factor to be

47Finally, by substituting u i = exp(−β i /β 0 ) into (41), we obtain an approximation that we call the Q(m) model

48Although this model is less accurate than least-squares fitting, it may sometimes be useful in its own right.However, its low cost and reasonable accuracy make it a useful initial guess.

The Journal of Physical Chemistry A

49There is an important caveat to the use of a quadrature scheme to generate an initial guess.There is no guarantee 45 that the Gauss−Christoffel roots u i and weights c i will exist or be satisfactory unless the weight function w(u) in ( 39) is a non-negative function on [0, 1].It was to ensure this that we assumed that all of the coefficients d i in (10) are positive.

502.2.3.Initial Guesses: Cylindrical Density.Generating guesses for the exponents β i and centers B i when ρ(r) has cylindrical (C ∞v ) symmetry is not difficult.In general, because of the primitive prefactors (6), the coefficients d i of the n primitives in ρ(r) range over many orders of magnitude and ρ(r) is therefore dominated by the primitives with the largest absolute coefficients |d i |.We exploit this by using the α i and A i of the m primitives with the largest |d i | as our guesses.

51We start by ordering the α i and A i by |d i | value and take the first m primitives that are not already "covered" by a larger primitive.A primitive i is considered "covered" if its A i value is within 0.25 au of the position A j of a larger primitive j (|d j | > |d i |).This is because primitives that are close to each other tend to be represented by a single Gaussian in models, even if they both have large coefficients.

52In the case of a tie for the mth largest "uncovered" primitive, there are two options.If it would not break another tie, the (m − 1)th largest primitive is excluded, and the α i and A i of the mth and (m + 1)th largest primitives are used.Otherwise, the average of the mth and (m + 1)th largest primitives' quantities are taken.

53Finally, if the guess formed this way has k < m primitives, the m − k largest previously excluded "covered" primitives are included as well.

542.2.4.Matrix Elements and Their Derivatives.For the basis functions (17), one can show from eq (6.631.1) of Gradshteyn and Ryzhik 46 that both the matrix (32) and its derivatives with respect to the nonlinear parameters (β i and B i ) can be conveniently expressed in terms of the function

55where Γ is the gamma function 38 and M is the Kummer hypergeometric function. 38The matrix itself is given by

56and, using properties of the hypergeometric function, one finds the first derivatives

57and the second derivatives

58For half-integer values of p, all six of these can be expressed in terms of Gaussians and the error function. 38o construct the gradient of Z, we require the first derivative vectors and matrices and, to construct its Hessian, we need the second derivative vectors and matrices

59Differentiating (38) shows the gradient and Hessian of Z with respect to β and B are i k j j j j j j y

60The Journal of Physical Chemistry A and X = diag(x).The square brackets in (57) and ( 58) indicate that only the first m elements of the enclosed vector, or the first m-by-m block of the enclosed matrix, is retained.It is well-known, however, that the optimal exponents of Gaussian expansions of exponential densities form a roughly geometrical sequence 35,47 and that the exponents typically span several orders of magnitude.We therefore choose to work with the log-exponents

61which are roughly evenly spaced and typically of the order of unity.By the chain rule, the elements of the gradient and Hessian of Z with respect to the λ i are

Optimization

62Step.Given the gradient (g) and Hessian (H) of (38), we are in a position to find the optimal β and B via an iterative scheme.Although the Newton−Raphson method could be used, it is effective only if current β and B are near-optimal and can be disastrous otherwise.We prefer the slower (but more robust) approach taken by the Levenberg− Marquardt method, 48,49 wherein a small fraction σ > 0 of the identity matrix is added to the Hessian to form the shifted-Newton step

63The shift σ should decay as the optimization proceeds and we have found that σ = 10|g| is effective for all the densities discussed below and hundreds of others that we have explored.

64When optimizing β and B, our goal is to reduce Z to within 1% of its minimum value.This is usually achieved when H is positive definite and |Δ| < 10 −4 .

652.2.6.Algorithm.The inputs to our algorithm are the density ρ(r), the number m Gaussians in the desired model, the weight function parameter p, the constraint matrix and the constraint vector .The way in which we generate initial guesses for the nonlinear (β and B) parameters depends on whether the Gaussian density is spherical or cylindrical, but after that, the algorithm becomes the same.The overall algorithm, together with links to key equations, is shown in Table 3.

RESULTS AND DISCUSSION

663.1.Spherical Densities.3.1.1.Preamble.Armed with the necessary theory, we now consider how it can be applied in calculations using the Dunning cc-pVTZ basis set. 39If the basis Table 4. Models for the H(1s 2 ) cc-pVTZ Density

67The Journal of Physical Chemistry A functions are concentric, their density is spherical and has the Fourier transform ( 14)

68and the associated weight function (40) is

69where δ is the Dirac delta.If all d i > 0, then w(u) is nonnegative and, from (43), we have

70To find the Q(m), we need the moments

71and, to find the L p (m), we need the integrals

72The Q(m) and L p (m) models are constructed to mimic the original ρ(r) as well as possible over all space.It is also important, however, to assess the resulting models χ(r) by measuring the largest pointwise difference between ρ(r) and χ(r).For a spherical density, it is natural to measure this through the maximum Jacobian-weighted error

73and we report this for each of the models described below.

H(1s1s) Density.

74Our first example comes from the 5fold contracted basis function on an H atom in the cc-pVTZ basis set (see Table 1).The product of this function with itself yields a density with n = 15 distinct Gaussians and its Q(m) and L p (m) models are listed in Table 4.

75The exponents of the L p (m) change smoothly and predictably as p and m are varied.The L −1/2 (m) are the most diffuse (i.e., their λ i are most negative) and the L +3/2 (m) are the most compact (i.e., their λ i are the most positive).This is reasonable because, whereas the L −1/2 (m) use a Fourier weight 1/(2π k 4 ) that emphasizes low-frequency components of the density and therefore its tail, the L +3/2 (m) use a weight 1/(2πk 0 ) that places greater emphasis on the high-frequency components and therefore the region near the nuclear cusp.The L +1/2 (m) exponents are remarkably close to the average of the analogous L −1/2 (m) and L +3/2 (m) exponents, thus generalizing the near-linear behavior seen in Figure 1.

76The exponents of Q(m) also change smoothly with m.Their most diffuse exponents are similar to those in L +1/2 (m) when m is small and similar to those in L −1/2 (m) when m is larger but the range λ m − λ 1 of the Q(m) exponents is smaller than in any of the least-squares models.For applications for which a quick and reasonably accurate approximation is required, the Q(m) models appear useful.

77Table 5. Models for the rec-cc-pVTZ C(1s2s) Density (S = 0.456)

78The Journal of Physical Chemistry A 3.1.3.C(1s2s) Density.Our second example comes from the product of the two 10-fold contracted rec-cc-pVTZ basis functions on a C atom (see Table 2).Their product yields a density with n = 55 distinct Gaussians and its Q(m) and L p (m) models are listed in Table 5.

793.1.4.Other Densities.We have applied our algorithm for spherical densities to all of the concentric ss products arising in the cc-pVDZ and cc-pVTZ basis sets of Dunning and the pc-1 and pc-2 basis set of Jensen, constructing L −1/2 (m), L 1/2 (m) and L 3/2 (m) models with m = 1,..., 6.

80The maximum error does not show a strong dependence on p but we find that the smallest is often obtained by L 3/2 (m) if m is small, and by L 1/2 (m) if m is larger.

81In many cases, the number m of Gaussians required to accurately model a density with a large number n of Gaussians is surprisingly small.The explanation for this encouraging discovery appears to lie in the distribution of exponents α μν kl in a typical basis function product.We see from (7) that the α μν kl are simple sums of the α μ k and α ν l of the parent basis functions but, because the latter typically form a roughly geometrical sequence, the distribution of α μν kl is clustered.To illustrate this, consider a hypothetical basis function with α μ k = {1000, 100, 10, 1}.The product of this with itself generates a Gaussian density with α μμ kl = {2000, 1100, 1010, 1001, 200, 110, 101, 20, 11, 2}, and although these 10 exponents are strictly distinct, the second, third and fourth Gaussians are similar (as are the sixth and seventh Gaussians) and can be modeled quite well by a single Gaussian.The overlap S = ρ(r) dr of the functions decays rapidly as R increases and it is interesting to compare the accuracies of the L p (m) models as a function of R.

82The L p (m) models are constructed to mimic the original density ρ(r) as well as possible over all space.It is also important, however, to assess the resulting models χ(r) by measuring the largest pointwise difference between ρ(r) and χ(r).For a cylindrical density, it is natural to measure this through the maximum axial error

83and we report this for each of the models described below.

H(1s)H(1s) Density.

84Our first example is the product of the 5-fold contracted cc-pVTZ basis functions (Table 1) on two hydrogen atoms centered at (0, 0, ±R/2).The density consists of 25 Gaussians, and L −1/2 (m) models with m = 1 to 6 Gaussians are shown in Table 6.

85We have considered three values of R, chosen so that the resulting overlap S is close to 0.1, 0.01, or 0.001.These correspond roughly to the most distant H atoms in the The Journal of Physical Chemistry A equilibrium structures of ethane, propane and butane, respectively.

86In the least-squares approximation of smooth functions by other smooth functions, pointwise convergence is expected to be exponential 50 and this seems to be observed here.As the number m of Gaussians in the model grows, the maximum error decays rapidly.In all cases, the optimal centers B i are symmetrically and more or less uniformly distributed on the z axis, the central Gaussian is the most diffuse (its λ i is the most negative) and the Gaussians furthest from the origin are the least diffuse and have the smallest coefficients c i .

87It is particularly encouraging to note that, for R ≈ 10, the 25-Gaussian density can be approximated very accurately (

88< × by a model with just three Gaussians, or accurately (

89) by a model with just a single Gaussian!

90The reported m = 4 model for R ≈ 10 is a local minimum, with a Z value 0.5% larger than the global minimum.The values are the same.It seems clear that adding a fourth Gaussian to the model provides negligible improvement, so its precise λ i and c i have little bearing on the overally accuracy.The fifth Gaussian is needed to noticeably lower both Z and , but this is unimportant since this density can be modeled so accurately with even a single Gaussian.

C(2s)H(1s) Density.

91Our second example is the product of the 10-fold contracted rec-cc-pVTZ 2s basis function on a C atom at (0, 0, −R/2) with the 5-fold contracted cc-pVTZ basis function on a H atom at (0, 0, +R/2) (see Tables 1 and 2).The product consists of 50 Gaussians, and L −1/2 (m) models with m = 1 to 6 Gaussians are shown Table 7.

92As before, we have considered three values of R, chosen so that the resulting overlap S is close to 0.1, 0.01, or 0.001.These correspond roughly to the most separated C and H atoms in equilibrium structures of ethane, propane and butane, respectively.

93Although the maximum pointwise error of the models almost always decreases as m grows, its decay is slower than for the H(1s)H(1s) densities above.More detailed investigation revealed that the pointwise error is usually largest (and oscillating) in a small region close to the carbon nucleus, but because of volume effects, this error contributes relatively little to the integral in (21) and is therefore only slowly reduced as more Gaussians are added to the model.

94As was observed for the H(1s)H(1s) densities, the models in Table 7 are usually dominated by a diffuse Gaussian near the origin, flanked by tighter Gaussians with smaller coefficients, and the central dominance is even more marked in the large-R densities.It is clear from the values that the 50-Gaussian densities arising from the overlap of well separated C(2s) and H(1s) functions can be very accurately modeled by models with very small numbers of Gaussians.

95basis function product that contributes to D(r) in a small, local basis that is explicitly tailored to that product.This is achieved by performing a nonlinear optimization with a few adjustable parameters for each product, and we have presented expressions for all of the first and second derivatives required to use Newton's method or a similar second-order scheme.

96We have applied our algorithm to many of the products that arise when Dunning's cc-pVnZ or Jensen's pc-n basis sets are used, and we find that, in many cases, products consisting of many primitive Gaussians can be accurately approximated by models with only a few, well-optimized Gaussians.We anticipate that when such models are used in quantum chemical calculations, the resulting errors will be small while the computational speed will be significantly enhanced.

■ ASSOCIATED CONTENT

97* sı Supporting Information

98The Supporting Information is available free of charge at https://pubs.acs.org/doi/10.1021/acs.jpca.3c04363.

99The Golub-Welsch algorithm (PDF)

100■

101d = (d 1 , ..., d n ) is a list of positive coefficients, c = (c 1 , ..., c m ) is a list of expansion coefficients, a = [a 1 (r), ..., a n (r)] and b = [b 1 (r), ..., b m (r)] are lists of normalized Gaussians

102) α = (α 1 , ...,α n ) and β = (β 1 , ...,β m ) are lists of inverted exponents, and A = (A 1 , ..., A n ) and B = (B 1 , ..., B m ) are lists of Gaussian centers on the z axis.

Figure 1 .

103Figure 1.Optimal β for modeling a Slater function as the weight function ω p (k) varies.

3 . 2 .

104Cylindrical Densities.3.2.1.Preamble.If two basis functions are on different centers, separated by a distance R > 0, their product yields a Gaussian density ρ(r) with cylindrical symmetry and, to find the L p (m), we need

Table 2 )

105, we find that u 1 min is a concave piecewise linear function of γ 2 given by

Table 1 .

10639,41TZ Exponents and Coefficients39,41of an s Function on H

Table 2 .

10739,41TZ Exponents and Coefficients39,41of Two s Functions on C

Table 3 .

108Construction of an m-Gaussian Model for a Gaussian Density

1093) 13 If |Δ| > 10 −4 or H is not positive definite, go to Step 5

Table 6 .

110L −1/2 (m) Models for cc-pVTZ H(1s)H(1s) Densities with Various R

AUTHOR INFORMATION Corresponding Author Peter

111M. W. Gill − School of Chemistry, University of Sydney, Camperdown, NSW 2006, Australia; orcid.org/0000-0003-1042-6331;Phone: +61 2 8627 9486; Email: p.gill@ sydney.edu.au

참고문헌 44건

  1. Molecular integrals Over Gaussian Basis Functions Advances in quantum chemistry · Elsevier BV · 1994 10.1016/s0065-3276(08)60019-2
  2. Modeling the potential of a charge distribution The Journal of Chemical Physics · American Institute of Physics · 1992 10.1063/1.462530
  3. Use of approximate integrals in ab initio theory. An application in MP2 energy calculations Chemical Physics Letters · Elsevier BV · 1993 10.1016/0009-2614(93)87156-w
  4. <i>Ab Initio</i> Density Fitting: Accuracy Assessment of Auxiliary Basis Sets from Cholesky Decompositions Journal of Chemical Theory and Computation · American Chemical Society · 2009 10.1021/ct9000284
  5. New variations in two-electron integral evaluation in the context of direct SCF procedures Chemical Physics · Elsevier BV · 1991 10.1016/0301-0104(91)80126-3
  6. Coulombic potential energy integrals and approximations The Journal of Chemical Physics · American Institute of Physics · 1973 10.1063/1.1679012
  7. Construction of Gauss-Christoffel quadrature formulas Mathematics of Computation · American Mathematical Society · 1968 10.1090/s0025-5718-1968-0228171-0
  8. Auxiliary basis sets to approximate Coulomb potentials Chemical Physics Letters · Elsevier BV · 1995 10.1016/0009-2614(95)00621-a
  9. Density fitting with auxiliary basis sets from Cholesky decompositions Theoretical Chemistry Accounts · Springer Science+Business Media · 2009 10.1007/s00214-009-0608-y
  10. Self-Consistent Molecular-Orbital Methods. I. Use of Gaussian Expansions of Slater-Type Atomic Orbitals The Journal of Chemical Physics · American Institute of Physics · 1969 10.1063/1.1672392
  11. Approximated electron repulsion integrals: Cholesky decomposition versus resolution of the identity methods The Journal of Chemical Physics · American Institute of Physics · 2009 10.1063/1.3116103
  12. Gaussian Expansions of Atomic Orbitals Journal of the Physical Society of Japan · Physical Society of Japan · 1966 10.1143/jpsj.21.2306
  13. Gaussian Expansions of Orbitals Journal of Chemical Theory and Computation · American Chemical Society · 2012 10.1021/ct300559t
  14. One- and two-electron integrals over cartesian gaussian functions Journal of Computational Physics · Elsevier BV · 1978 10.1016/0021-9991(78)90092-x
  15. Limited Expansion of Diatomic Overlap (LEDO): A Near-Accurate Approximate <i>Ab Initio</i> LCAO MO Method. I. Theory and Preliminary Investigations The Journal of Chemical Physics · American Institute of Physics · 1971 10.1063/1.1675655
  16. Calculation of Gauss quadrature rules Mathematics of Computation · American Mathematical Society · 1969 10.1090/s0025-5718-69-99647-1
  17. Simple yet powerful techniques for optimization of horizontal recursion steps in Gaussian-type two-electron integral evaluation algorithms International Journal of Quantum Chemistry · Wiley · 2006 10.1002/qua.21056
  18. Efficient recursive computation of molecular integrals over Cartesian Gaussian functions The Journal of Chemical Physics · American Institute of Physics · 1986 10.1063/1.450106
  19. Even-tempered atomic orbitals. VI. Optimal orbital exponents and optimal contractions of Gaussian primitives for hydrogen, carbon, and oxygen in molecules The Journal of Chemical Physics · American Institute of Physics · 1974 10.1063/1.1681168
  20. Inhomogeneous Electron Gas Physical Review · American Institute of Physics · 1964 10.1103/physrev.136.b864
  21. Simplifications in the generation and transformation of two‐electron integrals in molecular calculations International Journal of Quantum Chemistry · Wiley · 1977 10.1002/qua.560120408
  22. Use of Gaussian Functions in the Calculation of Wavefunctions for Small Molecules. III. The Orbital Basis and Its Effect on Valence The Journal of Chemical Physics · American Institute of Physics · 1965 10.1063/1.1695896
  23. A simplified representation of the potential produced by Gaussian charge distributions Journal of Computational Chemistry · Wiley · 1991 10.1002/jcc.540120105
  24. Evaluation of molecular integrals over Gaussian basis functions The Journal of Chemical Physics · American Institute of Physics · 1976 10.1063/1.432807
  25. The prism algorithm for two‐electron integrals International Journal of Quantum Chemistry · Wiley · 1991 10.1002/qua.560400605
  26. Self-consistent molecular Hartree—Fock—Slater calculations I. The computational procedure Chemical Physics · Elsevier BV · 1973 10.1016/0301-0104(73)80059-x
  27. Polarization consistent basis sets: Principles The Journal of Chemical Physics · American Institute of Physics · 2001 10.1063/1.1413524
  28. A method for two-electron Gaussian integral and integral derivative evaluation using recurrence relations The Journal of Chemical Physics · American Institute of Physics · 1988 10.1063/1.455553
  29. Approximate Electron Densities for Atoms and Molecules Israel Journal of Chemistry · Wiley · 1980 10.1002/ijch.198000028
  30. Expansion of a wave function in a Gaussian basis. I. Local versus global approximation International Journal of Quantum Chemistry · Wiley · 2012 10.1002/qua.24224
  31. A general formulation for the efficient evaluation of <i>n</i>-electron integrals over products of Gaussian charge distributions with Gaussian geminal functions The Journal of Chemical Physics · American Institute of Physics · 2011 10.1063/1.3600745
  32. Gaussian basis sets for use in correlated molecular calculations. I. The atoms boron through neon and hydrogen The Journal of Chemical Physics · American Institute of Physics · 1989 10.1063/1.456153
  33. The reduced multiplication scheme of the Rys quadrature and new recurrence relations for auxiliary function based two-electron integral evaluation The Journal of Chemical Physics · American Institute of Physics · 1991 10.1063/1.461610
  34. On some approximations in applications of <i>X</i>α theory The Journal of Chemical Physics · American Institute of Physics · 1979 10.1063/1.438728
  35. Projection of Diatomic Differential Overlap: Least-Squares Projection of Two-Center Distributions onto One-Center Functions The Journal of Chemical Physics · American Institute of Physics · 1968 10.1063/1.1670022
  36. An Algorithm for Least-Squares Estimation of Nonlinear Parameters Journal of the Society for Industrial and Applied Mathematics · Society for Industrial and Applied Mathematics · 1963 10.1137/0111030
  37. Rigorous algorithm for the electron repulsion integral over the generally contracted solid harmonic Gaussian-type orbitals The Journal of Chemical Physics · American Institute of Physics · 2000 10.1063/1.1316013
  38. Small Gaussian Expansions of Atomic Orbitals The Journal of Chemical Physics · American Institute of Physics · 1969 10.1063/1.1671406
  39. A tensor approach to two-electron matrix elements The Journal of Chemical Physics · American Institute of Physics · 1997 10.1063/1.474359
  40. NIST Handbook of Mathematical Functions 2010
  41. Electronic wave functions - I. A general method of calculation for the stationary states of any molecular system Proceedings of the Royal Society of London A Mathematical and Physical Sciences · Royal Society · 1950 10.1098/rspa.1950.0036
  42. A method for the solution of certain non-linear problems in least squares Quarterly of Applied Mathematics · Brown University · 1944 10.1090/qam/10666
  43. Software to obtain accurate Gaussian expansions for a wide range of radial functions Journal of Molecular Modeling · Springer Science+Business Media · 2017 10.1007/s00894-017-3340-x
  44. New Basis Set Exchange: An Open, Up-to-Date Resource for the Molecular Sciences Community Journal of Chemical Information and Modeling · American Chemical Society · 2019 10.1021/acs.jcim.9b00725