# Introduction to Computational Chemistry NSF Computational Nanotechnology and Molecular Engineering Pan-American Advanced Studies Institutes (PASI) Workshop.

## Presentation on theme: "Introduction to Computational Chemistry NSF Computational Nanotechnology and Molecular Engineering Pan-American Advanced Studies Institutes (PASI) Workshop."— Presentation transcript:

Introduction to Computational Chemistry NSF Computational Nanotechnology and Molecular Engineering Pan-American Advanced Studies Institutes (PASI) Workshop January 5-16, 2004 California Institute of Technology, Pasadena, CA Andrew S. Ichimura

For the Beginner… There are three main problems: 1. Deciphering the language. 2. Technical implementation. 3. Quality assessment.

Focus on… Calculating molecular structures and relative energies. 1.Hartree-Fock (Self-Consistent Field) 2.Electron Correlation 3.Basis sets and performance

Ab initio electronic structure theory Hartree-Fock (HF) Electron Correlation (MP2, CI, CC, etc.) Molecular properties Geometry prediction Benchmarks for parameterization Transition States Reaction coords. Spectroscopic observables Prodding Experimentalists Goal: Insight into chemical phenomena.

Setting up the problem… What is a molecule? A molecule is composed of atoms, or, more generally as a collection of charged particles, positive nuclei and negative electrons. The interaction between charged particles is described by; Coulomb Potential Coulomb interaction between these charged particles is the only important physical force necessary to describe chemical phenomena.

But, electrons and nuclei are in constant motion… In Classical Mechanics, the dynamics of a system (i.e. how the system evolves in time) is described by Newtons 2nd Law: F = force a = acceleration r = position vector m = particle mass In Quantum Mechanics, particle behavior is described in terms of a wavefunction,. Hamiltonian Operator Time-dependent Schrödinger Equation

Time-Independent Schrödinger Equation If H is time-independent, the time- dependence of may be separated out as a simple phase factor. Time-Independent Schrödinger Equation Describes the particle-wave duality of electrons.

Hamiltonian for a system with N-particles Sum of kinetic (T) and potential (V) energy Laplacian operator Kinetic energy Potential energy When these expressions are used in the time-independent Schrodinger Equation, the dynamics of all electrons and nuclei in a molecule or atom are taken into account.

Born-Oppenheimer Approximation Since nuclei are much heavier than electrons, their velocities are much smaller. To a good approximation, the Schrödinger equation can be separated into two parts: –One part describes the electronic wavefunction for a fixed nuclear geometry. –The second describes the nuclear wavefunction, where the electronic energy plays the role of a potential energy. So far, the Hamiltonian contains the following terms:

Born-Oppenheimer Approx. cont. In other words, the kinetic energy of the nuclei can be treated separately. This is the Born-Oppenheimer approximation. As a result, the electronic wavefunction depends only on the positions of the nuclei. Physically, this implies that the nuclei move on a potential energy surface (PES), which are solutions to the electronic Schrödinger equation. Under the BO approx., the PES is independent of the nuclear masses; that is, it is the same for isotopic molecules. Solution of the nuclear wavefunction leads to physically meaningful quantities such as molecular vibrations and rotations. 0 E H H H. + H.

Limitations of the Born-Oppenheimer approximation The total wavefunction is limited to one electronic surface, i.e. a particular electronic state. The BO approx. is usually very good, but breaks down when two (or more) electronic states are close in energy at particular nuclear geometries. In such situations, a non-adiabatic wavefunction - a product of nuclear and electronic wavefunctions - must be used. In writing the Hamiltonian as a sum of electron kinetic and potential energy terms, relativistic effects have been ignored. These are normally negligible for lighter elements (Z<36), but not for the 4 th period or higher. By neglecting relativistic effects, electron spin must be introduced in an ad hoc fashion. Spin-dependent terms, e.g., spin-orbit or spin-spin coupling may be calculated as corrections after the electronic Schrödinger equation has been solved. The electronic Hamiltonian becomes, B.O. approx.; fixed nuclear coord.

Self-consistent Field (SCF) Theory GOAL: Solve the electronic Schrödinger equation, H e =E. PROBLEM: Exact solutions can only be found for one-electron systems, e.g., H 2 +. SOLUTION: Use the variational principle to generate approximate solutions. Variational principle - If an approximate wavefunction is used in H e =E, then the energy must be greater than or equal to the exact energy. The equality holds when is the exact wavefunction. In practice: Generate the best trial function that has a number of adjustable parameters. The energy is minimized as a function of these parameters.

SCF cont. The energy is calculated as an expectation value of the Hamiltonian operator: Introduce bra-ket notation, bra complex conjugate, left ket right Combined bracket denotes integration over all coordinates. If the wavefunctions are orthogonal and normalized (orthonormal), Then, (Kroenecker delta)

SCF cont. Antisymmetric wavefunctions can be written as Slater determinants. Since electrons are fermions, S=1/2, the total electronic wavefunction must be antisymmetric (change sign) with respect to the interchange of any two electron coordinates. (Pauli principle - no two electrons can have the same set of quantum numbers.) Consider a two electron system, e.g. He or H 2. A suitable antisymmetric wavefunction to describe the ground state is: Each electron resides in a spin-orbital, a product of spatial and spin functions. Interchange the coordinates of the two electrons, (He: = 2 = 1s) (H 2 : 1 = 2 = bonding MO )

A more general way to represent antisymmetric electronic wavefunctions is in the form of a determinant. For the two-electron case, For an N-electron N-spinorbital wavefunction, A Slater Determinant (SD) satisfies the antisymmetry requirement. Columns are one-electron wavefunctions, molecular orbitals. Rows contain the electron coordinates. One more approximation: The trial wavefunction will consist of a single SD. Now the variational principle is used to derive the Hartree-Fock equations... SCF cont.

Hartree-Fock Equations (1) Reformulate the Slater Determinant as, (2) One electron terms Depends on two electrons

One-electron operator - describes electron i, moving in the field of the nuclei. Two-electron operator - interelectron repulsion. Hamiltonian Expectation value over Slater Determinant (3) Calculation of the energy. Examine specific integrals: Nuclear repulsion does not depend on electron coordinates.

The one-electron operator acts only on electron 1 and yields an energy, h 1, that depends only on the kinetic energy and attraction to all nuclei. For coordinate 1, Coulomb integral, J 12 : represents the classical repulsion between two charge distributions 1 2 (1) and 2 2 (2). Exchange integral, K 12 : no classical analogue. Responsible for chemical bonds.

The expression for the energy can now be written as: Sum of one-electron, Coulomb, and exchange integrals, and V nn. To apply the variational principle, the Coulomb and Exchange integrals are written as operators, The objective now is to find the best orbitals ( i, MOs) that minimize the energy (or at least remain stationary with respect to further changes in i ), while maintaining orthonormality of i.

Employ the method of Langrange Multipliers: Function to optimize. Rewrite in terms of another function. Define Lagrange function. Constrained optimization of L. In terms of molecular orbitals, the Langrange function is: Change in L with respect to small changes in i should be zero. Change in the energy with respect changes in i.

Define the Fock Operator, F i Effective one-electron operator, associated with the variation in the energy. Change in energy in terms of the Fock operator. According to the variational principle, the best orbitals, i, will make L=0. After some algebra, the final expression becomes: Hartree-Fock Equations

After a unitary transformation, ij 0 and ii i. HF equations in terms of Canonical MOs and diagonal Lagrange multipliers. Lagrange multipliers can be interpreted as MO energies. Note: 1.The HF equations cast in this way, form a set of pseudo-eigenvalue equations. 2.A specific Fock orbital can only be determined once all the other occupied orbitals are known. 3.The HF equations are solved iteratively. Guess, calculate the energy, improve the guess, recalculate, etc. 4.A set of orbitals that is a solution to the HF equations are called Self-consistent Field (SCF) orbitals. 5.The Canonical MOs are a convenient set of functions to use in the variational procedure, but they are not unique from the standpoint of calculating the energy.

Koopmans Theorem The ionization energy is well approximated by the orbital energy, i. * Calculated according to Koopmans theorem.

Basis Set Approximation For atoms and diatomic molecules, numerical HF methods are available. In most molecular calculations, the unknown MOs are expressed in terms of a known set of functions - a basis set. Two criteria for selecting basis functions. I) They should be physically meaningful. ii) computation of the integrals should be tractable. It is common practice to use a linear expansion of Gaussian functions in the MO basis because they are easy to handle computationally. Each MO is expanded in a set of basis functions centered at the nuclei and are commonly called Atomic Orbitals. (Molecular orbital = Linear Combination of Atomic Orbitals - LCAO).

MO Expansion LCAO - MO representation Coefficients are variational parameters HF equations in the AO basis Matrix representation of HF eqns. Roothaan-Hall equations (closed shell) F - element of the Fock matrix S - overlap of two AOs Roothaan-Hall equations generate M molecular orbitals from M basis functions. N-occupied MOs M-N virtual or unoccupied MOs (no physical interpretation)

Total Energy in MO basis One-electron integrals, M 2 Two-electron integrals, M 4 Computed at the start; do not change Products of AO coeff form Density Matrix, D Total Energy in AO basis

General SCF Procedure Obtain initial guess for coeff., c i,form the initial D Form the Fock matrix Diagonalize the Fock Matrix Form new Density Matrix Two-electron integrals Iterate

Computational Effort Accuracy As the number of functions increases, the accuracy of the Molecular Orbitals improves. As M, the complete basis set limit is reached Hartree-Fock limit. Result: The best single determinant wavefunction that can be obtained. (This is not the exact solution to the Schrodinger equation.) Practical Limitation In practice, a finite basis set is used; the HF limit is never reached. The term Hartree-Fock is often used to describe SCF calculations with incomplete basis sets. Formally, the SCF procedure scales as M 4 (the number of basis functions to the 4th power).

Restricted and Unrestricted Hartree-Fock 1 2 3 4 5 RHF Singlet ROHF Doublet UHF Doublet Energy Restricted Hartree-Fock (RHF) For even electron, closed-shell singlet states, electrons in a given MO with and spin are constrained to have the same spatial dependence. Restricted Open-shell Hartree-Fock (ROHF) The spatial part of the doubly occupied orbitals are restricted to be the same. Unrestricted Hartree-fock (UHF) and spinorbitals have different spatial parts. Spinorbitals i (n)

Comparison of RHF and UHF R(O)HF and spins have same spatial part Wavefunction,, is an eigenfunction of S 2 operator. For open-shell systems, the unpaired electron ( ) interacts differently with and spins. The optimum spatial orbitals are different. Restricted formalism is not suitable for spin dependent properties. Starting point for more advanced calculations that include electron correlation. UHF and spins have different spatial parts Wavefunction is not an eigenfunction of S 2. may be contaminated with states of higher multiplicity (2S+1). E UHF E R(O)HF Yields qualitatively correct spin densities. Starting point for more advanced calculations that include electron correlation.

Ab Initio (latin, from the beginning) Quantum Chemistry Summary of approximations Born-Oppenheimer Approx. Non-relativistic Hamiltonian Use of trial functions, MOs, in the variational procedure Single Slater determinant Basis set, LCAO-MO approx. RHF, ROHF, UHF Consequence of using a single Slater determinant and the Self-consistent Field equations: Electron-electron repulsion is included as an average effect. The electron repulsion felt by one electron is an average potential field of all the others, assuming that their spatial distribution is represented by orbitals. This is sometimes referred to as the Mean Field Approximation. Electron correlation has been neglected!!!

Download ppt "Introduction to Computational Chemistry NSF Computational Nanotechnology and Molecular Engineering Pan-American Advanced Studies Institutes (PASI) Workshop."

Similar presentations