<<

Q-Chem 2.0: A High-Performance Ab Initio Program Package

JING KONG,1 CHRISTOPHER A. WHITE,2,∗ ANNA I. KRYLOV,2,† DAVID SHERRILL,2,‡ ROSS D. ADAMSON,3 THOMAS R. FURLANI,4 MICHAEL S. LEE,2 AARON M. LEE,3 STEVEN R. GWALTNEY,2 TERRY R. ADAMS,1,¶ CHRISTIAN OCHSENFELD,5 ANDREW T. B. GILBERT,6 GARY S. KEDZIORA,7 VITALY A. RASSOLOV,7 DAVID R. MAURICE,2,# NIKHIL NAIR,3 YIHAN SHAO,2 NICHOLAS A. BESLEY,6 PAUL E. MASLEN,2,∗∗ JEREMY P. DOMBROSKI,1,†† HOLGER DASCHEL,1 WEIMIN ZHANG,1 PRAKASHAN P. KORAMBATH,1 JON BAKER,8 EDWARD F. C. BYRD,2 TROY VAN VOORHIS,2 MANABU OUMI,2,‡‡ SO HIRATA,2,¶¶ CHAO-PING HSU,2 NAOTO ISHIKAWA,9 JAN FLORIAN,10 ARIEH WARSHEL,10 BENNY G. JOHNSON,1,## PETER M. W. GILL,6 MARTIN HEAD–GORDON,2 JOHN A. POPLE7 1Q-Chem Inc, Four Triangle Lane, Suite 160, Export, Pennsylvania 15632 2Department of Chemistry, University of California, Berkeley, Berkeley, California 94720 3Department of Chemistry, University of Cambridge, Cambridge CB2 1EW, United Kingdom 4Center for Computational Research, State University of New York at Buffalo, Buffalo, New York 14260 5Institut für Physikalische Chemie, Universität Mainz, D-55099 Mainz, Germany 6School of Chemistry, University of Nottingham, Nottingham NG7 2RD, United Kingdom 7Department of Chemistry, Northwestern University, Evanston, Illinois 60208 8Department of Chemistry, University of Arkansas, Fayetteville, Arkansas 72701-1201 9Department of Chemistry, Tokyo Institute of Technology, Meguro Ku, Tokyo 1528551, Japan 10Department of Chemistry, University of Southern California, Los Angeles, California 90089-1062

Received 25 May 2000; accepted 24 July 2000

∗ Present address: Bell Laboratories, Lucent Technologies, 600 Mountain Ave., Murray Hill, NJ 07974 †Present address: Department of Chemistry, University of Southern California, Los Angeles, CA 90089-1062 ‡Present address: School of Chemistry and Biochemistry, Georgia Institute of Technology, Atlanta, GA 30332-0400 ¶Present address: SGI Federal, 102 Central Park Square, MS 298, Los Alamos, NM 87544 #Present address: APAM, Inc., 201 E. Pine St., Suite 600, Or- lando, FL 32801 ∗∗ Present address: Department of Chemistry, Rutgers Univer- sity, Camden, NJ 08102 ††Present address: HortResearch, Private Bag 11030, Palmer- ston North, New Zealand

Journal of , Vol. 21, No. 16, 1532–1548 (2000) c 2000 John Wiley & Sons, Inc. Q-CHEM 2.0

ABSTRACT: Q-Chem 2.0 is a new release of an electronic structure program package, capable of performing first principles calculations on the ground and excited states of using both density functional theory and wave function-based methods. A review of the technical features contained within Q-Chem 2.0 is presented. This article contains brief descriptive discussions of the key physical features of all new algorithms and theoretical models, together with sample calculations that illustrate their performance. c 2000 John Wiley & Sons, Inc. J Comput Chem 21: 1532–1548, 2000

Keywords: ; electronic structure; density functional theory; computer program; computational chemistry

are “empty citations” in that there is nothing useful Introduction that a reader may learn by looking up the citation. Other public domain electronic structure programs reader glancing casually at this article might have provided helpful review articles (e.g., refs. 1 A suspect on the basis of its title that it is a thinly and 2), as have programs for molecular mechanics disguised piece of marketing for a program pack- (e.g., ref. 3). This article will serve as the official ci- age. This is not the case. Rather, it is an attempt tation for Q-Chem 2.0, and as such is intended to to document the key methodologies and algorithms provide a summary of its capabilities that can pro- of our electronic structure program package, Q- vide useful information beyond a simple program Chem 2.0, in a complete and scientifically accurate citation. way, with full references to the original literature. As background, the development of Q-Chem This is important for two principal reasons. First, commenced just before 1993, when one of the co- while the use of electronic structure programs is founders, Prof. Peter Gill (Nottingham), then a post- burgeoning, many users of such programs do not doctoral researcher with John Pople in Pittsburgh, have much feel for the underlying algorithms that began to put together parts of the program while make large-scale calculations routine even on such on his Christmas vacation in New Zealand. Indeed, readily available hardware as personal computers. Q-Chem’s early developers were a splinter group Therefore, a link between the program package and from the scientific collaboration responsible for the the original literature that is written at the level of development of the programs that grew an introductory overview can be a useful bridge. out of the Pople laboratory. The other cofounders Second, while citations of large-scale commercial of Q-Chem were Dr. Benny Johnson, at that time a programs in published applications are tradition- graduate student in the Pople group, and Dr. Carlos ally part of the conditions of use of such codes, they Gonzalez, then with the Pittsburgh Supercomputer

‡‡ Center. Martin Head–Gordon, who had just taken Present address: Seiko Instruments, Corporate R&D, Takat- up an assistant professorship at the University of suka Unit, 563 Takatsuka-Shinden, Matsudo-shi, Chiba 270-2222, Japan California, Berkeley, joined the development effort ¶¶Present address: Quantum Theory Project, University of in May, 1993, together with his research group. Florida, Gainesville, FL 32611-8435 The first commercial release of the code, version ## Present address: 5275 Sardis Rd, Murrysville, PA 15668 1.0, occurred in mid-1997, followed by version 1.1 Correspondence to: M. Head–Gordon; e-mail: mhg@cchem. berkeley.edu in December 1997 and version 1.2 in September, Contract/grant sponsor: Air Force Office of Scientific Re- 1998. John Pople’s research group (Northwestern) search SBIR; contract/grant number: F49620-97-C-0049 (local joined the development effort in January 1999. The correlation methods) new release described here is the joint effort of Contract/grant sponsor: National Institutes of Health SBIR; contract/grant numbers: R43 GM58295-01 and R44 GM58295-02 Q-Chem employees, particularly Dr. Jing Kong, nu- (parallel functionality) merous students and postdoctoral researchers in the Contract/grant sponsor: National Science Foundation SBIR; Gill, Head–Gordon, and Pople groups (a number of contract/grant number: DMI-9708206 (density functional capa- whom now have academic positions), and several bilities) Contract/grant sponsors: Department of Energy, a David independent contributors. Their names comprise and Lucile Packard Fellowship, and EPSRC the author list of this article.

JOURNAL OF COMPUTATIONAL CHEMISTRY 1533 KONG ET AL.

To act as a bridge between readily avail- properties permit analytical evaluation of all the able textbook information on electronic structure one- and two-electron matrix elements of the Hamil- methods4–6 and the state-of-the-art in electronic tonian. A contracted Gaussian basis function is, in structure algorithms requires considerable hetero- general, a linear combination of spherical Gaussian geneity in the level of presentation. Standard meth- functions centered on each , multiplied by an ods that are well known in textbooks are very angular function that is typically either a simple briefly summarized, while new methods that of- product of powers of x, y, z, or linear combinations fer novel capabilities are discussed in more depth, thereof. Many standard Gaussian basis sets have and in some cases selected numerical examples are been developed, and a number of general reviews presented. Similarly, it is impossible to take a com- of Gaussian basis sets are available.7–9 Q-Chem con- prehensive approach to referencing, because we are tains a fairly comprehensive library of basis sets surveying a considerable part of electronic structure built into the program, as well as the ability to in- theory. The focus is, therefore, on articles directly put other basis sets. In particular, all standard Pople relevant to Q-Chem’s methods and algorithms. Be- basis sets are available,9 including the most recent cause there is a tremendous diversity of methods extensions of the 6-31G∗ for all elements up included in Q-Chem, we also try to indicate very to krypton.10 The systematic sequence of correlation roughly their extent of applicability. We place em- consistent basis sets of Dunning and coworkers11 phasis on a variety of newly developed capabilities. are available up through quadruple zeta, as well as We have chosen to organize this article around Dunning’s earlier double and triple zeta basis sets.12 the functional capabilities of the program. The very The modern Ahlrichs double and triple zeta basis first issue is the manner in which functions of a sets are also available.13 Alternatively, for the rare single electron are represented, aspects of which situations where these internal basis sets are inade- are summarized in the next section. This defines quate or inappropriate, general, user-supplied basis the atomic orbital basis functions used to represent sets can be entered as part of the job input. orbitals, and their matrix elements. In the follow- For heavier elements, Q-Chem contains pseudo- ing section, the methods and algorithms available potentials that permit only the chemically relevant for describing the ground states of molecules by valence electrons to be treated explicitly, while the self-consistent field methods (either Hartree–Fock chemically inert core electrons are treated implic- or density functional) are discussed. The often much itly. A variety of standard pseudopotentials and more expensive but systematic wave function-based associated basis sets are available, as well as the methods for describing the correlations between ability to input custom pseudopotentials. The stan- electrons in the ground electronic state are the topic dard pseudopotential basis sets were obtained from of the Wave Function-Based Treatments section. In the Pacific Northwest Laboratory database (as were the Methods section we turn from the all-electron Dunning and Ahlrichs basis sets dis- molecular ground states to a discussion of the meth- cussed above.14 They are as follows: (1) Hay–Wadt ods available in Q-Chem 2.0 for describing the tran- Minimal Basis,15 (2) Hay–Wadt Valence Double sitions from ground to electronically excited states. Zeta;15 (3) lanl2dz (mimic of Gaussian’s lanl2dz);15 The techniques available for obtaining chemical in- (4) Stevens–Bausch–Krauss–Jaisen–Cundari -21G;16 sight from electronic structure calculations are then (5) CRENBL–Christiansen et al. shape consistent surveyed in Wave Function Analysis section. In the large orbital, small core;17 (6) CRENBS–Christiansen Additional Capabilities Section, a selection of im- et al. shape consistent small basis large core;17 (7) portant additional capabilities of Q-Chem 2.0 are Stuttgart relativistic large core;18 (8) Stuttgart rela- summarized, including solvation modeling, rela- tivistic small core.19 We note that relativistic energy tivistic energy corrections, geometry optimization corrections to all-electron calculations are also avail- techniques, and user interfaces. able in Q-Chem and are discussed separately in the Additional Capabilities section. One- and two-electron matrix elements involv- Basis Functions and Their ing contracted Gaussian basis functions are effi- Matrix Elements ciently evaluated in Q-Chem using the most recent version20, 21 of the PRISM methods22 developed by Q-Chem is entirely based on the use of con- Gill and coworkers. PRISM is probably the most tracted Gaussian atomic orbital basis sets. Gaussian efficient method available for evaluation of two- basis sets are the most widely used form of spa- electron Gaussian integrals. PRISM is a family of tially localized basis functions because their special algorithms, each of which is optimum for certain

1534 VOL. 21, NO. 16 Q-CHEM 2.0 types of integrals, depending on the angular mo- can be treated by the wave function-based meth- mentum and the degree of contraction (how many ods described in the following section. As a result of primitive Gaussian integrals are combined together neglecting electron correlations, Hartree–Fock un- to make the target contracted integral). For each derestimates the strength of chemical bonds, and type of integral, the optimum method is chosen, is usually poor for predicting reaction energies un- which accounts for the adaptability and efficiency of less correlation energy is roughly constant between the method. PRISM is employed both for Gaussian reactants and products. HF theory is much more integrals, and also their first and second derivatives, successful for predicting molecular geometries and as needed for analytical forces and vibrational fre- vibrational frequencies.27 quency calculations, respectively. A very attractive alternative is the modern Kohn– Recently, Adamson and Gill23 have extended Sham density functional theory (DFT).28, 29 In DFT, the capabilities of PRISM to permit fully analytical the single determinant is employed to parameter- treatment of integrals over pseudopotential oper- ize the electron density, and to evaluate the kinetic ators of the form first proposed by Kahn et al.24 energy. By the Hohenberg–Kohn theorem, which The new fully analytical approach is in contrast states that the ground-state exchange and correla- to existing methods that employ numerical inte- tion energy is a universal functional of the electron gration for at least some of the radial integrals density, these terms are evaluated as complicated that arise in pseudopotential calculations.25 This has functional expressions. Q-Chem contains all popu- considerable benefits in terms of execution speed, lar standard density functionals, as well as the abil- as documented elsewhere.23 Analytical first deriv- ity to input new ones within certain constraints on atives of pseudopotential matrix elements are also the functional form. The best common DFT meth- implemented using the new approach, to enable ef- ods, exemplified by the B3LYP functional,30 yield ficient force calculations for heavier elements. results for relative energies in particular, but also Finally, we note that Q-Chem contains “fast” al- often structural properties, which are greatly im- gorithms for linear scaling evaluation of the matrix proved over HF theory. Many reviews are now elements that arise in practical self-consistent field available documenting the successes and limitations calculations: they are discussed separately later. Ad- of modern DFT.31 It is the most cost-effective elec- ditionally, Q-Chem contains efficient routines for tronic structure method available in Q-Chem, as it transforming two-electron integrals from the atomic contains much of the physics associated with elec- orbital basis to various other representations: they tron correlation within a framework as simple as are discussed later in the section on local electron mean field theory! correlation. In addition to the established density functionals, Q-Chem contains several newly developed func- tionals. These take quite different approaches to Ground-State Self-Consistent functional design. The Empirical Density Func- Field Methods tional 1 (EDF1) is specifically adapted to yield good results with the relatively modest-sized 6-31+G∗ ba- 32 The most inexpensive ab initio electronic struc- sis set, by direct fitting to thermochemical data. It ture methods are those that are based on only has the interesting feature that exact exchange mix- a single determinant of molecular orbitals, which ing was not found to be helpful with a basis set may be generally described as self-consistent field of this size. A second even more recent functional 33 (SCF) methods. After a general overview, the spe- is the GG99 exchange functional, which is para- cialized “fast methods” available in Q-Chem for meter free. This is accomplished by following an large- SCF calculations are described. approach first taken by the pioneers of the density functional theory: choosing a model density and de- CONVENTIONAL AND UNCONVENTIONAL riving a functional that is exact for the model. The SELF-CONSISTENT FIELD METHODS GG99 functional exactly reproduces the Hartree– Fock (HF) gradient decomposition of the energy If the single determinant is viewed as a trial for the model system. When coupled with the LYP wave function to be optimized via the variational correlation functional, GG99 gives a mean absolute principle, the result is the Hartree–Fock (HF) the- deviation from experiment of 6.88 kcal/mol for the ory, in which each electron moves in the average G2 set of atomization energies. field of all the others.26 HF theory neglects the in- Q-Chem evaluates not only SCF energies, but stantaneous correlations between electrons, which also their analytical first and second derivatives,

JOURNAL OF COMPUTATIONAL CHEMISTRY 1535 KONG ET AL. as needed for geometry optimizations and vibra- can be achieved in a smaller basis but not in a larger tional frequency calculations, respectively. For large basis, a novel procedure for evaluating the Fock op- molecules, the energies and gradients employ the erator in a large basis set using a density matrix linear scaling methods discussed below for eval- obtained in a small basis set is available as an al- uation of all matrix elements. Matrix operations ternative initial guess.36 are performed conventionally via dense linear al- Analytical frequency calculations are performed gebra routines that exhibit cubic scaling for the by conventional direct methods by default,37 which energy evaluation. This is asymptotically the rate- require no disk storage of two-electron integrals. determining step for sufficiently large molecules, Still, relative to evaluating the SCF energy and and effectively sets the upper limit of feasible SCF gradient, the computational cost of analytical fre- calculations in the range of several thousand ba- quency calculations is high. The way in which the sis functions, subject to the availability of sufficient cost scales with system size is roughly one power memory to manipulate the matrices. In practice, the of system size steeper than conventional SCF en- upper limit on calculations may be lower if geom- ergies/gradients. Disk space and memory require- etry optimization proves problematical, or if SCF ments both scale with the cube of system size, and convergence difficulties are encountered. The linear thus the largest calculations possible are a strong scaling methods for Fock matrix assembly become function of the system resources available. faster than their conventional counterparts for sys- Q-Chem also contains an interesting unconven- tems of between roughly 15 and 50 first-row , tional SCF method, in which the molecular orbitals depending upon the geometry of the molecule, and and the density matrix are not expanded directly the accuracy desired. Three-dimensional structures in terms of the basis of atomic orbitals. Instead, an exhibit later crossovers because of the larger num- intermediate molecule-optimized minimal basis of ber of average neighbors. Small-gap systems lead polarized atomic orbitals (PAOs) is used, ref. 38. The to later crossovers for the linear scaling evaluation polarized atomic orbitals are defined by an atom- of exact exchange because the electronic structure is blocked linear transformation from the fixed atomic more delocalized. orbital basis, where the coefficients of the transfor- Self-consistent field calculations are accelerated mation are optimized to minimize the energy, at the by the standard method of direct inversion in the same time as the density matrix is obtained in the iterative subspace (DIIS),34 and good-quality ini- PAO representation. Thus, a PAO-SCF calculation tial guesses are available by superposing spherically is a constrained variational method, whose energy averaged atomic densities in the target basis set. is above that of a full SCF calculation in the same While this combination works well in most stan- basis. However, a molecule-optimized minimal ba- dard cases, it is necessary to have fallback strategies sis is a very compact and useful representation for available for cases where convergence failures are purposes of chemical analysis, and it also has po- encountered. One difficulty that is occasionally en- tential computational advantages in the context of countered is the problem of an SCF that occupies local MP2 calculations, as can be done after a PAO- two different sets of orbitals on alternating itera- HF calculation is complete to obtain the PAO-MP2 tions, and therefore, oscillates and fails to converge. energy. This can be overcome by choosing orbital occupan- PAO-SCF calculations tend to systematically un- cies that maximize the overlap of the new occupied derestimate binding energies (because by defini- orbitals with the set previously occupied. How- tion the exact result is obtained for atoms, but ever, this combinatorial matching problem has com- not for molecules). In tests on the G2 database, putational complexity that scales factorially with PAO-B3LYP/6-311+G(2df,p) atomization energies the number of occupied orbitals if implemented deviated from full B3LYP/6-311+G(2df,p) atomiza- straightforwardly. Q-Chem contains the maximum tion energies by roughly 20 kcal/mol, with the overlap method (MOM),35 which, remarkably, re- error being essentially extensive with the number duces the combinatorial problem to cubic in the of bonds.39 This deviation can be reduced to only number of orbitals. 0.5 kcal/mol39 with the use of a simple nonitera- Q-Chem also has other strategies available to tive second-order correction for “beyond-minimal coax recalcitrant SCF calculations to convergence. basis” effects.40 The second-order correction is eval- As an alternative to the conventional self-consistent uated at the end of each PAO-SCF calculation, as field procedure, Q-Chem includes direct minimiza- it involves negligible computational cost. Analyti- tion methods that follow energy gradients to min- cal gradients are available using PAOs, to permit imize the SCF energy. Additionally, if convergence structure optimization. For additional discussion of

1536 VOL. 21, NO. 16 Q-CHEM 2.0 the PAO-SCF method and its uses, see the references Exact Exchange Interactions cited above. Hartree–Fock calculations and the popular hy- LINEAR SCALING METHODS brid density functionals such as B3LYP also require two-electron integrals to evaluate the exchange en- Construction of the effective Hamiltonian, or ergy associated with a single determinant. There is Fock matrix, has traditionally been the rate-deter- no useful multipole expansion for the exchange en- mining step in electronic structure programs, due ergy, because the bra and ket of the two-electron primarily to the cost of two-electron integral eval- integral are coupled by the density matrix, which uation, even with the efficient methods described carries the effect of exchange. Fortunately, density earlier. However, for large enough molecules, sig- matrix elements decay exponentially with distance nificant speedups are possible by employing re- for systems that have a HOMO-LUMO gap.45 The cently developed linear-scaling methods for each better the insulator, the more localized the elec- of the nonlinear terms that can arise. Linear scal- tronic structure, and the faster the rate of expo- ing means that if the molecule size is doubled, nential decay. Therefore, for insulators, there are then the computational effort likewise only dou- only a linear number of numerically significant con- bles. There are three computationally significant tributions to the exchange energy. With intelligent terms: electron–electron Coulomb interactions, ex- numerical thresholding, it is possible to rigorously act exchange interactions, and exchange–correlation evaluate the exchange matrix in linear scaling effort. functional evaluation, which we discuss in turn be- For this purpose, Q-Chem contains the linear scal- low. ing K (LinK) method46 to evaluate both exchange energies and their gradients47 in linear scaling ef- Electron–Electron Coulomb Interactions fort (provided the density matrix is highly sparse). The LinK method essentially reduces to the con- The problem of electron–electron Coulomb inter- ventional direct SCF method for exchange in the actions involves a linear number of charge distrib- small molecule limit (by adding no significant over- utions interacting with themselves, which conven- head), while yielding large speedups for (very) large tionally requires quadratic effort via two-electron systems where the density matrix is indeed highly integral evaluation. However, if a given pair of sparse. charge distributions do not overlap, their interac- tion can be evaluated via a multipole expansion Exchange–Correlation Functional Evaluation without explicitly doing the two-electron integral. Charges that are nearby can be combined together Density functional methods require the evalu- into collective multipoles to make the process of ation of exchange and correlation potentials that doing these long-distance interactions still more are spatially local. In Q-Chem, this is accomplished efficient. In fact, by collectivizing charge distribu- numerically by grid-based integration of the type tions into multipole and Taylor expansions based pioneered by Becke;48 these methods are intrinsi- on dividing space into a binary tree structure, it is cally linear scaling also, and are relatively standard possible to evaluate all of these nonoverlapping in- today. teractions in only linear scaling time, with no loss Work is also underway to further extend the of precision! This method for treating long-range linear scaling capabilities of Q-Chem. Because, as Coulomb interactions (where bra and ket functions mentioned above, there are only a linear number of do not overlap) is called the Continuous Fast Multi- numerically significant density matrix elements for pole Method (CFMM).41 So-called J matrix engines sufficiently large molecules, it is possible to solve for treat short-range terms (in the regime where the bra them in linear scaling time, given the Fock matrix. and ket basis functions are overlapping)42 by di- This is in contrast to the cubic scaling diagonaliza- rectly computing elements of the J matrix. The most tion effort that conventional SCF requires. However, recent J matrix engine43 is approximately 10 times the molecule size necessary to see a crossover be- faster than explicit integral evaluation at the level tween cubic scaling with a small coefficient, and of a quartet of uncontracted d shells, yet no approx- linear scaling with a large coefficient turns out to be imation is required. Speedups increase as angular quite large in practice. There is also much potential momentum increases. Additionally, the CFMM and for improved methods for analytical frequency cal- the J engine are also available for the Coulomb culations, because the advantage of solving for the force.44 localized disturbance in the density matrix (instead

JOURNAL OF COMPUTATIONAL CHEMISTRY 1537 KONG ET AL. of a full matrix) due to each atomic displacement coupled-cluster theory for such properties! Relative grows faster. New methods that solve directly for to state-of-the-art Kohn–Sham density functional the change in the density matrix for each geomet- theory (DFT) methods,29 which are the most eco- ric displacement49 are being incorporated into Q- nomical methods to account for electron correlation Chem. effects, MP2 has the advantage of properly incorpo- rating long-range dispersion forces. The principal Wave Function-Based Treatments of weaknesses of MP2 theory are for open shell sys- tems, and other cases where the HF determinant is Electron Correlation a poor starting point. Q-Chem contains an efficient conventional semi- While density functional methods yield a de- direct method to evaluate the MP2 energy and scription of electronic structure that accounts for gradient.56 These methods require OVN memory electron correlation subject only to the limitations (O, V, N are the numbers of occupied, virtual, and of present-day functionals (which for example omit total orbitals, respectively), and disk space, which dispersion interactions), DFT cannot be systemat- is bounded from above by OVN2/2. The latter can ically improved if the results are deficient. Wave be reduced to IVN2/2 by treating the occupied or- function-based approaches for describing electron bitals in batches of size I, and reevaluating the correlation50 offer this main advantage. There are two-electron integrals O/I times. This approach is four broad classes of models for describing elec- tractable on modern workstations for energy and tron correlation that are supported within Q-Chem. gradient calculations of at least 500 basis functions The first three directly approximate the full time- or so, or molecules of between 15 and 30 first row independent Schrödinger equation. In order of in- atoms, depending on the basis set size. The compu- creasing accuracy, and also increasing cost, they are: tational cost increases between the third and fifth (a) perturbative treatment of pair correlations be- power of the size of the molecule, depending on tween electrons, capable of recovering typically 80% which part of the calculation is time dominant. or so of the correlation energy in stable molecules. To permit MP2 energy calculations on larger sys- (b) Self-consistent treatment of pair correlations be- tems, Q-Chem contains newly developed local cor- tween electrons, capable of recovering on the order relation methods.57, 58 These methods involve phys- of 95% or so of the correlation energy. (c) Nonit- ically motivated truncations of the full MP2 energy erative corrections for higher than double substi- expression that substantially reduce the cost of very tutions, which can typically account for more than large MP2 calculations and also reduce the rate of 99% of the correlation energy. They are the basis of increase of the calculations with molecular size. The many modern methods that are capable of yielding answers are also slightly different, as these meth- chemical accuracy for ground state reaction ener- ods define their own theoretical model chemistries gies, as exemplified by the G251 and G3 methods.52 that deviate slightly from conventional MP2 the- These methods are discussed in the following three ory. Below we summarize the physical content of subsections. these models, and their computational costs, and There is a fourth class of methods supported in give some general guidelines to their accuracy. Q-Chem, which have a different objective. This is to MP2 theory includes the energy contributions obtain a balanced description of electron correlation from pair correlations between electrons, in the in highly correlated systems, such as biradicals, or form of double substitutions of occupied orbitals along bond-breaking coordinates, and is discussed by empty (virtual) orbitals. We describe the double in the fourth part of this section. substitutions in terms of a basis of nonorthogo- MP2 AND LOCAL MP2 METHODS nal localized atom-centered functions to permit the development of local models. The smallest atom- The second-order Møller–Plesset theory (MP2)53 centered set of functions that can span the occupied is the simplest useful wave function-based electron space is a minimal basis set on each atom, for which correlation method. Revived in the mid-1970s, it we use either polarized atomic orbitals (see earlier), remains highly popular today, because it offers sys- or, by default, extracted polarized atomic orbitals tematic improvement in optimized geometries and (EPAOs),59 projected into the occupied space. Note other molecular properties relative to the Hartree– that the EPAOs do not alter the usual SCF energy, Fock (HF) theory.54 Indeed, in a recent comparative while as discussed above the PAOs do. The virtual study of small closed shell molecules,55 MP2 outper- space is spanned by the full set of atomic orbitals, formed much more expensive singles and doubles projected into the virtual space. In terms of these

1538 VOL. 21, NO. 16 Q-CHEM 2.0

substitution. The long-range dispersion is still cor- rectly recovered, but nonlocal charge transfer is no longer allowed. We find that typically 95% of the correlation energy associated with covalent bond- ing is recovered, but the performance for hydrogen bonding is much poorer. Finally, for comparison, TRIM comfortably ex- ceeds the accuracy of the widely used Pulay– Saebo60 local MP2 method (roughly 98–99% correla- tion energy recovery), while DIM is below it. Note, however, that the Pulay–Saebo method as conven- tionally defined does not yield strictly continuous potential energy surfaces. FIGURE 1. Full (untruncated) MP2 allows for double The computational advantage associated with substitutions connecting up to four atoms together, the local MP2 methods varies, depending upon the because in terms of atom-centered functions, occupied size of molecule and the basis set. As a very rough orbitals on two given atoms will generally be promoted to virtual orbitals on two different atoms. Hence, the general estimate, TRIM-MP2 calculations are feasi- number of double substitutions rises with the fourth ble on molecule sizes about twice as large as those power of molecular size. Q-Chem’s local MP2 methods for which conventional MP2 calculations are feasi- restrict the double substitutions based on spatial ble on a given computer, and this is their primary proximity. In the triatomics in molecules (TRIM) model, advantage. Q-Chem’s implementation is well suited one occupied to virtual substitution is required to be on a for large basis set calculations, because the memory single atom, while the other can be nonlocal. Thus, the requirement for the integral transformation does not number of substitutions retained grows with the third exceed OON, and is thresholded so that it asymptot- power of molecular size. The diatomics in molecules ically grows linearly with molecule size. Additional (DIM) truncation requires both orbital substitutions to be memory of approximately 32N2 is required to com- restricted to a given atom, so that the number of retained plete the local MP2 energy evaluation. The disk double substitutions grows with the second power of molecular size. space requirement is only about 8OVN, but is not thresholded. DIM-MP2 calculations are faster than TRIM-MP2, and do not require disk storage, but atom-centered functions, a double substitution will have similar memory requirements. generally couple together four different atoms, as shown in Figure 1. COUPLED-CLUSTER SINGLES AND The two local models arise by making atomic DOUBLES METHODS truncations of the full set of double substitutions as described below, and as shown in Figure 1. Note The standard approach for treating pair corre- that by the nature of an atomic truncation, these lations self-consistently are coupled-cluster meth- local models yield smooth, globally defined po- ods where the cluster operator contains all single tential energy surfaces. (1) Triatomics in molecules and double substitutions,61 abbreviated as CCSD. (TRIM): The gentlest atomic truncation is to force Quadratic configuration interaction with singles one substitution to be restricted to a single atom, and doubles (QCISD)62 is a widely used alternative, while no restriction is placed on the other. This which is probably best viewed as an approxima- means that only one electron can be transferred tion to CCSD. These methods yield results that are with a double substitution. The number of ampli- only slightly superior to MP2 for structures and fre- tudes is reduced to cubic, as only three separate quencies of stable closed-shell molecules. However, atoms can be coupled by TRIM double substitu- they are far superior for reactive species, such as tion. The TRIM models recovers around 99.7% of the transition structures and radicals, for which the per- MP2 correlation energy for covalent bonding.58 The formance of MP2 is quite erratic. Q-Chem supports performace for relative energies is very robust, as energy evaluation for both CCSD and QCISD. In ad- shown in ref. 58 for the challenging case of torsional dition, the MP3 and MP4 energies are also available. barriers in conjugated molecules. (2) Diatomics-in- There is an alternative to CCSD and QCISD avail- molecules (DIM): a stronger truncation is to force able in Q-Chem that has some additional advan- each substitution to be restricted to a single atom, so tages. This is the optimized orbital CCSD method that only pairs of atoms are coupled by the double (OO-CCD), which we normally refer to as sim-

JOURNAL OF COMPUTATIONAL CHEMISTRY 1539 KONG ET AL. ply optimized doubles (OD).63 In the OD method, for fixed molecule size), although no additional there are no single substitutions in the cluster op- disk resourses are required relative to the starting erator. Instead, the orbitals that define the mean calculation. Q-Chem supports the field reference are optimized to minimize the total evaluation of CCSD(T) and QCISD(T) energies, as energy (defined in the usual nonvariational clus- well as the corresponding OD(T) correction to the ter fashion). This can be viewed as an alternative optimized doubles method discussed in the previ- definition of approximate Brueckner orbitals. The ous subsection. As discussed in the next section, a OD method has the advantage of formal simplic- local triples method is also being developed. ity (orbital variations and single substitutions are While the (T) corrections have been extraordi- redundant variables). In cases where Hartree–Fock narily successful, there is nonetheless still room theory performs poorly (e.g., artifactual symme- for improvement. They contain judiciously chosen try breaking), it is also practically advantageous to terms from fourth- and fifth-order Møller–Plesset use the OD method, where the HF orbitals are not , as well as higher order terms required, rather than CCSD or QCISD. Q-Chem sup- that result from the fact that the converged clus- ports both energies and analytical gradients using ter amplitudes are employed to evaluate the fourth- the OD method. The computational cost for the OD and fifth-order terms. The correction, therefore, de- energy is roughly twice that of the CCSD or QCISD pends upon the bare reference orbitals and orbital method, but the total cost of energy plus gradient is energies, and in this way its effectiveness still de- similar. pends on the quality of the reference determinant. The implementation of the QCISD, CCSD, and Because we are correcting a coupled cluster solution OD methods in Q-Chem requires substantial disk rather that a single determinant, this is an aspect of space, which grows as the number of atomic orbitals the (T) corrections that can be improved. to the fourth power. The computational effort in- Such an improvement has recently been re- creases with the sixth power of molecule size, or ported,66 and Q-Chem contains this new method. the fourth power of basis set size, for fixed mole- The new correction is a true second-order correction cule size. These are the conventional scalings as- to a coupled cluster starting point, and is, therefore, sociated with these methods, and result from the denoted as (2). It is available for the three clus- use of delocalized occupied and virtual orbitals. In ter methods discussed above, as OD(2), CCSD(2), other words, the local methods described for MP2 and QCISD(2) energies.66, 67 The basis of the (2) theory in the previous section have not yet been method is to partition not the regular Hamiltonian implemented for these higher correlation methods. into perturbed and unperturbed parts, but rather to Finally, we note that the internal details of our im- partition a similarity-transformed Hamiltonian, de- plementation make our code readily extensible to ¯ˆ − ˆ ˆ ˆ fined as H = e THeT. In the truncated space (call new correlated techniques relative to traditional de- it the p-space) within which the cluster problem is signs. The code is fully object oriented, and the solved (e.g., singles and doubles for CCSD), the cou- top-level calls closely resemble spin-orbital algebra. ¯ˆ pled cluster wavefunction is a true eigenvalue of H. ¯ˆ NONITERATIVE CORRECTIONS DUE TO HIGHER Therefore, we take the zero-order Hamiltonian, H(0), ¯ˆ CORRELATION EFFECTS to be the full H in the p-space, while in the space of excluded substitutions (the q-space)wetakeonly To approach chemical accuracy in reaction ener- ¯ˆ gies and related properties, it is necessary to account the one-body part of H (which can be made diag- for electron correlation effects that involve three onal). The fluctuation potential describing electron ¯ˆ ¯ˆ electrons simultaneously, as represented by triple correlations in the q-space is H−H(0),andthe(2)cor- substitutions relative to the mean field single de- rection then follows from second-order perturbation terminant reference, which arise in MP4. The best theory. standart methods for including triple substitutions The new partitioning of terms between the per- are the CCSD(T)64 and QCISD(T) methods.62 The turbed and unperturbed Hamiltonians inherent in accuracy of these methods is well documented for the (2) correction leads to a correction that shows many cases,65 and, in general, is a very significant both similarities and differences relative to the ex- improvement relative to the starting point (either isting (T) corrections. There are two types of higher CCSD or QCISD). The cost of these corrections correlations that enter at second order: not only scales with the seventh power of molecule size (or triple substitutions, but also quadruple substitu- the fourth power of the number of basis functions tions. The quadruples are treated with a factoriza-

1540 VOL. 21, NO. 16 Q-CHEM 2.0

to 1 kcal/mol or better, and are employed in the widely used G2 and G3 thermochemical meth- ods, where the rate-determining step is usually the triples contribution to the fourth-order Møller– Plesset energy: MP4(T). The cost of methods includ- ing triple substitutions, such as the widely used MP4(T) and CCSD(T) methods, scales as the sev- enth power of molecule size, and this limits their application to roughly 10 first row atoms. The lo- cal triples algorithm reduces the cost from seventh order to fifth order, and thereby enables calcula- tions on molecules two to three times larger than FIGURE 2. Comparison of calculated potential curves previously feasible. It crosses over with the conven- for breaking the F2 bond using restricted (spin-pure tional triples algorithm around 25 occupied orbitals, orbitals) using the optimized orbital coupled cluster or roughly 150 basis functions. The local algorithm doubles (OD) method, and two noniterative corrections requires all the doubles amplitudes to be stored on for higher than double substitutions. The basis set is the disk, and also requires disk storage for a cubic num- cc-pVDZ basis. OD itself is qualitatively correct, but ber of local integrals. A relatively small (quadratic) makes the well depth far too deep because it cannot amount of memory is required. recover a uniform fraction of the correlation energy as The basis of the local triples method is a gen- the bond is stretched. The first noniterative correction is the standard triples correction, (T), which exhibits an eralization of the TRIM method discussed above unphysical hump, and clearly is diverging as the bond for MP2 theory. Three electrons are simultaneously length is stretched. Second is the new (2) correction, promoted in a triple substitution, and in the local which corrects the well depth, and is stable even as the model, two of those promotions are restricted to a bonding and antibonding σ orbitals approach single atom, while the third is permitted to be nonlo- degeneracy. cal. This reduces the number of triple substitutions from rising with the sixth power of molecule size to rising with the fourth power. Benchmark thermo- tion ansatz, that is exact in fifth-order Møller–Plesset chemical calculations on 105 molecules in the G2/97 theory,68 to reduce their computational cost from N9 database52 indicate that local truncation recovers at to N6. For large basis sets this can still be larger least 95% of the untruncated triples energy. The lo- than the cost of the triples terms, which scale as the cal error introduced into the G3 binding energies is seventh power of molecule size, with a factor twice typically 0.1–0.2 kcal/mol, with a maximum error of as large as the usual (T) corrections. These correc- 0.26 kcal/mol. This error is small enough for most tions are feasible for molecules containing between applications. If higher accuracy is required, the er- 4 and 10 first-row atoms, depending on computer ror can be reduced by employing a less severe local resources, and the size of the basis set chosen. There truncation. is early evidence that the (2) corrections are su- perior to the (T) corrections for highly correlated VALENCE ACTIVE SPACE METHODS systems.66 This shows up in improved potential curves, particularly at long range, as illustrated in Electron correlation effects can be qualitatively Figure 2, and may also extend to improved energetic divided into two classes. The first class is static and structural properties at equilibrium in problem- or nondynamical correlation: long wavelength low- atical cases. It will be some time before sufficient energy correlations associated with other electron testing on the new (2) corrections has been done to configurations that are nearly as low in energy as permit a general assessment of the performance of the lowest energy configuration. These correlation these methods, but they are clearly very promising. effects are important for problems such as bond breaking, and are the hardest to describe because LOCAL TRIPLE EXCITATION METHODS by definition the single configuration Hartree–Fock description is not a good starting point. The second Work is underway to incorporate local correla- class is dynamical correlation: short wavelength tion methods for triple substitutions,69, 70 for closed- high-energy correlations associated with atomic- shell molecules only. Triple substitutions are es- like effects. Dynamical correlation is essential for sential for predicting chemical reaction energies quantitative accuracy.

JOURNAL OF COMPUTATIONAL CHEMISTRY 1541 KONG ET AL.

In the methods discussed in the previous several currently under way to develop modified coupled subsections, the objective was to approximate the cluster methods that perform more satisfactorily for total correlation energy. However, in some cases, it multiple bond breaking.74, 75 Both energies and ana- is useful to instead directly model the nondynam- lytical gradients are available for VOD in Q-Chem. ical and dynamical correlation energies separately. We note that convergence of VOD calculations is The reasons for this are pragmatic: with approxi- generally poorer than that of OD calculations, be- mate methods, such a separation can give a bet- cause of the difficulty of optimizing the active space ter balanced treatment of electron correlation along orbitals. bond-breaking coordinates, or reaction coordinates VOD energies can be perturbatively corrected that involve biradicaloid intermediates. The nondy- for dynamical correlation effects by an appropriate namical correlation energy is conveniently defined generalization of the OD(2) model discussed in the as the solution of the Schrödinger equation within previous section. Q-Chem contains an implemen- a small basis set composed of valence bonding, tation of the corresponding VOD(2) method,76 for antibonding, and lone-pair orbitals: the so-called energies only. VOD(2) includes the dynamical corre- full valence active space. Solved exactly, this is the lation effects associated with the single and double so-called full valence complete active space SCF substitutions omitted in VOD, as well as a subset of (CASSCF),71 or equivalently, the fully optimized re- triple and quadruple substitutions. The latter allow action space (FORS) method.72 a consistent treatment of correlation effects from all Full-valence CASSCF and FORS involve compu- determinants in the VOD reference, as is required tational complexity, which increases exponentially when the HF determinant is a poor starting point. with the number of atoms, and is thus unfeasi- Use of the VOD(2) correction yields relative ener- ble beyond systems of only a few atoms, unless gies that are greatly improved relative to VOD.76 In the active space is further restricted on a case-by- summary, VOD(2) is a true second-order perturba- case basis. Q-Chem includes an economical method tion correction to the VOD reference for dynamical that directly approximates these theories using a correlation, analogous to the manner in which MP2 truncated coupled cluster doubles wave function is a second-order correction to the Hartree–Fock ref- with optimized orbitals.73 This represents a gen- erence for all correlation effects. However, it is of eralization of the optimized doubles method (OD) much higher quality than MP2 because the pertur- discussed above such that double excitations are bation is much smaller, because VOD includes the only permitted within the valence active space, and leading nondynamical correlations. the orbitals describing this active space are simulta- neously optimized. This method may be fully spec- ified as valence optimized orbital coupled cluster Excited State Methods doubles (VOO-CCD), or, more concisely as valence optimized doubles (VOD). VOD calculations have The development of effective approaches to mod- computational complexity that scales similarly to eling electronic excited states has historically lagged OD, although with a smaller prefactor, and with far behind advances in treating the ground state. In lower disk storage requirements. It is thus an eco- part, this is because of the much greater diversity nomical and size-consistent approximation to full in the character of the wave functions for excited valence CASSCF, which can be applied to medium- states, making it more difficult to develop broadly sized organic molecules with a full valence active applicable methods without molecule-specific or space. even state-specific specification in the form of the The performance of VOD for bond-breaking wave function. Broadly speaking, Q-Chem con- processes may be briefly summarized as follows.73 tains methods that are capable of giving qualitative For processes that are essentially single bond break- agreement, and in many cases quantitative agree- ing in nature, VOD appears to give essentially quan- ment with experiment for lower optically allowed titative accuracy in comparison with full valence states. The situation is less satisfactory for states that CASSCF. Caution is required in the description of involve bi-electronic excitations, although even here multiple bond breaking, because if restricted or- reasonable results can sometimes be obtained. The bitals are enforced at long bond lengths, VOD can discussion of specific methods below is divided into exhibit nonvariational collapse to energies well be- two sections. The first part describes excited state low the true values (like any conventional coupled versions of single configuration treatments of the cluster method). For a discussion of these limita- ground state via Hartree–Fock theory, and in partic- tions, see refs. 50 and 74, and we note that efforts are ular, Kohn–Sham density functional theory, which

1542 VOL. 21, NO. 16 Q-CHEM 2.0 are applicable to quite large molecules. The second cies or excitation energies, and are available in Q- part discusses more accurate, and also more ex- Chem,84 together with the CIS-like Tamm–Dancoff pensive excited state methods based upon coupled approximation.85 TDDFT is becoming very popular cluster theory, which are only feasible for smaller as a method for studying excited states because the molecules. computational cost is roughly similar to the simple CIS method (scaling as roughly the square of mole- EXCITED STATE METHODS BEGINNING FROM cular size), but a description of differential electron SELF-CONSISTENT FIELD GROUND STATES correlation effects is implicit in the method. The ex- citation energies for low-lying valence excited states Here we consider the ground state to be given of molecules (below the ionization threshold) are of- as a single determinant: either the Hartree–Fock de- ten remarkably improved relative to CIS, with an terminant for wave function-based methods, or the accuracy of roughly 0.3 eV being observed with ei- Kohn–Sham determinant, which parameterizes the ther gradient corrected or local density functionals. ground-state electron density in the density func- However, standard density functionals do not tional theory (DFT). The single determinant is op- yield a potential with the correct long-range timized by minimizing the total energy, which is Coulomb tail (due to the so-called self-interaction equivalent via the Brillouin theorem to obtaining a problem), and therefore, excited states that sam- set of occupied orbitals whose matrix elements with ple this tail (e.g., diffuse Rydberg states, and all single substitutions are zero. Therefore, single some charge transfer excited states) are not given substitutions are Hamiltonian noninteracting with accurately.86, 87 Hence it is advisable to only employ the ground state, and form a natural basis for de- TDDFT for low-lying valence excited states that are scribing excited states at a level of theory roughly below the first ionization potential of the molecule. similar to the ground state. This makes radical cations a particularly favorable Beginning from the Hartree–Fock theory, this choice of system, as exploited in ref. 88. TDDFT leads to excited states that are a mixture of all for low-lying valence excited states of radicals is in such single substitutions (the CIS method).77 Q- general a remarkable improvement relative to CIS, Chem contains efficient direct implementations of including some states, that, when treated by wave CIS not only for closed- and open-shell energies, function-based methods can involve a significant but also for analytical first and second derivatives.78 fraction of double excitation character.84 For closed-shell molecules, CIS yields qualitatively correct descriptions of one-electron excited states, although due to neglect of electron correlation, the EXCITED STATE METHODS BASED ON excitation energies cannot generally be expected to COUPLED-CLUSTER GROUND STATES be reliable to within more than roughly 2 eV. Op- timized geometries and vibrational frequencies are It is possible to obtain a description of elec- of reasonably good quality,79 roughly similar to HF tronic excited states at a level of theory similar to theory for ground states. Conventional CIS is quali- that associated with the coupled-cluster theory for tatively unsatisfactory for radicals, but the extended the ground state, by applying either the linear re- 89 90 CIS (XCIS) method is available for doublet and sponse theory for equations of motion methods. quartet excitation energies,80 and with comparable A number of groups have demonstrated that excita- performance to CIS for closed-shell molecules. To tion energies based on a coupled-cluster singles and correct CIS excitation energies for the leading ef- doubles ground state are generally very accurate fects of electron correlation, Q-Chem also includes a for states that are primarily single electron promo- perturbative doubles correction CIS(D).81 CIS(D) is tions. The errors observed in calculated excitation roughly an excited state analog of MP2 theory, and energies to such states is approximately 0.3 eV, in- typically reduces errors in CIS excitation energies cluding both valence and Rydberg excited states. by a factor of two or more, while the computational This, of course, assumes that a basis set large and cost per state is roughly similar to an MP2 calcula- flexible enough to describe valence and Rydberg tion. states is employed. The accuracy of the excited state Excited states may be obtained from density coupled-cluster methods is much lower for excited functional theory by time-dependent density func- states that involve a substantial component of dou- tional theory,82, 83 which calculates poles in the re- ble excitation character, where errors may be 1 eV or sponse of the ground-state density to a time-varying even more. Such errors arise because the description applied electric field. These poles are Bohr frequen- of electron correlation is better in the ground state

JOURNAL OF COMPUTATIONAL CHEMISTRY 1543 KONG ET AL. than for an excited state with substantial double ex- STEWART ATOMS citation character. Q-Chem includes coupled-cluster methods for Stewart atoms are the unique nuclear-centered excited states based on the optimized orbital spherical functions whose sum best fits a molecular 95 coupled-cluster doubles (OD) method, described density in a least-squares sense. Their usefulness earlier. OD excitation energies are essentially iden- lies in the fact that they recover atomic identity tical in numerical performance to CCSD excited from a molecular density, and yield a much sim- states, as has been recently demonstrated.91 This plified (although approximate) description of the method, while far more computationally expensive electronic density. This second fact has ramifica- than TDDFT, is nevertheless useful as a proven high tions for the rapid calculation of Coulomb energies, accuracy method for the study of excited states of and for the evaluation of integrals arising in DFT small molecules. Also, when studying a series of re- without recourse to numerical quadrature grids. Al- though several methods have been developed for lated molecules it can be very useful to compare the 96 performance of TDDFT and coupled-cluster theory calculating Stewart atoms, the most conceptually for at least a small example to understand its per- straightforward approach is based on resolution of the identity (RI), which expands the Stewart atoms formance. Along similar lines, the CIS(D) method 97 described earlier as an economical correlation en- in a radial basis located on each center. The expan- ergy correction to CIS excitation energies is, in fact, sion coefficients are determined via a least-squares an approximation to coupled-cluster excitation en- fitting procedure, and this has been fully imple- mented within the Q-Chem package. Work is also ergies. It is useful to assess the performance of being carried out on an integral equation formu- CIS(D) for a class of problems by benchmarking lation of the Stewart theory in which the Stewart against the full coupled-cluster treatment. Finally, atoms are obtained by convolving the molecular Q-Chem also includes excited states by the equation density with solution kernels.98 This method avoids of motion version of the valence optimized doubles the need for an auxiliary expansion basis, and thus (VOD) method (see above), whose validity and use circumvents the basis set convergence problems that is fully discussed in ref. 91. affect the RI expansion.

MOMENTUM DENSITIES Wave Function Analysis The electron density of a molecule is a familiar quantity, and plots of such densities adorn many Wave functions are not easy to interpret, and this modern chemistry textbooks. It is useful because it has continued to fuel an interest in the extraction reveals the positions at which an electron is most of simpler quantities from them. The most basic likely to be found. Furthermore, because it can tools that have been developed are the familiar Mul- be measured by X-ray crystallography, the electron liken and Lowdin population analyses,26 but these density provides an important bridge between the- attempt to reduce electronic structure to a set of ory and experiment. The less familiar momentum numbers, and this is often not entirely satisfactory. density is also illuminating, because it reveals the A more sophisticated approach to population analy- momenta that an electron is most likely to possess. sis the widely used Natural Bond Order (NBO) ap- Momentum densities also offer a bridge to exper- proach, developed by Weinhold and coworkers.92, 93 iment through Compton scattering measurements. Q-Chem contains a basic interface to this package,94 Electron densities and momentum densities thus although not all of its functionality is currently sup- provide complementary information about a chem- ported. Alternatively, instead of numbers, one may ical system and, taken together, provide a more seek simple functions that capture the key proper- detailed picture of electronic structure than emerges ties of the wave function. Accordingly, it has now from either separately. become commonplace for researchers to study sys- tems of interest by plotting the electron density, INTRACULES key molecular orbitals, electrostatic potential, elec- tric field, or other such functions. Q-Chem is well Electron and momentum densities are one- equipped for such calculations. electron functions, which means that they provide Q-Chem can also compute a number of less famil- information about the probability that one electron iar functions and four classes of these are described will be found in a certain position or with a cer- in the following paragraphs: tain momentum. However, because the interactions

1544 VOL. 21, NO. 16 Q-CHEM 2.0 between pairs of electrons are so important in chem- a continuum solvation model, but it more realisti- istry, it is also beneficial to generate and study the cally treats effects such as dielectric saturation, and analogous two-electron functions. The position in- local solvation, by incorporating a layer of dipoles ˆ tracule, P(u), and momentum intracule, P(v), are the around the Van der Waals surface of the solute, probability distributions of the relative position u = and this dipole layer is, in turn, surrounded by |r1 −r2| and relative momentum v =|p1 − p2| of two continuum solvent. The individual dipoles orient electrons. An intracule derived from a Hartree–Fock themselves self-consistently with the solute charge wave function can be separated into its Coulomb distribution (while having constant magnitude) to and exchange components, and these sometimes determine the short-range part of the reaction field. yield more information than their sum. Q-Chem This approach has been successfully applied in a ˆ ˆ 106 can separately calculate the J(u), K(u), J(v), and K(v) number of chemical applications. intracules.99 – 101 WALKING ON POTENTIAL ENERGY SURFACES ATTACHMENT AND DETACHMENT DENSITIES Q-Chem’s optimization capabilities were devel- While an electronic transition is a collective re- oped by Dr. Jon Baker, and are based on the arrangement of all electrons in a molecule it is eigenvector following method.107 This is capable of very desirable to have a one-electron picture of searching for both minima and transition structures, the main changes in charge density. In attachment– using either gradients, or gradients and hessians as detachment density analysis,102 the difference den- input. It employs redundant internal coordinates108 sity matrix between the ground state and the excited to ensure good convergence even when an initial state of interest is decomposed into a detachment estimate of the force constant matrix is not avail- density that is rearranged upon excitation into an able. Additionally, a sophisticated treatment of op- attachment density. The remaining electron den- timization with constraints109 is available, in which sity is unaffected. This procedure is often helpful constraints can be specified either as frozen internal for visualizing electronic transitions and classifying coordinates (bond lengths, angles, etc.), or frozen them as valence, or Rydberg, or mixed, and exam- Cartesian coordinates. ining whether or not there is charge-transfer char- acter. Attachment–detachment analysis has been RELATIVISTIC ENERGY CORRECTION successfully employed in a number of chemical applications.103 A relativistic energy of the order 1/c2,where c is the speed of light, is calculated automatically each time a Hartree–Fock frequency calculation is Additional Capabilities requested. This is an additive correction to the Hartree–Fock energy that approximately accounts USER INTERFACE for the increase of the electron mass as the elec- tron velocity approaches the speed of light, which Like traditional electronic structure programs, Q- occurs near an atomic nucleus. It is the first-order Chem is fundamentally a backend compute engine. contribution of the stationary direct perturbation It contains a simple text-based input mechanism, in- 110 cluding scripts that permit emulation of common theory expansion of the –Fock energy. The Dirac–Fock method is a many-electron generaliza- Gaussian-style keywords. On some platforms this 111 release of Q-Chem is bundled as a back end with tion of the Dirac equation, and includes four the Spartan user interface from Wavefunction, Inc., components for each . Dirac–Fock which provides a versatile and sophisticated plat- is accurate for heavy-atom-containing molecules, form for building molecules, and visualizing the but it is too costly, and there are numerical prob- results of the calculations. lems with convergence. See ref. 112 for a review of relativistic methods including Dirac–Fock. The SOLVATION MODELING stationary direct perturbation expansion in powers of 1/c2 gives an order-by-order approximation to Q-Chem contains two solvation models.104 First, the Dirac–Fock energy, where the zero-order energy the simple spherical Onsager reaction field model, is the nonrelativistic Hartree–Fock energy, and the and second, the considerably more sophisticated infinite order energy is the Dirac–Fock energy. In Langevin dipoles model developed by Warshel and Q-Chem, real UHF orbitals are used as the zero- Florian.105 The Langevin dipoles approach is also order orbitals in conjunction with the first-order

JOURNAL OF COMPUTATIONAL CHEMISTRY 1545 KONG ET AL. energy formula.113, 114 This results in a scalar rela- are new and not available elsewhere. As the re- tivistic correction (that does not include spin-orbit sult of collaboration between a company effects) which is a good approximation to the Dirac– and several academic research groups, such features Fock energy minus the spin-orbit contribution for represent one of the strongest aspects of Q-Chem. molecules containing the atoms hydrogen through krypton and perhaps heavier atoms.

DIAGONAL ADIABATIC CORRECTION References

The commonly used Born–Oppenheimer approx- 1. Schmidt, M. W.; Baldridge, K. K.; Boatz, J. A.; Elbert, S. imation separates the motion of electrons from that T.; Gordon, M. S.; Jensen, J. H.; Koseki, S.; Matsunaga, N.; of nuclei. For a total molecular energy, this approxi- Nguyen,K.A.;Su,S.J.;Windus,T.L.;Dupuis,M.;Mont- gomery, J. A. J Comput Chem 1993, 14, 1347. mation is correct up to the order of O(m/M), where 2. Kendall, R. A.; Apra, E.; Bernholdt, D. E.; Bylaska, E. J.; m/M is the ratio of the electronic to the nuclear Dupuis, M.; Fann, G. I.; Harrison, R. J.; Ju, J.; Nichols, J. A.; masses. The leading contribution to this molecular Nieplocha, J.; Straatsma, T. P.; Windus, T. L.; Wong, A. T. energy beyond the Born–Oppenheimer approxima- Comput Phys Commun 2000, 128, 260. tion is described by the so-called diagonal Born– 3. Brooks, B. R.; Bruccoleri, R. E.; Olafson, B. D.; States, D. J.; Oppenheimer correction (DBOC),115 which has been Swaminathan, S.; Karplus, M. J Comput Chem 1983, 4, 187. proven to be rigorous even for the molecules with 4. Levine, I. N. Quantum Chemistry; Prentice Hall: Engle- separated center-of-mass motion.116 Q-Chem is ca- wood Cliffs, NJ, 2000. pable of calculating the DBOC for self-consistent 5. Jensen, F. Introduction to Computational Chemistry; Wi- field wave functions. Additionally, Q-Chem can ley: New York, 1999. evaluate the leading correlation correction to the 6. Simons, J.; Nichols, J. Quantum Mechanics in Chemistry; Oxford: New York, 1997. DBOC, based on the Møller–Plesset perturbation ex- 7. Davidson, E. R.; Feller, D. Chem Rev 1986, 86, 681. pansion of the correlated wave function.117 8. Helgaker, T.; Taylor, P. R. In Modern Electronic Structure Theory; Yarkony, D. R., Ed.; World Scientific: Singapore, PARALLEL COMPUTING 1995, p. 725. 9. Hehre, W. J.; Radom, L.; Schleyer, P. v. R.; Pople, J. A. Ab One way to extend the applicability of quan- Initio ; Wiley: New York, 1986. tum chemistry methods to larger molecules is to 10. Rassolov, V. A.; Pople, J. A.; Ratner, M. A.; Windus, T. L. take advantage of the growing power and avail- J Chem Phys 1998, 109, 1223; Rassolov, V. A.; co-workers, ability of parallel computers. Q-Chem recognizes in preparation. this need, and has been making systematic effort 11. Dunning, T. H., Jr. J Chem Phys 1989, 90, 1007. The full set to parallelize the most computationally demanding of correlation-consistent basis sets are available for down- steps in the code. Parallelized features in the current load at the Pacific Northwest Laboratory web site (http:// www.emsl.pnl.gov). version of Q-Chem includes HF and DFT models 118 12. Dunning, T. H., Jr.; Hay, P.J. In Methods of Electronic Struc- for single-point and gradient calculations. Ady- ture Theory; Schaefer, H. F., III, Ed.; Plenum Press: New namic load-balancing scheme is used to achieve York, 1977. optimal parallel efficiency and the Message-Passing 13. Schafer, A.; Horn, H.; Ahlrichs, R. J Chem Phys 1992, 97, Interface (MPI) is used for portability. The speedups 2571. obtained in benchmark calculations are 12–14 on 16 14. Basis sets were obtained from the Extensible Computa- nodes for single-point and 40–50 on 64 nodes for en- tional Chemistry Environment Basis Set Database, Version, ergy gradient evaluation (SGI Origin 2000 and Cray as developed and distributed by the Molecular Science T3E timings). An IBM SP2 version is now being Computing Facility, Environmental and Molecular Sci- ences Laboratory, which is part of the Pacific Northwest completed, and efforts are being made in develop- Laboratory, P.O. Box 999, Richland, WA 99352, and funded ment of parallel linear-scaling methods. by the U.S. Department of Energy. The Pacific North- west Laboratory is a multiprogram laboratory operated by Battelle Memorial Institute for the U.S. Department of En- Conclusions ergy under contract DE-AC06-76RLO 1830. Contact David Feller or Karen Schuchardt for further information. The new release of the Q-Chem program de- 15. Hay, P. J.; Wadt, W. R. J Chem Phys 1985, 82, 270; ibid 284, ibid 299. scribed in this article represents the second genera- 16. See, for example, Stevens, W. J.; Basch, H.; Krauss, M. J tion of this package. This article has described the Chem Phys 1984, 81, 6026; Stevens, W. J.; Krauss, M.; Basch, key features contained in the program with par- H.; Jasien, P. G. Can J Chem 1992, 70, 612; Cundari, T. R.; ticular emphasis on theories and algorithms that Stevens, W. J. J Chem Phys 1993, 98, 5555.

1546 VOL. 21, NO. 16 Q-CHEM 2.0

17. See, for example, Hurley, M. M.; Pacios, L. F.; Christiansen, 47. Ochsenfeld, C. Chem Phys Lett 2000, 327, 216. P. A.; Ross, R. B.; Ermler, W. C. J Chem Phys 1986, 84, 6840; 48. Becke, A. D. J Chem Phys 1988, 88, 2547. Lajohn, L. A.; Christiansen, P. A.; Ross, R. B.; Atashroo, T.; 49. Ochsenfeld, C.; Head–Gordon, M. Chem Phys Lett 1997, Ermler, W. C. J Chem Phys 1987, 87, 2812. 270, 399. 18. See, for example, Bergner, A.; Dolg, M.; Kuechle, W.; Stoll, 50. For a tutorial introduction to electron correlation methods H.; Preuss, H. Mol Phys 1993, 80, 1431. based on wave functions, see Bartlett, R. J.; Stanton, J. F. 19. See, for example, Dolg, M.; Stoll, H.; Preuss, H.; Pitzer, R. In Reviews in Computational Chemistry; Lipkowitz, K. B.; M. J Phys Chem 1993, 97, 5852. Boyd, D. B., Eds.; VCH: New York, 1994, p. 65, vol. V. 20. Adams, T. R.; Adamson, R. D.; Gill, P. M. W. J Chem Phys 51. Curtiss, L. A.; Raghavachari, K.; Trucks, G. W.; Pople, J. A. 1997, 107, 124. J Chem Phys 1991, 94, 722. 21. Gill, P. M. W.; Gilbert, A. T. B; Adams, T. R. J Comput 52. Curtiss, L. A.; Raghavachari, K.; Redfern, P. C.; Rassolov, Chem. V.; Pople, J. A. J Chem Phys 1998, 109, 7764. 22. Gill, P. M. W. Adv Quantum Chem 1994, 25, 141. 53. Møller, C.; Plesset, M. S. Phys Rev 1934, 46, 618. 23. Adamson, R. D.; Gill, P. M. W. J Chem Phys, in preparation. 54. Hehre, W. J.; Radom, L.; Schleyer, P. v. R.; Pople, J. A. 24. Kahn, L. R.; Goddard, W. A., III J Chem Phys 1972, 56, 2685. Ab Initio Molecular Orbital Theory; Wiley: New York, 25. See, for example, Skylaris, C.-K.; Cagliardi, L.; Handy, N. 1986. C.; Ioannou, A. G.; Spencer, S.; Willets, A.; Simper, A. M. 55. Helgaker, T.; Gauss, J.; Jorgensen, P.; Olsen, J. J Chem Phys Chem Phys Lett 1998, 296, 445. 1997, 106, 6430. 26. For a general introduction to Hartree–Fock theory, see 56. Head–Gordon, M. Mol Phys 1999, 96, 673. Szabo, A.; Ostlund, N. S. Modern Quantum Chemistry: 57. Head–Gordon, M.; Lee, M. S.; Maslen, P. E. In Simulation Introduction to Advanced Electronic Structure Theory; and Theory of Electrostatic Interactions in Solution; Pratt, Dover: New York, 1996. L. R.; Hummer, G., Eds.; AIP Conference Proceedings 492; 27. A comprehensive discussion of the performance of AIP: New York, 1999, p. 301. Hartree–Fock theory, and also second-order Møller– 58. Lee, M. S.; Maslen, P. E.; Head–Gordon, M. J Chem Phys Plesset theory for chemical applications is available in 2000, 112, 3592. ref. 9. 59. Lee, M. S.; Head–Gordon, M. Int J Quantum Chem 2000, 28. Parr, R. G.; Yang, W. Density Functional Theory of Atoms 76, 169. and Molecules; Oxford: New York, 1989. 60. Saebo, S.; Pulay, P. Annu Rev Phys Chem 1993, 44, 213. 29. Kohn, W.; Becke, A. D.; Parr, R. G. J Phys Chem 1996, 100, 61. Purvis, G. D.; Bartlett, R. J. J Chem Phys 1982, 76, 1910. 12974. 62. Pople, J. A.; Head–Gordon, M.; Raghavachari, K. J Chem 30. Becke, A. D. J Chem Phys 1993, 98, 5648. Phys 1987, 87, 5968. 31. See, for example, Ziegler, T. Chem Rev 1991, 91, 651; Chem- 63. Sherrill, C. D.; Krylov, A. I.; Byrd, E. F. C.; Head–Gordon, ical Applications of Density Functional Methods; Laird, B. M. J Chem Phys 1998, 109, 4171. B.; Ross, R. B.; Ziegler, T., Eds.; American Chemical Society: Washington, DC, 1996. 64. Raghavachari, K.; Trucks, G. W.; Pople, J. A.; Head– Gordon, M. Chem Phys Lett 1989, 157, 479. 32. Adamson, R. D.; Gill, P. M. W.; Pople, J. A. Chem Phys Lett 1998, 284, 6. 65. See, for example, Lee, T. J.; Scuseria, G. E. In Quantum Me- 33. Gilbert, A. T. B.; Gill, P. M. W. Chem Phys Lett 1999, 312, chanical Calculations with Chemical Accuracy; Langhoff, 511. S. R., Ed.; Kluwer: Dordrecht, 1995, p. 47. 34. Pulay, P. J Comput Chem 1982, 3, 556. 66. Gwaltney, S. R.; Head–Gordon, M. Chem Phys Lett 2000, 323, 21. 35. Gilbert, A. T. B.; Gill, G. B. W.; Gill, P. M. W., in preparation. 67. Gwaltney, S. R.; Head–Gordon, M., in preparation. 36. Kong, J.; Johnson, B. G., unpublished. 68. Kucharski, S. A.; Bartlett, R. J. J Chem Phys 1998, 108, 5243; 37. Frisch, M. J.; Head–Gordon, M.; Pople, J. A. Chem Phys 1998, 108, 9221. 1990, 141, 189. 69. Maslen, P.E.; Lee, M. S.; Head–Gordon, M. Chem Phys Lett 38. Lee, M. S.; Head–Gordon, M. J Chem Phys 1997, 107, 9085. 2000, 319, 205. 39. Lee, M. S.; Head–Gordon, M., to appear. 70. Maslen, P. E.; Lee, M. S.; Head–Gordon, M., in preparation. 40. Lee, M. S.; Head–Gordon, M. Comp Chem 2000, 24, 295. 71. For an introduction to the CASSCF method, see Roos, B. O. 41. White, C. A.; Johnson, B. G.; Gill, P. M. W.; Head–Gordon, Adv Chem Phys 1987, 69, 399. M. Chem Phys Lett 1994, 230, 8; 1996, 253, 268. 72. See, for example, Ruedenberg, K.; Schmidt, M. W.; Gilbert, 42. White, C. A.; Head–Gordon, M. J Chem Phys 1996, 104, M. M.; Elbert, S. T. Chem Phys 1982, 71, 49; 1982, 71, 2620. 51. 43. Shao, Y.; Head–Gordon, M. Chem Phys Lett 2000, 323, 425. 73. Krylov, A. I.; Sherrill, C. D.; Byrd, E. F. C.; Head–Gordon, 44. Shao, Y.; Head–Gordon, M. Chem Phys Lett, in prepara- M. J Chem Phys 1998, 109, 10669. tion. 74. Van Voorhis, T.; Head–Gordon, M. J Chem Phys, submit- 45. Schwegler, E.; Challacombe, M.; Head–Gordon, M. J Chem ted. Phys 1997, 106, 9708. 75. Van Voorhis, T.; Head–Gordon, M. Chem Phys Lett, sub- 46. Ochsenfeld, C.; White, C. A.; Head–Gordon, M. J Chem mitted; Van Voorhis, T.; Byrd, E. F. C.; Head–Gordon, M., Phys 1998, 109, 1663. work in progress.

JOURNAL OF COMPUTATIONAL CHEMISTRY 1547 KONG ET AL.

76. Gwaltney, S. R.; Sherrill, C. D.; Head–Gordon, M.; Krylov, 96. Gilbert, A. T. B.; Lee, A. M.; Gill, P. M. W. Mol Struct (Theo- A. I., J Chem Phys 2000, 113, 3548. chem) 2000, 500, 363. 77. Foresman, J. B.; Head–Gordon, M.; Pople, J. A.; Frisch, M. 97. Lee, A. M.; Gill, P. M. W. Chem Phys Lett 1998, 286, 226. J. J Phys Chem 1992, 96, 137. 98. Gillbert, A. T. B.; Taylor, S. W.; Gill, P. M. W. Proceedings of 78. Maurice, D.; Head–Gordon, M. Mol Phys 1999, 96, 1533. the 2000 Molecular Densities and Distributions Workshop, 79. Stanton, J. F.; Gauss, J.; Ishikawa, N.; Head–Gordon, M. J submitted. Chem Phys 1995, 103, 4160. 99. Lee, A. M.; Gill, P. M. W. Chem Phys Lett 1999, 313, 271. 80. Maurice, D.; Head–Gordon, M. J Phys Chem 1996, 100, 100. Gill, P. M. W.; Lee, A. M.; Nair, N.; Adamson, R. D. J Mol 6131. Struct (Theochem) 2000, 506, 303. 81. Head–Gordon, M.; Rico, R. J.; Oumi, M.; Lee, T. J. Chem 101. Besley, N. A.; Lee, A. M.; Gill, P. M. W., in preparation. Phys Lett 1994, 219, 21. 102. Head–Gordon, M.; Graña, A. M.; Maurice, D.; White, C. A. 82. Runge, E.; Gross, E. K. U. Phys Rev Lett 1984, 52, 997. J Phys Chem 1998, 99, 14261. 83. Casida, M. E. In Recent Advances in Density Functional 103. See, for example, Oumi, M.; Maurice, D.; Head–Gordon, Methods, Part I; Chong, D. P., Ed.; World Scientific: Singa- M. Spectrochim Acta 1999, 55A, 525. pore, 1995, p. 155. 104. For a general introduction to continuum solvation models, 84. Hirata, S.; Head–Gordon, M. Chem Phys Lett 1999, 302, see, for example, Tomasi, J.; Persico, M. Chem Rev 1994, 94, 375. 2027. 85. Hirata, S.; Head–Gordon, M. Chem Phys Lett 1999, 314, 105. Florian, J.; Warshel, A. J Phys Chem B 1997, 101, 5583. 291. 106. See, for example, Florian, J.; Sponer, J.; Warshel, A. J Phys 86.Casida,M.E.;Jamorski,C.;Casida,K.C.;Salahub,D.R.J Chem B 1999, 103, 884. Chem Phys 1998, 108, 4439. 107. Baker, J. J Comput Chem 1986, 7, 385. 87. Tozer, D. J.; Handy, N. C. J Chem Phys 1998, 109, 10180. 108. Baker, J.; Kessi, A.; Delley, B. J Chem Phys 1996, 105, 192. 88. Hirata, S.; Lee, T. J.; Head–Gordon, M. J Chem Phys 1999, 109. Baker, J. J Comput Chem 1997, 18, 1079. 111, 8904. 110. Kutzelnigg, W.; Ottschofski, E.; Franke, R. J Chem Phys 89. See, for example, Koch, H.; Jorgensen, P. J Chem Phys 1999, 1995, 102, 1740. 93, 3333. 111. Dirac, P. A. M. Proc R Soc (London) A 1928, 117, 610. 90. Stanton, J. F.; Bartlett, R. J. J Chem Phys 1993, 98, 7029. 112. Heß, B. A. Ber Bunsenges Phys Chem 1997, 101, 1. 91. Krylov, A. I.; Sherrill, C. D.; Head–Gordon, M. J Chem 113. Kedziora, G. S.; Pople, J. A.; Rassolov, V. A.; Ratner, M. A.; Phys, to appear. Redfern, P. C.; Curtiss, L. A. J Chem Phys 1999, 110, 7123. 92. Reed, A. E.; Weinstock, R. B.; Weinhold, F. J Chem Phys 114. Kedziora, G. S., manuscript in preparation. 1985, 83, 735. 115.Handy,N.C.;Yamaguchi,Y.;Schaefer,H.F.,IIIJChem 93. Reed, A. E.; Curtiss, L. A.; Weinhold, F. Chem Rev 1988, 88, Phys 1986, 84, 4481. 899. 116. Kutzelnigg, W. Mol Phys 1997, 90, 909. 94. Weinhold, F. NBO 4.0 Program Manual, University of Wis- 117. Rassolov, V. A.; et al., in preparation. consin Institute, Madison, 1994. 118. Furlani, T. R.; Kong, J.; Gill, P. M. W. Comput Phys Com- 95. Gill, P. M. W. J Phys Chem 1996, 100, 15421. mun 2000, 128, 170.

1548 VOL. 21, NO. 16