ZCE 111 Computational Physics Semester Project Ng Wei Chun, 105525 Solving the Schrödinger equation for Helium Atom with Hatree-Fock Method Helium Ground State with Gaussian s-basis Function Hamiltonian of a system of N electrons, K nuclei, with Zn charges • ๐ป= 1 1 4๐๐0 2 1 1 4๐๐0 2 ๐๐2 ๐ ๐=1 2๐ + ๐๐2 ๐พ ๐=1 2๐ ๐ + ๐2 1 ๐ ๐,๐=1;๐≠๐ ๐ −๐ − 4๐๐ 0 ๐ ๐ 2 ๐ ๐ ๐ ′ ๐ ๐ ๐ ๐,๐=1;๐≠๐ ๐ −๐ ′ ๐ ๐พ ๐=1 ๐๐ ๐ 2 ๐ ๐=1 ๐ −๐ ๐ ๐ + ๐ (4.1) • Index i for electrons, n for nuclei, m = electron mass, Mn = nuclei masses. Born-Oppenheimer approximation • Nuclei are much heavier that they move much slower than electron. • ๐ป๐ต๐ = − 1 4๐๐0 ๐๐2 1 1 ๐ ๐=1 2๐ + 4๐๐ 2 0 2 ๐ ๐ ๐ ๐ ๐พ ๐=1 ๐=1 ๐ −๐ ๐ ๐ 2 ๐ ๐ ๐,๐=1;๐≠๐ ๐ −๐ ๐ ๐ (4.2) The independent-particle (IP) Hamiltonian • Further approximation reduce the 2nd term of (4.2) to an uncoupled Hamiltonian. • ๐ป๐ผ๐ = ๐๐2 ๐ ๐=1 2๐ + ๐ ๐๐ (4.3) Anti-symmetric trial wave function for ground state • Ψ ๐ฅ1 , ๐ฅ2 = Ψ ๐1 , ๐ 1 ; ๐2 , ๐ 2 = 1 ๐(๐1 )๐(๐2 ) ๐ผ ๐ 1 ๐ฝ ๐ 2 − ๐ผ(๐ 2 )๐ฝ(๐ 1 ) 2 (4.4) • ๐ผ ๐ = spin up, ๐ฝ ๐ = spin down, ๐ is an orbital which share the same basis. • The coordinates of the wave function are ๐ฅ1 and ๐ฅ2 , ๐ฅ๐ = ๐๐ , ๐ ๐ . Born-Oppenheimer Hamiltonian for the helium atom • ๐ป๐ต๐ = 1 − ๐ป1 2 2 1 + ๐ป2 2 2 + 1 ๐1 −๐2 − 2 ๐1 − 2 ๐2 (4.5) • Acting on (4.4), • 1 2 − ๐ป1 2 + 1 2 ๐ป2 2 − 2 ๐1 − 2 ๐2 + • multiply both side by ๐ ∗ (๐1 ) and integrate over ๐2 : • 1 2 − ๐ป1 2 − 2 ๐1 3 + ๐ ๐2 ๐ ๐2 = ๐ธ ′ ๐(๐1 ) 2 1 ๐1 −๐2 ๐ ๐1 (4.7) • All the integrals which yield constant multiple of ๐ ๐1 are absorbed into ๐ธ ′ . • Hereby, we have used ๐ ∗ ๐๐ ๐ ๐๐ = ๐ฟ๐๐ . • Equation (4.7) is self-consistent. Basis functions • Beyond restricting the wave function to be uncorrelated; by writing it as a linear combination of 4 fixed, real basis functions. • ๐ ๐ = 4 ๐=1 ๐ถ๐ ๐๐ ๐ (4.12) • Leads directly from (4.7) that: • 1 2 − ๐ป1 2 − 2 ๐1 + • Multiply ๐๐ ๐1 from the left and integrate over ๐1 : • ๐๐ ′ ๐ถ ๐ถ ๐ ๐ถ = ๐ธ ๐๐ ๐ ๐ ๐๐๐๐ ๐ โ๐๐ + ๐๐ ๐๐๐ ๐ถ๐ (4.14) • โ๐๐ = 1 2 ๐๐ − ๐ป 2 • ๐๐๐๐๐ = 3 2 − ๐ ๐๐ 3 ๐ ๐1 ๐ ๐2 ๐๐ ๐1 ๐๐ ๐2 1 ๐1 −๐2 ๐๐ ๐1 ๐๐ ๐2 • ๐๐๐ = ๐๐ ๐๐ , overlap matrix (4.15) Gaussian s−basis function • ๐๐ ๐ = ๐ −๐ผ๐ ๐ 2 (4.16) • ๐๐๐๐๐ = 2๐5 2 ๐ผ๐ +๐ผ๐ ๐ผ๐ +๐ผ๐ ๐ผ๐ +๐ผ๐ +๐ผ๐ +๐ผ๐ (4.17) • ๐ผ1 = 0.298073 ,๐ผ2 = 1.242567 , ๐ผ3 = 5.782948, and ๐ผ4 = 38.474970 Program flow • The 4 × 4 matrices โ๐๐ , ๐๐๐ and 4 × 4 × 4 × 4 array ๐๐๐๐๐ are calculated. • Initial values for ๐ถ๐ are chosen. • Use C-values to construct matrix F: • ๐น๐๐ = โ๐๐ + ๐๐ ๐๐๐๐๐ ๐ถ๐ ๐ถ๐ (4.18) • Always check that 4๐,๐=1 ๐ถ๐ ๐๐๐ ๐ถ๐ = 1, as the normalisation. (4.19) • Solve for generalised eigenvalue problem • ๐ญ๐ช = ๐ธ ′ ๐บ๐ช • • • • (4.20) For ground state, the vector C is the one corresponding to the lowest eigenvalue. Solution C from (4.20) is used to build matrix F again and so on. Ground state energy can be found by evaluating the expectation value of the Hamiltonian for the ground state: ๐ธ๐บ = 2 ๐๐ ๐ถ๐ ๐ถ๐ โ๐๐ + ๐๐๐๐ ๐๐๐๐๐ ๐ถ๐ ๐ถ๐ ๐ถ๐ ๐ถ๐ (4.21) General Hartree-Fock Method Particle-exchange operator, ๐ท๐๐ • ๐ท๐๐ Ψ ๐ฅ1 , ๐ฅ2 , … , ๐ฅ๐ , … ๐ฅ๐ , … , ๐ฅ๐ = Ψ ๐ฅ1 , ๐ฅ2 , … , ๐ฅ๐ , … ๐ฅ๐ , … , ๐ฅ๐ (4.22) • For the case of an independent-particle Hamiltonian, we can write the solution of the Schrödinger equation as a product of oneelectron states: • Ψ ๐ฅ1 , … , ๐ฅ๐ = ๐1 ๐ฅ1 … ๐๐ ๐ฅ๐ (4.24) Spin-orbitals permuted • The same state as (4.24) but with the spin-orbitals permuted, is a solution too, as are linear combinations of several such states, • Ψ๐ด๐ ๐ฅ1 , … , ๐ฅ๐ 1 = ๐๐ ๐ท๐1 ๐ฅ1 … ๐๐ ๐ฅ๐ ๐! ๐ท (4.26) • ๐ท is a permutation operator which permutes the coordinates of the spin-orbitals only, and not their labels, or acting on labels only (acting on one at a time). Slater determinant • We can write (4.26) in the form of a Slater determinant: • Ψ๐ด๐ ๐ฅ1 , … , ๐ฅ๐ ๐1 ๐ฅ1 ๐2 ๐ฅ1 โฏ ๐๐ ๐ฅ1 1 ๐1 ๐ฅ2 ๐2 ๐ฅ2 โฏ ๐๐ ๐ฅ๐ = โฎ โฎ โฑ โฎ ๐! ๐1 ๐ฅ๐ ๐2 ๐ฅ๐ โฏ ๐๐ ๐ฅ๐ (4.27) Hartree equation • Fock extended the Hartree equation by taking anti-symmetry into account. • โฑ๐๐ = ๐๐ ๐๐ (4.30) • โฑ๐๐ = − 1 2 ๐ป2 − ๐ ๐๐ ๐ ๐−๐ ๐ ๐๐ ๐ฅ + ๐๐ฅ ′ ๐๐ ∗ − ๐=1 ๐ฅ′ ๐ ๐=1 ๐๐ฅ ′ ๐๐ ๐ฅ′ 2 1 ๐−๐ ′ ๐๐ ๐ฅ 1 ′ ๐ ๐ฅ ๐ ๐ฅ ๐ ๐ ๐ − ๐′ (4.31) • The operator โฑ is called the Fock operator. Linear combinations of a finite number of basis states ๐๐ • Expanding the spin-orbitals ๐๐ as linear combinations of a finite number of basis states ๐๐ : • ๐๐ ๐ฅ = ๐ ๐=1 ๐ถ๐๐ ๐๐ ๐ฅ (4.55) • Then (4.30) assumes a matrix form • ๐ญ๐ช๐ = ๐๐ ๐บ๐ช๐ (4.56) • where ๐บ is the overlap matrix for the basis used. General form of the Fock operator • โฑ =โ+๐ฝ−๐พ (4.59) • ๐ฝ ๐ฅ ๐ ๐ฅ = • ๐พ ๐ฅ ๐ ๐ฅ = ∗ ′ ′ ๐๐ฅ ๐๐ ๐ฅ ๐๐ ๐ฅ ๐ ๐ ′ ∗ ′ ๐๐ฅ ๐๐ ๐ฅ ๐ ๐ฅ ′ 1 ๐ ๐12 ′ 1 ๐๐ ๐12 ๐ฅ ๐ฅ (4.60) • The sum over ๐ is over all occupied Fock levels. • If written in terms of the orbital parts only, the Coulomb and exchange operators read • ๐ฝ ๐ ๐ ๐ =2 • ๐พ ๐ ๐ ๐ = ๐ ๐ 3 ′ ∗ ′ ๐ ๐ ๐๐ ๐ ๐๐ ๐ ๐ 3 ๐ ′ ๐๐ ∗ ๐ ′ ๐ ๐ ′ ′ 1 ๐ ๐ ๐ ′ −๐ 1 ๐๐ ๐ ๐ ′ −๐ (4.61) • In contrast with (4.60), the sums over ๐ run over half the number of electrons because the spin degrees of freedom have been summed over. Fock operator • The Fock operator now becomes • โฑ ๐ = โ ๐ + 2๐ฝ ๐ − ๐พ ๐ (4.62) • The corresponding expression for the energy is found analogously and is given by • ๐ธ๐ = 2 ๐ ๐๐ โ ๐๐ + ๐(2 ๐๐ ๐ฝ ๐๐ Roothaan equation • For a given basis ๐๐ ๐ , we obtain the following matrix equation, which is known as the Roothaan equation: • ๐ญ๐ช๐ = ๐๐บ๐ช๐ (4.64) • ๐บ is the overlap matrix for the orbital basis ๐๐ ๐ Matrix ๐ญ • ๐น๐๐ = โ๐๐ + ๐ ∗ ๐ถ ๐๐ ๐๐ ๐ถ๐ ๐ 2 ๐๐ ๐ ๐๐ − ๐๐ ๐ ๐ ๐ (4.65) • โ๐๐ = ๐ โ ๐ = ๐3 ๐๐๐ ∗ ๐ 1 2 − ๐ป 2 − ๐๐ ๐ ๐ −๐ ๐ ๐๐ ๐ (4.66) • ๐๐ ๐ ๐๐ = ๐3 ๐1 ๐3 ๐2 ๐๐ ∗ ∗ ๐1 ๐๐ ๐2 1 ๐1 −๐2 ๐๐ ๐1 ๐๐ ๐2 (4.67) • ๐ labels the orbitals ๐๐ and p, q, and s label the basis functions. Density matrix • The density matrix for restricted Hartree-Fock is defined as ∗ • ๐๐๐ = 2 ๐ ๐ถ๐๐ ๐ถ๐๐ (4.68) • Using (4.68), the Fock matrix can be written as • ๐น๐๐ = 1 โ๐๐ + 2 ๐๐ ๐๐ ๐ 2 ๐๐ ๐ ๐๐ − ๐๐ ๐ ๐ ๐ (4.70) Energy • ๐ธ= 1 + 2 ๐๐ ๐๐๐ โ๐๐ ๐๐๐ ๐๐ ๐ ๐๐๐๐ 1 ๐๐ ๐ ๐๐ − ๐๐ ๐ ๐ ๐ 2 (4.71) Gaussian function • ๐๐ผ ๐ = ๐๐ ๐ฅ, ๐ฆ, ๐ง ๐ −๐ผ ๐−๐ ๐ด 2 (4.78) • For ๐ = 0, these functions are spherically symmetric, 1s-orbital is given as • ๐๐ผ (๐ ) ๐ = ๐ −๐ผ ๐−๐ ๐ด 2 (4.81) The two-electron integral • 1๐ , ๐ผ, ๐ด; 1๐ , ๐ฝ, ๐ต ๐ 1๐ , ๐พ, ๐ถ; 1๐ , ๐ฟ, ๐ท = 2 ๐ 3 ๐1 ๐ 3 ๐2 ๐ −๐ผ ๐1 −๐ ๐ด ๐ −๐ฝ ๐2−๐ ๐ต 2๐ = 2 1 −๐พ ๐ −๐ 2 −๐ฟ ๐ −๐ 2 1 ๐ถ ๐ 2 ๐ท ๐ ๐12 5 2 ๐ผ+๐พ ๐ฝ+๐ฟ ๐ผ+๐ฝ+๐พ+๐ฟ ๐ผ๐พ 2 ๐ฝ๐ฟ × ๐๐ฅ๐ − ๐ ๐ด − ๐ ๐ถ − ๐ ๐ต − ๐ ๐ท ๐ผ + ๐พ๐พ ๐ฝ+๐ฟ ๐ผ+๐พ ๐ฝ+๐ฟ 2 × ๐น0 ๐ ๐ − ๐ ๐ ๐ผ+๐ฝ+๐พ+๐ฟ 2 (4.123) • ๐ ๐ = ๐ ๐ด −๐ ๐ถ 2 , ๐ ๐ = ๐ ๐ต −๐ ๐ท 2 , ๐น0 ๐ฅ = ๐๐๐ ๐ฅ = ′2 2 ๐ฅ ′ −๐ฅ ๐๐ฅ ๐ ๐ 0