11.07.2015 Views

Exact Exchange in Density Functional Calculations

Exact Exchange in Density Functional Calculations

Exact Exchange in Density Functional Calculations

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Exact</strong> <strong>Exchange</strong> <strong>in</strong> <strong>Density</strong><strong>Functional</strong> <strong>Calculations</strong>An implementation <strong>in</strong> the projector augmented wave methodMaster Thesis byCarsten RostgaardStudent No. s011651June 26, 2006Version 2.4Supervisors:Jens Jørgen MortensenKarsten Wedel JacobsenCenter for Atomic-scale Materials PhysicsDepartment of PhysicsTechnical University of Denmark


PrefaceThis thesis is submitted <strong>in</strong> candidacy for the cand.polyt degree (Master of Science <strong>in</strong> Eng<strong>in</strong>eer<strong>in</strong>g)at the Technical University of Denmark (DTU). The work presented here has been performed betweenSeptember 2005 and June 2006, at the Center for Atomic-scale Materials Physics (CAMP),Department of Physics, DTU, with Professor Karsten Wedel Jacobsen and Ph.D. Jens JørgenMortensen as supervisors.I s<strong>in</strong>cerely thank my supervisors Jens Jørgen Mortensen and Karsten Wedel Jacobsen for helpfulguidance and for <strong>in</strong>troduc<strong>in</strong>g me to this subject, which has proven a stimulat<strong>in</strong>g challenge. Especiallythanks to Jens Jørgen Mortensen for guid<strong>in</strong>g me through the many l<strong>in</strong>es of code <strong>in</strong> hisprogram and help<strong>in</strong>g me debug my own contributions.The process of my work had a high <strong>in</strong>itial barrier, hav<strong>in</strong>g to learn a new programm<strong>in</strong>g language,and try<strong>in</strong>g to understand both the role of exact exchange <strong>in</strong> density functional theory andthe technicalities of the projector augmented wave method. The diversity of be<strong>in</strong>g able to shiftbetween do<strong>in</strong>g practical implementations and digg<strong>in</strong>g deeper <strong>in</strong>to the theory of electronic structurecalculations, was very <strong>in</strong>spir<strong>in</strong>g and helped ward of stagnation dur<strong>in</strong>g the 10 months of work<strong>in</strong>gon the subject.Also a warm thanks to my office mates Souheil Saadi, Jeppe Gavnholt, He<strong>in</strong>e A. Hansen, MadsEngelund, and Anja Toftelund for provid<strong>in</strong>g a both social and <strong>in</strong>tellectually stimulat<strong>in</strong>g work<strong>in</strong>genvironment.Lyngby, June 2006Carsten Rostgaardiii


AbstractThis thesis discuss the theoretical and practical aspects of the exact treatment of exchange, with<strong>in</strong>density functional theory. The specific type of density functional scheme, is the projector augmentedwave (PAW) method. The exact treatment of exhange plays an important role for anaccurate description of the electronic structure of matter.The PAW method is a pseudopotential-like approach, <strong>in</strong> which explicit calculations are onlyperformed on a pseudized version of the valence states. The advantage of PAW over other psedopotentialmethods is, that it offers access to the all-electron wave functions, through a l<strong>in</strong>eartransformation. This is important, as exact exchange <strong>in</strong>volves overlap <strong>in</strong>tegrals of all states, soaccess to the core states is essential.The results of apply<strong>in</strong>g the method <strong>in</strong>dicates that the valence-core exchange <strong>in</strong>teractions playan important role, thus justify<strong>in</strong>g the use of the PAW method <strong>in</strong>stead of ord<strong>in</strong>ary pseudopotentialapproaches, where such contributions would be <strong>in</strong>accessible.v


ResuméDette projekt omhandler de teoretiske og praktiske aspekter ved beregn<strong>in</strong>g af eksakt exchange itæthedsfunktional beregn<strong>in</strong>ger. Dette er gjort <strong>in</strong>denfor PAW (projector augmented wave) metoden.Bestemmelse af eksakt exchange er vigtigt for en nøjagtig beskrivelse af materialers elektroniskestruktur.PAW metoden er af pseudopotential karakter, hvor de egentlige beregn<strong>in</strong>ger kun omfatterudglattede versioner af valenstilstandene. Fordelen ved PAW frem for andre pseudopotentialmetoder er, at den giver adgang til de fulde bølgefunktioner ved en l<strong>in</strong>eær transformation afde udglattede versioner. Dette er vigtigt, idet eksakt exchange <strong>in</strong>volverer overlap-<strong>in</strong>tegraler af allekomb<strong>in</strong>ationer af bølgefunktioner, så <strong>in</strong>formation om kernetilstandene er nødvendig for en korrektbeskrivelse.Beregn<strong>in</strong>ger udført i rapporten <strong>in</strong>dikerer at valens-kerne vekselvirkn<strong>in</strong>g udgør en vigtig del afexchange energien. Dette retfærdiggør brugen af PAW i stedet for andre pseudopotential metoder,hvor sådanne vekselvirkn<strong>in</strong>ger ville være utilgængelige.vii


viii


ContentsPrefaceAbstractResuméiiivvii1 Introduction 12 Basic Wave Function Theory 52.1 The Many-Body Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.2 Wave Functions and Their Interpretation . . . . . . . . . . . . . . . . . . . . . . . 62.2.1 One and Two Particle <strong>Density</strong> Operators . . . . . . . . . . . . . . . . . . . 72.3 The Non-Interact<strong>in</strong>g Many-Body Problem . . . . . . . . . . . . . . . . . . . . . . . 82.4 Sp<strong>in</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 <strong>Density</strong> <strong>Functional</strong> Theory 113.1 Hohenberg-Kohn Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.2 The Generalized Kohn-Sham Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . 133.2.1 Choos<strong>in</strong>g the Model System . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.2.2 Comparison of KS and hybrid HF-KS Schemes . . . . . . . . . . . . . . . . 183.3 <strong>Exchange</strong> and Correlation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193.3.1 Jacob’s Ladder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203.3.2 The Adiabatic Connection Formula . . . . . . . . . . . . . . . . . . . . . . . 213.3.3 Hybrid <strong>Functional</strong>s: Rationale for Admixture of <strong>Exact</strong> <strong>Exchange</strong> . . . . . . 254 Extended Systems 274.1 Bloch Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274.2 Basis Sets and Boundary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . 285 Orbital Dependent <strong>Functional</strong>s 315.1 Direct <strong>Functional</strong> DerivativeThe Non-local Hartree-Fock Potential . . . . . . . . . . . . . . . . . . . . . . . . . 315.2 Optimized Effective Potential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325.3 Approximations to the Optimized Potential Method . . . . . . . . . . . . . . . . . 335.4 Screened <strong>Exchange</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345.5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356 Projector Augmented Wave Method 376.1 The Transformation Operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376.2 The Frozen Core Approximation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406.3 Expectation Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406.4 Densities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416.5 Total Energies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42ix


Chapter 1IntroductionElectronic Structure <strong>Calculations</strong>Electronic structure calculations are the source of many ab <strong>in</strong>itio, or first pr<strong>in</strong>ciples, calculations<strong>in</strong> condensed matter physics.In pr<strong>in</strong>ciple the full time dependent relativistic Schröd<strong>in</strong>ger equation holds the promise ofaccurate calculations of all properties of any material from the specification of the atomic numberof the constituents, their <strong>in</strong>itial state, and the externally applied forces and electromagnetic fieldsonly. In practice the equations to be solved are much too complicated to solve for all but thesimplest of systems. Separat<strong>in</strong>g the motion of nuclei and electrons <strong>in</strong> accordance with the Born-Oppenheimer approximation, it turns out that most physics are well described by the electronicstructure of the considered system.If one restricts focus to the ground-state properties of time <strong>in</strong>dependent systems, one can makeuse of <strong>Density</strong> <strong>Functional</strong> Theory (DFT), which offers a large computational simplification of themany-electron problem. DFT also exists <strong>in</strong> a time dependent version (TDDFT), but this is rathermore <strong>in</strong>volved, and will not be discussed <strong>in</strong> this text. See e.g. [1, chapter 4] for a nice review.Ground-state properties span a very important class of properties for solids and molecules, asthis is the natural state of matter. Among these are for example equilibrium crystal structuresand lattice constants, molecular b<strong>in</strong>d<strong>in</strong>g lengths, cohesive-, atomization-, and ionization energies,electron aff<strong>in</strong>ities, reaction sites of catalysts, energy barriers for e.g. diffusion, dissociation andadsorption, Young’s and bulk moduli, etc.In this text all calculations on electronic structure are done with<strong>in</strong> the framework of densityfunctional theory.<strong>Exact</strong> <strong>Exchange</strong> and the Projector Augmented Wave MethodAlthough <strong>in</strong> pr<strong>in</strong>ciple exact, DFT requires knowledge of an unknown energy functional, termedthe exchange-correlation (xc) functional. The energy contribution of the xc-functional to the totalenergy is relatively m<strong>in</strong>or, usually less than 1%, but plays an important part <strong>in</strong> derived quantities,for example it constitutes 50% of the b<strong>in</strong>d<strong>in</strong>g energy of N 2 .Usually sufficient accuracy can be obta<strong>in</strong>ed by local density-functional approximations of thexc-functional. There is however a limit to what can be described by such local approximations. Anexact expression for the exchange part of the xc-functional is actually available, so to go beyond thelocal xc approximations an exact treatment of exchange seems natural. Energetically exchange isthe dom<strong>in</strong>ant part of exchange-correlation (total correlation energy is typically only 10% of the sizeof exchange, although it might be more important for b<strong>in</strong>d<strong>in</strong>g energies), and <strong>in</strong> any case an exacttreatment of more parts of the total energy functional is esthetically appeal<strong>in</strong>g. Unfortunately<strong>in</strong>clud<strong>in</strong>g non-local parts of the exchange energy is <strong>in</strong>compatible with local correlation, as thelarge cancellation of the long range behaviors of the true non-local correlation and exact exchange1


2 1. Introductionis not described properly. Several procedures have been proposed to correct this problem, some ofwhich are reviewed <strong>in</strong> this text.Inclusion of a fraction of exact exchange has a beneficial effect on atomization energies, bondlengths, band gaps and excitation energies of most molecules and <strong>in</strong>sulat<strong>in</strong>g solids. This is themotivation for my work on implement<strong>in</strong>g exact exchange calculations <strong>in</strong> the program GPAW, whichis a DFT calculator developed at CAMP [2].Determ<strong>in</strong>ation of exact exchange requires access to the core orbitals, so an all electron method isessential for the correct description. As evaluat<strong>in</strong>g the Fock <strong>in</strong>tegrals <strong>in</strong>herent <strong>in</strong> exact exchange isalready a very time consum<strong>in</strong>g process, the traditional all electron methods are not very attractivefor an implementation. This motivates the choice of the projector augmented wave method (PAW),which offers the speed of pseudopotential approaches, while ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g the accuracy of all electronmethods, specifically, the access to full all electron potentials an Kohn-Sham orbitals.Consistent with the title of my project, the <strong>in</strong>itial chapters of this report presents differentapproaches, and reasons, for <strong>in</strong>clud<strong>in</strong>g exact exchange <strong>in</strong> density functional calculations. The ma<strong>in</strong>result of the analytic section, and my personal contribution to the subject, was the derivation ofhow the non-local Fock operator and the exact exchange energy functional should be expressed <strong>in</strong>the PAW formalism. These are the two ma<strong>in</strong> <strong>in</strong>gredients of most exact exchange methods.Parallel to the analytic work, some software development has been done to implement themethod <strong>in</strong> GPAW. Currently, the work<strong>in</strong>g parts of the code <strong>in</strong>clude non-self-consistent evaluationof the exchange energy for isolated systems only. The energy evaluation has been implementedboth <strong>in</strong> an atomic calculator, and the full PAW version for comparison of results. Comparisonshave also been performed with equivalent exchange calculations <strong>in</strong> the literature (us<strong>in</strong>g other thanPAW methods).Apply<strong>in</strong>g exact exchange perturbatively, only total energy evaluations are obta<strong>in</strong>able. Theorbitals and KS eigen values will just be those of the xc-functional used to reach self-consistencyof the Kohn-Sham equations. The real strength of exact exchange is that it improves the eigenvaluespectrum, and thereby also the band gap, predicted by the DFT procedure, so a self-consistentevaluation is essential. For a self-consistent <strong>in</strong>clusion of exact exchange, a specific method mustbe chosen, the simplest of which is the hybrid Hartree-Fock-Kohn-Sham (HF-KS) method. Workon implement<strong>in</strong>g this specific method has been <strong>in</strong>itiated, but is not f<strong>in</strong>ished.Outl<strong>in</strong>e of the ThesisChatpers 1 and 2 <strong>in</strong>troduces the subject of electronic structure calculations.Chapter 3 provides the theoretical background of density functional theory, <strong>in</strong>clud<strong>in</strong>g a descriptionof the hybrid Hartree-Fock Kohn-Sham scheme for <strong>in</strong>clusion of exact exchange, and a discussionof the role of exchange and correlation.Chapter 4 describes the theory and some practical issues of how to handle <strong>in</strong>f<strong>in</strong>ite systems.Chapter 5 is a review of different methods for handl<strong>in</strong>g orbital dependent functionals <strong>in</strong> thestandard Kohn-Sham scheme.Chapter 6 and 7 presents the theoretical and practical aspects of the projector augmented wavemethod. This is also where I derive the expressions for how exact exchange is represented <strong>in</strong> thePAW formalism, and is thus the ma<strong>in</strong> part of my analytic work.Chapter 8 shows the numerical results, which is ma<strong>in</strong>ly tests and benchmark<strong>in</strong>g of the implementedcode.NotationThe unit system used <strong>in</strong> this theoretical part, is atomic units. In this unit system e = = a 0 =m e = 1, and all electromagnetic expressions are written <strong>in</strong> cgs form (us<strong>in</strong>g Gauss and statvolt for


3magnetic and electric field strengths respectively). In SI units k<strong>in</strong>etic energies/operators wouldhave a prefactor of 2 /m e and potential terms would have a prefactor of e 2 /4πɛ 0 , as compared toequations given <strong>in</strong> atomic units.I use a capital Ψ to <strong>in</strong>dicate <strong>in</strong>teract<strong>in</strong>g and Φ for non-<strong>in</strong>teract<strong>in</strong>g many-body wave functions.Consistently I denote, everywhere but <strong>in</strong> the PAW chapters, s<strong>in</strong>gle particle wave functions (whichare by nature non-<strong>in</strong>teract<strong>in</strong>g) by a lower case φ. In the PAW chapters however, to conform tostandard literature, the Kohn-Sham wave functions are denoted by ψ while φ <strong>in</strong>dicates arbitrarybasis set functions. Hopefully this explanation will prevent most confusion caused by this choice.The term locality is used both <strong>in</strong> the mean<strong>in</strong>g that a density-functional potential can dependon density locally around the po<strong>in</strong>t <strong>in</strong> which it is evaluated, and <strong>in</strong> the mean<strong>in</strong>g that a potentialis multiplicative. GGA approximations of the xc-potential are local <strong>in</strong> both regards, the Fockpotential is non-local <strong>in</strong> both regards, while the exact exchange potential obta<strong>in</strong>ed with for <strong>in</strong>stancethe optimized effective potential method is a multiplicative potential, but still non-local <strong>in</strong> the sensethat it depends on the global structure of the density.


Chapter 2Basic Wave Function Theory2.1 The Many-Body ProblemThe many-body problem is basically the complication of solv<strong>in</strong>g the Schröd<strong>in</strong>ger equation forsystems <strong>in</strong>volv<strong>in</strong>g many particles. The start<strong>in</strong>g po<strong>in</strong>t of many problems <strong>in</strong> condensed matterphysics, is the description of systems offered by the non-relativistic, time-<strong>in</strong>dependent Schröd<strong>in</strong>gerequationĤ|Ψ n 〉 = E n |Ψ n 〉 (2.1)where Ĥ is the Hamiltonian operator, n is a complete set of quantum state labels, E n are theeigenenergies, and |Ψ n 〉 are the full many-body eigenstates depend<strong>in</strong>g on both electron and nucleicoord<strong>in</strong>ates. In absence of externally applied fields, the Hamiltonian isĤ = ∑ îP i2 + 1 ∑2m i 2i≠jQ i Q j| ̂R i − ̂R j |where the sums are over all electrons and nuclei, and m i , Q i , ̂Pi and ̂R i are the mass, charge,momentum- and position operator of the i’th particle (electron or nuclei) respectively. The prefactorof 1/2 on the second term is present to compensate for double count<strong>in</strong>g.A great simplification of the many-body problem is achieved by the Born-Oppenheimer approximation,<strong>in</strong> which the electrons are assumed to respond <strong>in</strong>stantaneously to the movement of themuch heavier nuclei. This allows for the nuclei to be considered as static classical potentials. Inthis case, the Hamiltonian describ<strong>in</strong>g the many-electron problem, can be decomposed as a k<strong>in</strong>eticcontribution of the electrons, ̂T , a contribution from the electron-electron <strong>in</strong>teraction potential,̂V ee , one from the electron-nuclei <strong>in</strong>teraction potential, ̂V en , and one from the nuclei-nuclei <strong>in</strong>teractionpotential, ̂V nn . In position representation the explicit form of Ĥ for a system of N electronsand M nuclei isĤ = ̂T + ̂V ee + ̂V en + ̂V nn= − 1 ∑∇ 2 i + 1 ∑ 12 2 |rii − r j | − ∑ j≠ii,kZ k|r i − R k | + 1 ∑2l≠kZ k Z l|R k − R l |where the <strong>in</strong>dices i, j ∈ 1, . . . , N and k, l ∈ 1, . . . , M. ∇ 2 is the Laplacian with respect to theelectron coord<strong>in</strong>ates, Z is the atomic number of the nuclei and r and R are the coord<strong>in</strong>ates ofthe electrons and nuclei respectively. Note that the terms, ̂V ee and ̂V nn , are positive due to thecoulomb repulsion of charges of the same sign, whereas ̂V en is negative due to the attraction ofcharges of different sign.In the Born-Oppenheimer approximation, the relevant wave functions are the electronic wavefunctions describ<strong>in</strong>g the quantum state of the electrons, which only depends explicitly on theelectron coord<strong>in</strong>ates〈r 1 , r 2 , . . . , r N |Ψ n 〉 = Ψ n (r 1 , r 2 , . . . , r N ) (2.4)(2.2)(2.3)5


6 2. Basic Wave Function TheoryIt does however still depend parametrically on the nuclei coord<strong>in</strong>ates, which is essential if onewishes to determ<strong>in</strong>e the forces on the atoms. Note that here and <strong>in</strong> the rema<strong>in</strong>der of this text, thesp<strong>in</strong> coord<strong>in</strong>ate has been suppressed for notational convenience. For a discussion on the changes<strong>in</strong>troduced by <strong>in</strong>clusion of sp<strong>in</strong>, see section 2.4. The many-electron wave function must (as allfermionic systems) be antisymmetric under the exchange of electron coord<strong>in</strong>ates, i.e.Ψ(. . . , r i , . . . , r j , . . .) = −Ψ(. . . , r j , . . . , r i , . . .) (2.5)As the nuclei are fixed, the term ̂V en <strong>in</strong> the Hamiltonian, determ<strong>in</strong>es an external potential <strong>in</strong>which the electrons reside, and could equally well <strong>in</strong>clude additional external potentials. To allowfor this more general case, ̂V en will <strong>in</strong> the future be denoted ̂V ext .The term ̂V nn <strong>in</strong> (2.3) represents an additive constant to the total energy, and will for notationalsimplicity be omitted <strong>in</strong> the rest of this text; one can th<strong>in</strong>k of it as a constant <strong>in</strong>cluded <strong>in</strong> theexternal potential. The total Hamiltonian for the electronic system <strong>in</strong> the static potential fromthe fixed nuclei, will thus <strong>in</strong> the rema<strong>in</strong>der of this text be written asĤ = ̂T + ̂V ee + ̂V ext (2.6)It should be remembered, when apply<strong>in</strong>g (2.6), that <strong>in</strong> the case of large external (or <strong>in</strong>ternal)fields, the non-relativistic approximation might break down. The core electrons of heavy atoms forexample, have very high k<strong>in</strong>etic energies due to their tight orbits, and as such should be describedrelativistically. 1Light atoms, e.g. hydrogen, or systems <strong>in</strong> general for which ∇ R ψ or ∇ 2 Rψ are not small, arenot well described by the Born-Oppenheimer approximation. And of course only time-<strong>in</strong>dependentpotentials are described by the time-<strong>in</strong>dependent Schröd<strong>in</strong>ger equation.Even when <strong>in</strong>vok<strong>in</strong>g these assumptions, the many-electron problem still requires solv<strong>in</strong>g aneigenvalue problem of 3N variables, and is not readily solved <strong>in</strong> the form above.2.2 Wave Functions and Their InterpretationThe arbitrary multiplicative constant <strong>in</strong>volved when solv<strong>in</strong>g a differential equation of the formĤ|Ψ n 〉 = E n |Ψ n 〉 is fixed by the normalization requirement that∫〈Ψ|Ψ〉 = dr 1 . . . dr N |Ψ(r 1 , . . . , r N )| 2 = 1 (2.7)The rema<strong>in</strong><strong>in</strong>g degrees of freedom <strong>in</strong>volved <strong>in</strong> solv<strong>in</strong>g a second order partial differential equation,i.e. the boundary conditions, are discussed <strong>in</strong> section 4.2.For a system <strong>in</strong> a specific state Ψ n , we <strong>in</strong>terpret |Ψ n (r 1 , . . . , r N )| 2 as the probability densityof f<strong>in</strong>d<strong>in</strong>g particle 1 at r 1 particle 2 at r 2 , etc. 2 . Thus the normalization (2.7) <strong>in</strong>dicates that theprobability of f<strong>in</strong>d<strong>in</strong>g all electrons somewhere <strong>in</strong> space is unity.For a system <strong>in</strong> a specific state Ψ n , the expectation value of a given observable∫Ô is:〈Ô〉 = 〈Ψn|Ô|Ψ n〉 = dr 1 . . . dr N Ψ ∗ n(r 1 , . . . , r N )ÔΨ n(r 1 , . . . , r N ) (2.8)For example∫E n = 〈Ψ n |Ĥ|Ψ n〉 =dr 1 . . . dr N Ψ ∗ n(r 1 , . . . , r N )ĤΨ n(r 1 , . . . , r N ) (2.9)To determ<strong>in</strong>e expectation values, we need to know the state of the considered system. Usuallywe will constrict our attention to the ground-state |Ψ 0 〉, which is the state occupied at zerotemperature (the state with the smallest eigenvalue E n = E 0 ).1 As only the valence electrons are chemically important, different schemes are typically applied to avoid explicitcalculations on the core states altogether. For a specific scheme, see section 6.2 As the particles are <strong>in</strong>dist<strong>in</strong>guishable, and there are N! dist<strong>in</strong>ct permutations of N particles, one should perhapsrather say that N!|Ψ n(r 1 , . . . , r N )| 2 dr 1 . . . dr N is the probability of f<strong>in</strong>d<strong>in</strong>g any of the particles <strong>in</strong> the volume elementdr 1 . . . dr N centered at r 1 . . . r N


2.2 Wave Functions and Their Interpretation 72.2.1 One and Two Particle <strong>Density</strong> OperatorsThe electron density describes the probability density of f<strong>in</strong>d<strong>in</strong>g an electron at position r. Theassociated operator, and its expectation value are given byˆn = ∑ δ(r − r i )i∫n(r) = 〈Ψ n |ˆn|Ψ n 〉 = Ndr 2 . . . dr N |Ψ(r, r 2 , . . . , r N )| 2(2.10a)(2.10b)In a similar fashion, we can def<strong>in</strong>e a two electron density by:ˆρ 2 = ∑ δ(r − r i )δ(r ′ − r j ) = ˆn(r)ˆn(r ′ ) − δ(r − r ′ )ˆn(r)i≠j∫ρ 2 (r, r ′ ) = 〈Ψ|ˆρ 2 |Ψ〉 = N(N − 1) dr 3 . . . dr N |Ψ(r, r ′ , r 3 , . . . , r N )| 2(2.11a)(2.11b)which we <strong>in</strong>terpret as the probability of f<strong>in</strong>d<strong>in</strong>g an electron at r and one at r ′ , P(r ∧ r ′ ). Frombasic probability theory, it is well known that the jo<strong>in</strong>t probability can be found as the productof the isolated event times the conditional event, i.e. P(r ∧ r ′ ) = P(r)P(r ′ |r) orρ 2 (r, r ′ ) = n(r)n 2 (r, r ′ ) (2.12)where n 2 (r, r ′ ) is the conditional probability density of f<strong>in</strong>d<strong>in</strong>g an electron at r ′ given that one ispresent at r. Clearly, if one is present at r the number of electron elsewhere is N − 1, i.e. we havethe sum rule:∫dr ′ n 2 (r, r ′ ) = N − 1 (2.13)note that the nature of the two coord<strong>in</strong>ates of n 2 are different due to the def<strong>in</strong>ition (2.12).One can also def<strong>in</strong>e a pair correlation function g(r, r ′ ) and a correlation hole n xc 3 byρ 2 (r, r ′ ) = n(r)n 2 (r, r ′ ) = n(r)n(r ′ )g(r, r ′ ) = n(r) (n(r ′ ) + n xc (r, r ′ )) (2.14)The pair correlation function is symmetric <strong>in</strong> its arguments, and describes the correlation of thetwo events P(r ∧ r ′ ) = P(r)P(r ′ )g(r, r ′ ). For uncorrelated events g(r, r ′ ) = 1. The exchangecorrelationhole describes how much the conditional event differs from the isolated event. Forcompletely uncorrelated events, n xc = 0. From (2.13) it is clear that∫∫dr ′ n xc (r, r ′ ) = dr ′ (n 2 (r, r ′ ) − n(r ′ )) = −1 (2.15)From the expression for the two particle density (2.11b) we see that the expectation value ofthe electron-electron <strong>in</strong>teraction operator ̂V ee can be written as〈Ψ|̂V ee |Ψ〉 = 〈Ψ| 1 2= 1 2= 1 ∫∫2∑i≠j∫∫ drdr′1|r i − r j | |Ψ〉|r − r ′ | ρ 2(r, r ′ )drdr ′ n(r)n(r′ )|r − r ′ |+ 1 2∫∫drdr ′ n(r)n xc(r, r ′ )|r − r ′ |(2.16)where the first term is just the classical electrostatic energy of a charge distribution, the Hartreeenergy U H [n(r)], and the last term is a purely quantum mechanical contribution describ<strong>in</strong>g thecoulombic repulsion of <strong>in</strong>dividual electrons.3 The correlation hole is <strong>in</strong>dexed xc for future convenience, as the convention <strong>in</strong> density-functional theory is todivide the correlation of electrons <strong>in</strong>to an ‘exchange’ part and a ‘correlation’ part.


8 2. Basic Wave Function Theory2.3 The Non-Interact<strong>in</strong>g Many-Body ProblemThe electron-electron repulsion ̂V ee sums over all dist<strong>in</strong>ct pairs of electrons, mak<strong>in</strong>g them <strong>in</strong>tricatelycorrelated. This correlation is very difficult to handle <strong>in</strong> any simple way. For this reason, we nowturn to the important special case of the general Hamiltonian (2.6), <strong>in</strong> which there is no electronelectron<strong>in</strong>teraction, i.e.:Ĥ Non = ̂T + ̂V ext (2.17)This system can be described by the N identical s<strong>in</strong>gle particle systems, described byĥ i = − 1 2 ∇2 i + v(r i )ĥ i |φ n 〉 = ɛ n |φ n 〉(2.18a)(2.18b)where v is the external potential of the many body system, 〈r i |φ n 〉 = φ n (r i ) are the eigenstatesof ĥi, and ɛ n are the correspond<strong>in</strong>g eigenvalues (or -energies). Here and <strong>in</strong> the rema<strong>in</strong>der of thistext it is understood that the eigenfunctions and -values are ordered such that ɛ 1 ≤ ɛ 2 ≤ ɛ 3 ≤ . . ..The many-body system consist<strong>in</strong>g of all N particles would, for non-<strong>in</strong>teract<strong>in</strong>g particles, bedescribed by:Ĥ Non = ∑ iĥ i(2.19a)Ĥ Non |Φ 0 〉 = E 0 |Φ 0 〉(2.19b)Where the ground state many-body wave function of the non-<strong>in</strong>teract<strong>in</strong>g system, |Φ 0 〉, is a slaterdeterm<strong>in</strong>ant of the N lowest s<strong>in</strong>gle particle eigenstates:∣ ∣∣∣∣∣∣Φ(r 1 , . . . , r N ) = √ 1φ 1 (r 1 ) · · · φ 1 (r N ).N!. ..(2.20)φ N (r 1 ) φ N (r N ) ∣andE 0 = 〈Φ 0 |ĤNon|Φ 0 〉 = ∑ nf n ɛ n (2.21)is the total energy of the non-<strong>in</strong>teract<strong>in</strong>g system. f n are the occupation numbers.The electron density of the non-<strong>in</strong>teract<strong>in</strong>g system is:n(r) = 〈Φ 0 | ∑ iδ(r − r i )|Φ 0 〉 = ∑ nf n |φ n (r)| (2.22)Note that <strong>in</strong>teract<strong>in</strong>g wave functions are <strong>in</strong>dicated by ψ and non-<strong>in</strong>teract<strong>in</strong>g by φ. Lowercase letters <strong>in</strong>dicate s<strong>in</strong>gle particle wave functions, while upper case letters mark many-body wavefunctions.2.4 Sp<strong>in</strong>Unless stated otherwise, the sp<strong>in</strong> coord<strong>in</strong>ate is suppressed <strong>in</strong> all equations of this thesis. Theprocedure for generaliz<strong>in</strong>g the equations to <strong>in</strong>clusion of sp<strong>in</strong> is reviewed <strong>in</strong> this section, as this willbe needed for some considerations.To <strong>in</strong>clude sp<strong>in</strong>, the spatial coord<strong>in</strong>ate must be supplemented by an additional sp<strong>in</strong> coord<strong>in</strong>atewhile the sp<strong>in</strong> state is simply implicitly <strong>in</strong>cluded <strong>in</strong> the state <strong>in</strong>dex n.r → rσ (2.23)


2.4 Sp<strong>in</strong> 9The coord<strong>in</strong>ate transformation implies that e.g.∫dr → ∑ σ∫dr (2.24)δ(r − r ′ ) → δ σ,σ ′δ(r − r ′ ) (2.25)If a s<strong>in</strong>gle particle Hamiltonian does not depend upon sp<strong>in</strong>, the eigenstates will be simpleproducts of Cartesian functions with sp<strong>in</strong>ors [3]where the sp<strong>in</strong>or is simply a Kronecker delta χ σn (σ) = δ σn,σ.In this way, the sp<strong>in</strong>-density becomesφ n (r, σ) = φ n (r)χ σn (σ) (2.26)n(r) = ∑ nf n |φ n (r)| 2 → n(rσ) = ∑ nf n δ σn,σ|φ n (r)| 2 (2.27)And the total density is just n(r) = ∑ σ n(rσ).The direct and exchange products transform accord<strong>in</strong>g to∫∫∫∫drdr ′ φ ∗ n(r)φ n (r)φ ∗ n ′(r′ )φ n ′(r ′ ) → drdr ∑ ′ φ ∗ n(r)φ n (r)φ ∗ n ′(r′ )φ n ′(r ′ )δ σ,σn δ σ ′ ,σ n ′ δ σ,σn δ σ ′ ,σ n ′σσ∫∫′= drdr ′ φ ∗ n(r)φ n (r)φ ∗ n ′(r′ )φ n ′(r ′ )∫∫∫∫drdr ′ φ ∗ n(r)φ n ′(r)φ ∗ n ′(r′ )φ n (r ′ ) → drdr ∑ ′ φ ∗ n(r)φ n ′(r)φ ∗ n ′(r′ )φ n (r ′ )δ σ,σn δ σ,σn ′ δ σ ′ ,σ nδ σ ′ ,σ n ′σσ∫∫′= drdr ′ δ σn,σ n ′ φ ∗ n(r)φ n ′(r)φ ∗ n ′(r′ )φ n (r ′ )(2.28)The Hartree energy is not really changed, as∫∫U H = 1 2drdr ′ n(r)n(r′ )|r − r ′ |∫∫→ 1 2drdr ∑ ′ n(rσ)n(r ′ σ ′ )|r − r ′ |σσ∫∫′= 1 2drdr ′ (∑ σ n(rσ)) (∑ σ ′ n(r′ σ ′ ))|r − r ′ |∫∫= 1 2drdr ′ n(r)n(r′ )|r − r ′ |(2.29)i.e. the densities are replaced by total densities (the sum of the sp<strong>in</strong> densities).


Chapter 3<strong>Density</strong> <strong>Functional</strong> Theory<strong>Density</strong>-functional theory (DFT) is an, <strong>in</strong> pr<strong>in</strong>ciple, exact method for obta<strong>in</strong><strong>in</strong>g the ground stateenergy of a system, offer<strong>in</strong>g an alternative method to solv<strong>in</strong>g for the fully <strong>in</strong>teract<strong>in</strong>g many-bodywave function. As the name implies, DFT relies on the density rather than the wave functionsto provide <strong>in</strong>formation on a system. The basis for DFT is the Hohenberg-Kohn (HK) theorems[4], which tells us that all ground state properties of a system can be regarded as functionalsof the ground state density. This is obviously of great numerical importance, as the basis of allcalculations are thus centered on a s<strong>in</strong>gle real-valued function of three coord<strong>in</strong>ates as opposed tothe complex valued wave functions of 3N coord<strong>in</strong>ates required to describe the N particle problem<strong>in</strong> the traditional Schröd<strong>in</strong>ger approach.Although <strong>in</strong> pr<strong>in</strong>ciple exact, DFT requires knowledge of a universal, but <strong>in</strong> general unknownfunctional known as the HK functional F [n], which <strong>in</strong> practice must be approximated. In 1965Kohn and Sham [5] developed a self-consistent scheme for approximat<strong>in</strong>g F [n], and determ<strong>in</strong><strong>in</strong>gthe ground state density. Although to date still the most widely used DFT scheme, KS-DFT isnot the only way of do<strong>in</strong>g DFT. The simplest version of DFT is Thomas-Fermi (TF) theory, andmore general formulations which encompass both KS and TF theory exist. One such formulationwill be discussed <strong>in</strong> section 3.2.The father of DFT, Walter Kohn, received the Nobel prize <strong>in</strong> 1999 [6], for his sem<strong>in</strong>al work onthe theory.3.1 Hohenberg-Kohn Theory- The Ground State EnergyThe total energy of the state Ψ is 〈Ψ|Ĥ|Ψ〉. By the variational pr<strong>in</strong>ciple, the ground state energyis the m<strong>in</strong>imum of the expectation value of the HamiltonianE 0 = m<strong>in</strong>〈Ψ|Ĥ|Ψ〉 (3.1)Ψwhere Ĥ = ̂T + ̂V ee + ̂V ext is the full many-electron Hamiltonian, and |Ψ〉 is any normalized(〈Ψ|Ψ〉 = 1) antisymmetric many-electron wave function.11


12 3. <strong>Density</strong> <strong>Functional</strong> TheoryThe m<strong>in</strong>imization (3.1) can be written as(3.2)E 0 = m<strong>in</strong> Ψ[]= m<strong>in</strong> m<strong>in</strong> + ̂V ee + ̂V ext |Ψ〉n(r)→N Ψ→n[∫]= m<strong>in</strong> m<strong>in</strong> + ̂V ee |Ψ〉 + drn(r)v ext (r)n(r)→N Ψ→n[ ∫]= m<strong>in</strong> n(r)→N= m<strong>in</strong>n(r)→NF [n] + drn(r)v ext (r)where m<strong>in</strong> Ψ→n means m<strong>in</strong>imiz<strong>in</strong>g over all antisymmetric wave functions produc<strong>in</strong>g the same electrondensity, n(r), and m<strong>in</strong> n(r)→N is a m<strong>in</strong>imization over all densities which <strong>in</strong>tegrates to the totalnumber of electrons, N. We see that the system specific part, 〈Ψ|̂V ext |Ψ〉, is <strong>in</strong>dependent of thespecific form of the wave function, as long as it produces the density n(r), and that the system<strong>in</strong>dependent part can be collected <strong>in</strong> the universal (HK) functionalF [n] ≡ m<strong>in</strong>Ψ→n 〈Ψ| ̂T + ̂V ee |Ψ〉 (3.3)Note that any of the possibly degenerate wave functions produc<strong>in</strong>g n(r) while m<strong>in</strong>imiz<strong>in</strong>g 〈 ̂T + ̂V ee 〉is equally valid <strong>in</strong> the m<strong>in</strong>imization above.Equation (3.2) also def<strong>in</strong>es the energy functional∫E[n] = F [n] + dr n(r)v ext (r) (3.4)which when m<strong>in</strong>imized yields both the ground state density n 0 (r) and the ground state energyE 0 = E[n 0 ].The m<strong>in</strong>imization of the energy functional is be done with the normalization condition ∫ drn(r) =N, i.e. that the total number of electrons is fixed. The Euler-Lagrange equation for the m<strong>in</strong>imizationis 1⇓{ ∫δ F [n] +∫dr v ext (r)n(r) − µ}dr n(r) = 0δF [n]δn(r) + v ext(r) = µ (3.5)where the conservation of electrons is enforced by the <strong>in</strong>troduced Lagrange multiplier µ, which isadjusted such that ∫ drn(r) = N. µ can be recognized as the chemical potential of the system.Equation (3.5) plays a central role <strong>in</strong> DFT, as it establishes a correspondence between theexternal potential and the ground state density, given that the explicit form of the HK functionalis known. The correspondence is not strictly unique, as there might be several densities satisfy<strong>in</strong>g(3.5) and result<strong>in</strong>g <strong>in</strong> the same (m<strong>in</strong>imal) value of eq. (3.4), i.e. there might be degenerate groundstates. Furthermore the potential can only be determ<strong>in</strong>ed up to an arbitrary additive constant, as aconstant shift of v ext is compensated by an identical shift of the chemical potential (a constant shiftdoes not affect the position of the extremes of a functional). This additive constant is obviouslyirrelevant, as a constant shift of the potential corresponds to the same physical system.We have thus arrived at the two most important theorems of density functional theory, firststated by Hohenberg and Kohn <strong>in</strong> 1964 [4] and therefore referred to as the HK theorems:1 Formally the Euler-Lagrange equation is a condition for (local) extremes of a functional, so one should checkthat the result is <strong>in</strong>deed a (global) m<strong>in</strong>imum.


3.2 The Generalized Kohn-Sham Scheme 131 The ground state electron density∫n(r) = N|Ψ(r, r 2 , . . . , r N )| 2 dr 2 . . . dr N (3.6)uniquely determ<strong>in</strong>es the potential <strong>in</strong> which the electrons reside (up to an arbitrary additiveconstant). In the degenerate case, any of the degenerate densities can be used to, <strong>in</strong> pr<strong>in</strong>ciple,determ<strong>in</strong>e the potential.2 The ground state energy functional is subject to a variational pr<strong>in</strong>ciple, be<strong>in</strong>g m<strong>in</strong>imal atthe true ground state density only.The first follow<strong>in</strong>g from eq. (3.5) and the second from the m<strong>in</strong>imization (3.2).S<strong>in</strong>ce two systems can only differ by the external potential and the total number of electrons,and s<strong>in</strong>ce ∫ n(r)dr = N, theorem 1 states that all <strong>in</strong>formation about the ground state is conta<strong>in</strong>ed<strong>in</strong> the 3 dimensional real-valued density, <strong>in</strong>clud<strong>in</strong>g the 3N variable complex valued ground statewave function. Which is obviously a quite remarkable result.Theorem 2 implies that if one were able to write down the explicit form of the system <strong>in</strong>dependentfunctional F [n] once and for all, the problem of determ<strong>in</strong><strong>in</strong>g any ground-state property of agiven system, would simply be a matter of m<strong>in</strong>imiz<strong>in</strong>g the functional E[n] = F [n]+ ∫ v ext (r)n(r)drand then evaluat<strong>in</strong>g the observable as a functional of the m<strong>in</strong>imiz<strong>in</strong>g density n(r). The only problemis that F [n] is not known explicitly.Note that the procedure above follows the constra<strong>in</strong>ed search pr<strong>in</strong>ciple of Levy [7], <strong>in</strong> which theonly assumption on the wave functions <strong>in</strong> the m<strong>in</strong>imization (3.3) is that it should be antisymmetricand produce the density n(r), i.e. it should be N-representable. In the orig<strong>in</strong>al proof of Hohenbergand Kohn [4] they had to restrict the m<strong>in</strong>imization to wave functions that where ν-representable,i.e. the density should be realizable for a real system <strong>in</strong> some external potential.3.2 The Generalized Kohn-Sham SchemeThe ma<strong>in</strong> idea of all DFT schemes is to construct a model system with the same ground state (g.s.)electron density as the real system, solve the Schröd<strong>in</strong>ger equation for this, and then evaluate thetotal g.s. energy (or any other g.s. property) as a functional of the determ<strong>in</strong>ed g.s. density. Itis known from the HK theorem that all observables can be represented <strong>in</strong> this way, but not how,so the functional form has to be approximated <strong>in</strong> practice. If the model system describes most ofthe energetics of the real system, it is useful to derive the energy functional for the model system,and then only approximate the rema<strong>in</strong><strong>in</strong>g part.The scheme presented here is a generalization of the scheme proposed by Kohn and Sham <strong>in</strong>[5], follow<strong>in</strong>g the procedure described <strong>in</strong> [8] and [9].We start by separat<strong>in</strong>g the HK functional accord<strong>in</strong>g toF [n] = F s [n] + Q s [n] (3.7)where F s [n] is the HK functional of the model system, and Q s [n] is some approximated densityfunctionaldef<strong>in</strong>ed by the above. The HK functional of the real system is F [n] = m<strong>in</strong> Ψ→n(r) 〈Ψ| ̂T +̂V ee |Ψ〉. If we restrict our attention to model systems described by Slater type wave functions, theHK functional of the model system can be written asF s [n] =m<strong>in</strong> S[Φ] = m<strong>in</strong> S[{φ}] (3.8)Φ→n(r) {φ}→n(r)where the m<strong>in</strong>imization is restricted to Slater type wave functions only, and S[Φ] is a suitablefunctional of this determ<strong>in</strong>ant def<strong>in</strong><strong>in</strong>g the model system. For example S[Φ] = 〈Φ| ̂T |Φ〉 results <strong>in</strong>the KS scheme, and S[Φ] = 〈Φ| ̂T + ̂V ee |Φ〉 <strong>in</strong> the Hartree-Fock Kohn-Sham (HF-KS) scheme.


14 3. <strong>Density</strong> <strong>Functional</strong> TheoryWe now def<strong>in</strong>e an effective external potential for the model system, such that the m<strong>in</strong>imiz<strong>in</strong>gdensity of the energy functional of the model system∫E s [n] = F s [n] + drv s (r)n(r) (3.9)is the same as that of the real system. Do<strong>in</strong>g this, we can simply evaluate the true energy functionalus<strong>in</strong>g the ground state of the model system accord<strong>in</strong>g toE 0 = E[n 0 ]∫= F [n 0 ] + drv ext (r)n 0 (r)∫= F s [n 0 ] + Q s [n 0 ] + drv ext (r)n 0 (r)(3.10)For the real- and the model system to have the same ground state density, the Euler-Lagrangeequations (3.5) of the two m<strong>in</strong>imizationsδF [n]δn(r) + v ext(r) = µδF s [n]δn(r) + v s(r) = µ (3.11)must be equivalent (any difference between the two chemical potentials, can be absorbed <strong>in</strong> thedef<strong>in</strong>ition of v s (r)). This implies choos<strong>in</strong>g v s (r) accord<strong>in</strong>g tov s (r) = δ(F [n] − F s[n])δn(r)+ v ext (r) = δQ s[n]δn(r) + v ext(r) = v Q (r) + v ext (r) (3.12)where v Q (r) = δQ s [n]/δn(r). Note that here it has been assumed that there exists an effectivepotential such that the ground state density is identical for the two systems. Follow<strong>in</strong>g the generalprocedure of KS theory this is left as an unproven assumption.With the effective potential of (3.12), we see that we can get the total energy by:∫∫E 0 = F s [n 0 ] + Q s [n 0 ] + drv ext (r)n 0 (r) = E s [n 0 ] + Q s [n 0 ] − drv Q (r)n 0 (r) (3.13)where the term Q s [n 0 ] − ∫ drv Q (r)n 0 (r) is sometimes referred to as the double count<strong>in</strong>g correctionterm. To evaluate this energy expression, we just need the ground state density, which we getfrom the m<strong>in</strong>imization of the energy functional of our model system E s [n], i.e. by perform<strong>in</strong>g them<strong>in</strong>imizationE s 0 ={ ∫m<strong>in</strong> F s [n] +n(r)→N} { ∫drv s (r)n(r) = m<strong>in</strong>Φ→NS[Φ] +}drv s (r)n[Φ](r)(3.14)Which is equivalent to f<strong>in</strong>d<strong>in</strong>g the eigenstate of lowest energy of[Ôs + ˆv s]|Φ 0 〉 = E s 0|Φ 0 〉 (3.15)where Ôs|Φ〉 = ∂S[Φ]∂〈Φ|, or equivalently the N lowest states of the generalized Kohn-Sham (GKS)equations[ô s + v s (r)] φ n (r) = ɛ n φ n (3.16)with f n ô s φ n (r) = δS[{φ}]δφ ∗ n (r), andE s 0 = ∑ nf n ɛ n + 〈Φ| ∂S∂〈Φ| |Φ〉 − ∑ n∂S〈φ n |∂〈φ n | |φ n〉,n 0 (r) = ∑ nf n |φ n (r)| 2 (3.17)Note that the operator ô s can be both non-local and state dependent <strong>in</strong> general.A self consistent approach is needed for solv<strong>in</strong>g the GKS equations (3.16), as both operatorsô s and ˆv s are functionals of the orbitals, i.e. depend on the solution of the GKS equation itself.


3.2 The Generalized Kohn-Sham Scheme 15To summarize, the self-consistent GKS approach to the ground state energy is:Prelim<strong>in</strong>ary steps:1. Choose a model functional S[Φ] = S[{φ}]2. Determ<strong>in</strong>e ô s = 1/f n |φ n 〉 · ∂S/∂〈φ n |3. Approximate Q s [n] = F [n] − F s [n] and v Q [n](r) = δQ s /δn(r)Self-consistent field (SCF):1. Guess <strong>in</strong>itial states, {φ} and density n(r) e.g. from atomic orbitals(a) Determ<strong>in</strong>e v s [n](r) = v Q [n](r) + v ext (r) and ô s [{φ}](b) F<strong>in</strong>d the N lowest energy eigen states of [ô s + v s (r) − ɛ n ] φ n (r) = 0(c) Calculate n(r) = ∑ i f n|φ n (r)| 2(d) Repeat step a − c until n(r) has converged2. Calculate total energy by either of the expressions∫∫E[n] = F s [n] + Q s [n] + drv ext (r)n(r) , E[n] = E0 s + Q s [n] −drv Q (r)n(r)It can be shown, that first order errors <strong>in</strong> both v ext and n(r) only appear to second order <strong>in</strong> E[n][34].The scheme can be thought of as mapp<strong>in</strong>g the N-particle <strong>in</strong>teract<strong>in</strong>g many-electron problemto a s<strong>in</strong>gle particle problem with N occupied states that needs to be solved self-consistently. Thisrepresents a major simplification, as is clearly illustrated by the example of Kohn <strong>in</strong> his Nobellecture [6].Note that like F , the functionals F s and Q s are universal functionals, so <strong>in</strong> pr<strong>in</strong>ciple onlya s<strong>in</strong>gle (sufficiently accurate) choice of model system and a consistent approximation for Q s isneeded.3.2.1 Choos<strong>in</strong>g the Model SystemThere are several ways to def<strong>in</strong>e the model system. This section describes a few of the most widelyused procedures.The Standard Kohn-Sham SchemeThe standard Kohn-Sham scheme is recovered if we choose as the model system, a free-electronsystem, i.e. S[Φ] = 〈Φ| ̂T |Φ〉. This non-<strong>in</strong>teract<strong>in</strong>g system is also the only system for which weknow that the ground state is a Slater determ<strong>in</strong>ant. The rema<strong>in</strong><strong>in</strong>g contributions to the HKfunctional is thenQ s [n] = F [n] − F s [n] = 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T |Φ m<strong>in</strong>n(r) 〉 (3.18)where |Ψ m<strong>in</strong>n(r) 〉 is the <strong>in</strong>teract<strong>in</strong>g many-electron wave function that m<strong>in</strong>imize 〈Ψ| ̂T + ̂V ee |Ψ〉 whileproduc<strong>in</strong>g the density n(r), and |Φ m<strong>in</strong>n(r)〉 is the non-<strong>in</strong>teract<strong>in</strong>g many-electron wave function (Slaterdeterm<strong>in</strong>ant), that m<strong>in</strong>imize 〈Φ| ̂T |Φ〉, while still produc<strong>in</strong>g the same density n(r).The expectation value of the electron-electron <strong>in</strong>teraction with respect to a Slater determ<strong>in</strong>antcan be evaluated explicitly (see appendix A for a derivation) giv<strong>in</strong>g〈Φ|̂V ee |Φ〉 = U H [n] + E x [n] (3.19)


16 3. <strong>Density</strong> <strong>Functional</strong> Theorywhere∫U H [n] = 1 2drdr ′ n(r)n(r′ )|r − r ′ |∑∫E x [n] = − 1 2f n f n ′ drdr ′ φ∗ n(r)φ n ′(r)φ ∗ n ′(r′ )φ n (r ′ )|r − r ′ |nn ′(3.20a)(3.20b)Here f α are the occupation numbers, and φ α (r) are the s<strong>in</strong>gle particle wave functions constitut<strong>in</strong>gΦ.Us<strong>in</strong>g (3.19), Q s is expanded asQ s [n] = 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T |Φ m<strong>in</strong>n(r)(〉= 〈Φ m<strong>in</strong>n(r) |̂V ee |Φ m<strong>in</strong>n(r) 〉 + 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T + ̂V)ee |Φ m<strong>in</strong>n(r) 〉= U H [n] + E x [n] + E c [n](3.21)where the correlation energy functional E c [n] is def<strong>in</strong>ed by the above expression, and accounts foreveryth<strong>in</strong>g that is not described by the first term, i.e.E c [n] ≡ 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T + ̂V ee |Φ m<strong>in</strong>n(r) 〉 (3.22)The procedure corresponds to express<strong>in</strong>g the full HK functional byF [n] = 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉= 〈Φ m<strong>in</strong>n(r) | ̂T + ̂V ee |Φ m<strong>in</strong>n(r) 〉 + E c[n]= T s [n] + U H [n] + E x [n] + E c [n](3.23)where T s is the k<strong>in</strong>etic energy of an imag<strong>in</strong>ed non-<strong>in</strong>teract<strong>in</strong>g electron gas with the same totaldensity as the real system, U H is the Hartree energy represent<strong>in</strong>g a mean-field approximation ofthe electron-electron <strong>in</strong>teraction. The physical significance of the last two terms E x and E c is lessobvious, and will be discussed <strong>in</strong> section 3.3.This choice of model system leads to the operator ô s = ˆt = − 1 2 ∇2 , and the effective potentialv Q (r) = u H (r) + v x (r) + v c (r)where u H (r) = δU H [n]/δn(r) = ∫ dr ′ n(r ′ )/|r − r ′ | is the Hartree potential, E xc = E x + E c isthe exchange-correlation energy, and v xc (r) = δE xc [n]/δn(r) is the local exchange-correlationpotential.There is no explicit expression for the correlation energy functional and it must be approximatedby some suitable functional, and from this, its functional derivative v c (r) must be determ<strong>in</strong>ed.As the exchange energy functional is only an implicit functional of the density, its functionalderivative is not easily determ<strong>in</strong>ed. Typically approximations which are explicit functionals of thedensity are made for both E c and E x , such that their functional derivatives are easily found. Besidesthe difficulties of form<strong>in</strong>g the functional derivative of of an implicit functional there is alsoan empirical argument for mak<strong>in</strong>g approximations of the comb<strong>in</strong>ed exchange-correlation. It turnsout, a posteriori, that there is a large degree of cancellation between the long range effects of E xand E c , such that local approximations for both actually performs better than treat<strong>in</strong>g exchangeexactly and correlation only locally.For a discussion of how to construct the functional derivative of orbital dependent functionals,see chapter 5.From (3.16) we get the Kohn-Sham equations[−12 ∇2 + u H (r) + v xc (r) + v ext (r) ] φ n = ɛ n φ n (3.24)


3.2 The Generalized Kohn-Sham Scheme 17and the total energy expression:∫E = T s [n] + U H [n] + E xc [n] + dr n(r)v ext (r)= ∑ ∫f n ɛ n − U H [n] + E xc [n] − dr n(r)v xc (r)n(3.25)consistent with the standard expressions.Hybrid Hartree-Fock Kohn-Sham SchemesIn hybrid Hartree-Fock-Kohn-Sham (HF-KS) schemes, a fraction of the electron-electron <strong>in</strong>teractionis <strong>in</strong>cluded <strong>in</strong> the model system. Thus S[Φ] = 〈Φ| ̂T + âV ee |Φ〉 where a is some numberbetween 0 and 1. From this, we identify Q s asQ s [n] = F [n] − F s [n]= 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T + âV ee |Φ m<strong>in</strong>n(r) 〉= (1 − a)〈Φ m<strong>in</strong>n(r) |̂V ee |Φ m<strong>in</strong>n(r) 〉 + 〈Ψm<strong>in</strong> n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T + ̂V ee |Φ m<strong>in</strong>n(r) 〉= (1 − a)(U H [n] + E x [n]) + E c [n]This def<strong>in</strong>es the operator ô s = −∇ 2 /2+a(û H +ˆv xNL ) and the local potential v Q (r) = (1−a)(u H (r)+v x (r)) + v c . Note that the non-local exchange potential differs from the local potential <strong>in</strong> thatˆv NLx|φ n 〉 = ∂E x /f n ∂〈φ n | <strong>in</strong> general differs from ˆv x (r) = δE x /δn(r).From (3.16) we get the generalized Kohn-Sham equations[−12 ∇2 + u H (r) + aˆv NLx + (1 − a)v s x(r) + v s c(r) + v ext (r) ] φ n = ɛ n φ n (3.26)and the total energy expression:∫E = T s [n] + U H [n] + aEx exact [Φ] + (1 − a)E x [n] + E c [n] + drn(r)v ext (r)= ∑ ∫f n ɛ n − U H [n] − aExexact [Φ] + (1 − a)E x [n] + E c [n] − dr((1 − a)v x (r) + v c (r))n(r)n(3.27)A feature of the hybrid HF-KS schemes is that like <strong>in</strong> ord<strong>in</strong>ary KS schemes, the eigenvalue correspond<strong>in</strong>gto the highest occupied orbital (HOMO) is equal to the exact ionization energy I of thereal system [9]ɛ N = −I (3.28)In the a = 0 limit, the hybrid HF-KS scheme reduce to the KS scheme, and at a = 1 thescheme is equivalent to Hartree-Fock, if the correlation functional is approximated by E c [n] = 0.Thomas-Fermi TheoryThe basic idea beh<strong>in</strong>d DFT is to evaluate every observable as a functional of the ground statedensity, yet <strong>in</strong> the schemes described above, an auxiliary model system is <strong>in</strong>troduced, for whichthe GKS eigenvalue problem must be solved to f<strong>in</strong>d the orbitals, which are then used to determ<strong>in</strong>ethe density.In Thomas-Fermi (TF) theory, the construction of a model system is skipped, and the full HKfunctional is approximated directly by some explicit density functional (correspond<strong>in</strong>g to lett<strong>in</strong>gS = 0 and approximate Q s ).


18 3. <strong>Density</strong> <strong>Functional</strong> TheoryModel<strong>in</strong>g the nuclei density by a homogeneous background charge (a jellium), the eigenstatesof the non-<strong>in</strong>teract<strong>in</strong>g (Kohn-Sham) Hamiltonian becomes plane waves, for which it can be shownshow that the k<strong>in</strong>etic- and exchange energies becomeT s = 3V10 (3π2 ) 2/3 n 5/30 E x = − 3V (3π2 ) 1/3 4/3 n 04πwhere n 0 is the (homogeneous) density of the electrons and V is the volume of the system.The basic idea of Thomas-Fermi theory is that if the charge density is not uniform, but variesslowly, the energy expressions will be the same as above, but evaluated locally and then <strong>in</strong>tegratedover space. Thus the approximation for the k<strong>in</strong>etic energy functional, T s [n], and the exchangefunctional, E x [n], becomes:∫T s [n] = dr 3 10 (3π2 ) 2/3 n 5/3 (r)∫E x [n] = −Neglect<strong>in</strong>g correlation altogether, the total energy functional thus becomesE[n] = T s [n] + U H [n] + V ext [n] + E x [n]∫= dr 3 10 (3π2 ) 2/3 n 5/3 (r) + 1 ∫drdr ′ n(r)n(r′ )2 |r − r ′ |∫+dr 3 (3π2 ) 1/3n 4/3 (r)4π∫drn(r)v ext (r) −dr 3 4( 3π) 1/3n 4/3 (r)Mak<strong>in</strong>g explicit density-functional approximations of all components of the HK theorem is amajor simplification, as the m<strong>in</strong>imization of the energy functional can then be done directly byapply<strong>in</strong>g the Euler-Lagrange equation δE[n]/δn(r) = µ, where µ is a Lagrange multiplier (thechemical potential), which is adjusted such that ∫ drn(r) = N. This results <strong>in</strong>∫12 (3π2 ) 2/3 n 5/3 (r) +dr ′ n(r ′ ( ) 1/3)3|r − r ′ | + v ext(r) − n 4/3 (r) = µ (3.29)πFrom which the ground state density can be determ<strong>in</strong>ed, and thereby also the ground state energy.Unfortunately the Thomas-Fermi model makes very poor predictions of the energetics of realsystems. The problem is that the k<strong>in</strong>etic energy is the dom<strong>in</strong>ant energy term, mak<strong>in</strong>g it crucialthat this is described correctly, but assum<strong>in</strong>g that the electron structure is a homogeneous electrongas, all <strong>in</strong>formation on the formation of electronic shells near the nuclei, is obviously lost. Suchstructure is naturally <strong>in</strong>cluded, when the k<strong>in</strong>etic energy is determ<strong>in</strong>ed by solv<strong>in</strong>g the Schröd<strong>in</strong>gerequation of a real system (free electron gas), as <strong>in</strong> the KS scheme.The orig<strong>in</strong>al model proposed <strong>in</strong>dependently by Thomas <strong>in</strong> 1927 [10] and Fermi <strong>in</strong> 1928 [11]<strong>in</strong>cluded only the k<strong>in</strong>etic part, and among other failures predicts that formation of moleculesis always energetically unfavorable, i.e. that all molecules are unstable. The <strong>in</strong>clusion of theexchange term was done by P. A. M. Dirac <strong>in</strong> 1930 [12], and the result<strong>in</strong>g model makes even worseresults. Because of the computational advantages of the model, several attempts have been madeto improve the model, but none com<strong>in</strong>g close <strong>in</strong> accuracy to KS-type schemes. For a nice reviewof different TF models, and the systems they can describe see [13].It should be noted that TF theory predates DFT, which is based on the two articles by Hohenbergand Kohn [4] from 1964 and by Kohn and Sham [5] from 1965, by more than threedecades.3.2.2 Comparison of KS and hybrid HF-KS SchemesTo compare the KS scheme with the hybrid HF-KS schemes, we compare the two energy expressions:∫E KS = T KS [n] + U H [n] + ExKS [n] + Ec KS [n] + drn(r)v ext (r)∫E Hy,a = T Hy,a [n] + U H [n] + aExexact [Φ Hy,a ] + (1 − a)ExHy,a [n] + Ec Hy,a [n] + drn(r)v ext (r)


3.3 <strong>Exchange</strong> and Correlation 19There is a subtle difference between the functionals that the approximated exchange and correlationfunctionals of the two methods are designed to model. This difference stems from thedifference between the KS and the hybrid HF-KS orbitals. We can express the hybrid functionals<strong>in</strong> terms of the KS functionals byE Hy,axE Hy,ac= E KSx + ∆E x , ∆E x = 〈Φ Hy,a |̂V ee |Φ Hy,a 〉 − 〈Φ KS |̂V ee |Φ KS 〉 (3.30)= E KSc + ∆E c , ∆E c = 〈Φ KS | ̂T + ̂V ee |Φ KS 〉 − 〈Φ Hy,a | ̂T + ̂V ee |Φ Hy,a 〉 (3.31)Usually the density functional approximations for the exchange and correlation used <strong>in</strong> hybridschemes are just those established with<strong>in</strong> KS theory. The error caused by this is∆E Hy,axc= (1 − a)∆E x + ∆E c= 〈Φ KS | ̂T + âV ee |Φ KS 〉 − 〈Φ Hy,a | ̂T + âV ee |Φ Hy,a 〉Us<strong>in</strong>g the Hellmann-Feynman theorem, and that ∆E Hy,0xc∆E Hy,axc ==∫ a0∫ a0= 0, this can be written as[]dα 〈Φ KS |̂V ee |Φ KS 〉 − 〈Φ Hy,α |̂V ee |Φ Hy,α 〉dα [ Exexact [Φ KS ] − Ex exact [Φ Hy,α ] ] (3.32)which is believed to be small <strong>in</strong> general [9]. From the success of the hybrid HF-KS methods us<strong>in</strong>gstandard xc functionals, it might seem that these are actually better approximations of ExcHy,a thanthe functional ExcKS which they where designed to approximate.3.3 <strong>Exchange</strong> and CorrelationThe Hartree and <strong>Exchange</strong> terms of the total energy is def<strong>in</strong>ed by the expression (3.19):U H [n] + E x [n] = 〈Φ m<strong>in</strong>n(r) |̂V ee |Φ m<strong>in</strong>n(r) 〉 (3.33)If one considers the electron-electron <strong>in</strong>teraction as a perturbation to the non-<strong>in</strong>teract<strong>in</strong>g Hamiltonian,we can <strong>in</strong>terpret the above quantity as the first order correction to the total energy due tothis perturbation. The explicit form of U H isU H [n] = 1 2∫drdr ′ n(r)n(r′ )|r − r ′ |= 1 2∑nn ′ f n f n ′∫drdr ′ φ∗ n(r)φ n (r)φ ∗ n ′(r′ )φ n ′(r ′ )|r − r ′ |(3.34)which is just the classical electrostatic energy of the charge density n(r). This <strong>in</strong>teraction clearly<strong>in</strong>cludes a spurious self-<strong>in</strong>teraction of each state with itself.The explicit form of the exchange energy is∑∫E x [n] = − 1 2f n f n ′δ σnσ n ′nn ′drdr ′ φ∗ n(r)φ n ′(r)φ ∗ n ′(r′ )φ n (r ′ )|r − r ′ |(3.35)Here sp<strong>in</strong> has been <strong>in</strong>cluded, accord<strong>in</strong>g to the prescription <strong>in</strong> section 2.4, as it is crucial for the<strong>in</strong>terpretation of exchange.The object ‘a Slater determ<strong>in</strong>ant’ is constructed to satisfy the antisymmetry pr<strong>in</strong>ciple, whichis the pr<strong>in</strong>ciple lead<strong>in</strong>g to Pauli repulsion, so this effect is expected to show <strong>in</strong> the expression〈Φ|̂V ee |Φ〉. In the exchange energy, (3.35), we see that the diagonal terms, n = n ′ , exactly cancelsthe self-<strong>in</strong>teraction of the Hartree term, and is thus just a classical correction of this. The rema<strong>in</strong><strong>in</strong>gn ≠ n ′ parts of E x is a direct consequence of Pauli repulsion. It can be seen that E x correlatespairs of states with parallel sp<strong>in</strong>, and gives a large negative value for any such pair, which havenon-zero overlap. This is because, <strong>in</strong> the true ground state, the Pauli exclusion pr<strong>in</strong>ciple would


20 3. <strong>Density</strong> <strong>Functional</strong> Theorytend to keep any two electrons of parallel sp<strong>in</strong> apart <strong>in</strong> space, thus the true ground state wouldhave a much smaller electrostatic energy than <strong>in</strong> the non-<strong>in</strong>teract<strong>in</strong>g case if this has overlapp<strong>in</strong>gstates of equal sp<strong>in</strong>. All other many-electron effects are represented by the correlation functional.In some texts exchange is referred to as static correlation, and correlation as dynamic correlation.Note that if we write the exchange energy aswe see that it is always negative,E x [n] = − 1 ∫∫ drdr′ ∑∑2 |r − r ′ δ σ,σn φ ∗| ∣n(r)φ n (r ′ )∣The correlation functional was def<strong>in</strong>ed <strong>in</strong> equation (3.22) asσn2(3.36)E x [n] < 0 (3.37)E c [n] = 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T + ̂V ee |Φ m<strong>in</strong>n(r) 〉 (3.38)i.e. it is everyth<strong>in</strong>g that is not accounted for by us<strong>in</strong>g the non-<strong>in</strong>teract<strong>in</strong>g slater determ<strong>in</strong>ant toevaluate the total energy. From eq. (3.38), we clearly see thatE c [n] ≤ 0as |Ψ m<strong>in</strong>n(r) 〉 is the wave function that m<strong>in</strong>imizes 〈 ̂T + ̂V ee 〉. By rewrit<strong>in</strong>g the expression (3.38) as:(E c [n] = 〈Ψ m<strong>in</strong>n(r) | ̂T |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T) ()|Φ m<strong>in</strong>n(r) 〉 + 〈Ψ m<strong>in</strong>n(r) |̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) |̂V ee |Φ m<strong>in</strong>n(r) 〉 (3.39)it is seen that the correlation energy consists of a positive k<strong>in</strong>etic correction (s<strong>in</strong>ce Φ m<strong>in</strong>n(r)is the wavefunction that m<strong>in</strong>imizes 〈 ̂T 〉), and a negative potential correction (s<strong>in</strong>ce the sum is negative). Inthe <strong>in</strong>teract<strong>in</strong>g, physical, system, the electrons would be kept apart due to the coulombic repulsionof charged particles. Thus the real system would have a smaller electrostatic energy than the non<strong>in</strong>teract<strong>in</strong>gsystem (expla<strong>in</strong><strong>in</strong>g the negative potential correction), and s<strong>in</strong>ce the electrons wouldthereby be restricted to a smaller part of space, they would have a larger k<strong>in</strong>etic energy.In the same way that U H + E x represents the first order correction to the total energy dueto the electron-electron <strong>in</strong>teraction, the correlation energy represents all higher order corrections.Schemes have been devised that construct E C us<strong>in</strong>g perturbation theory, at every level of theKS SCF cycle. Although the perturbation expansion is obviously truncated at some po<strong>in</strong>t, theprocedure <strong>in</strong> pr<strong>in</strong>ciple leads to an ‘exact’ DFT scheme [53]. Unfortunately some physical effectsrequired particular types of perturbative terms to be described to <strong>in</strong>f<strong>in</strong>ite order for the sum tomake sense [63].While the exact behavior of the exchange functional can be studied us<strong>in</strong>g the explicit formula(3.35), the exact correlation functional is much harder to obta<strong>in</strong> <strong>in</strong>formation about. The exact behaviorof the correlation potential- and energy functionals are only known <strong>in</strong> certa<strong>in</strong> limit<strong>in</strong>g casesof simple model systems. These are used when construct<strong>in</strong>g density functional approximations forv c and E c .3.3.1 Jacob’s LadderMany different approximations for the exchange-correlation functional, a few of which are summarized<strong>in</strong> appendix E, but they can all be placed on one of the five rungs of the Jacob’s ladderproposed by Perdew <strong>in</strong> [14]. The concept is a ladder of accuracy rang<strong>in</strong>g from the Hartree level tothe heaven of chemical accuracy. The ladder can be navigated depend<strong>in</strong>g on the need for accuracyat the cost of computational effort. The five rungs of the ladder are shown on figure 3.1. The termchemical accuracy refers to the highest accuracy available with current experimental techniques.A few of the key quantities of molecules, and present chemical accuracy, are [52]:


3.3 <strong>Exchange</strong> and Correlation 21Figure 3.1: Jacob’s ladder of exchange-correlation functionals. From [14].• B<strong>in</strong>d<strong>in</strong>g energies: 1 kcal/mol• Bond lengths: 0.01 Å• Vibration frequencies: 10 cm −1• Excitation energies: 0.1 eV<strong>Exchange</strong>-correlation functionals are typically written <strong>in</strong> the form∫E xc [n(r)] = drn(r)e xc [n(r)](r)In figure 3.1 the steps of the Jacob’s ladder <strong>in</strong>dicates the number of <strong>in</strong>gredients <strong>in</strong>cluded <strong>in</strong> theexchange-correlation energy density e xc . For example a meta-GGA functional would look like∫Exc MGGA [n(r)] = dr n(r) e MGGA (xc n(r), ∇n(r), ∇ 2 n(r), τ(r) ) (3.40)where τ is the k<strong>in</strong>etic energy densityτ(r) = 1 ∑f n |∇φ i (r)| 2 (3.41)2nA useful theoretical tool for understand<strong>in</strong>g the xc-functional (and thereby mak<strong>in</strong>g it easier to constructgood approximations), is that offered by the ‘adiabatic connection method’, ACM, described<strong>in</strong> the next section.3.3.2 The Adiabatic Connection FormulaFrom the def<strong>in</strong>itions of exchange, (3.33), and correlation, (3.22), the comb<strong>in</strong>ed functional can beexpressed as:E xc [n] = 〈Ψ m<strong>in</strong>n(r) | ̂T + ̂V ee |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T |Φ m<strong>in</strong>n(r) 〉 − U H[n] (3.42)or, us<strong>in</strong>g the def<strong>in</strong>ition of the exchange correlation hole (2.14)E xc [n] = 1 2∫∫drdr ′ n(r)n xc(r, r ′ )|r − r ′ |+ 〈Ψ m<strong>in</strong>n(r) | ̂T |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T |Φ m<strong>in</strong>n(r) 〉 (3.43)


22 3. <strong>Density</strong> <strong>Functional</strong> TheoryIt is difficult to make models for how the k<strong>in</strong>etic energy 〈 ̂T 〉 is changed from the real to the KSsystem, so to avoid the last two terms, the follow<strong>in</strong>g procedure is applied:Def<strong>in</strong>e |Ψ m<strong>in</strong>,λn(r)〉 as the many-electron wave function that m<strong>in</strong>imizes 〈 ̂T + λ ̂V ee 〉, while still yield<strong>in</strong>gthe ground-state density n(r). I.e. |Ψ m<strong>in</strong>,λn(r) 〉 is the ground state of the Hamiltonian ̂T + λ ̂V ee +v λ (r), where v λ (r) is some fictitious external potential adjusted such that 〈Ψ m<strong>in</strong>,λn(r)|ˆn|Ψm<strong>in</strong>,λ n(r)〉 = n(r)for all λ. At λ = 1, Ψ m<strong>in</strong>,1n(r)= Ψ m<strong>in</strong>n(r) is identical to the true physical wave function, and v λ = v ext= Φ m<strong>in</strong>n(r)equals the Slater determ<strong>in</strong>ant of KSis the true external potential, while at λ = 0, Ψ m<strong>in</strong>,0n(r)wave functions, and v λ = v s reduce to the KS potential. This is shown <strong>in</strong> figure 3.2.0 ≤ λ ≤ 1Ĥ = ̂T + λ ̂V ee + v λ (r)λ = 0 : The Kohn-Sham systemh ibT + ˆvs − E0KS |Φ m<strong>in</strong>n 〉 = 0λ = 1 : The ‘real’ systemhbT + b Vee + ˆv ext − E 0i|Ψ m<strong>in</strong>n 〉 = 0Figure 3.2: The adiabatic connection.Us<strong>in</strong>g these def<strong>in</strong>itions, (3.43) can be re-expressed asE xc [n] = 〈Ψ m<strong>in</strong>,λn(r)==∫ 10∫ 10dλ d| ̂T + λ ̂V∣ee |Ψ m<strong>in</strong>,λ 〉 ∣∣λ=1− 〈Ψ m<strong>in</strong>,λ | ̂T + λ ̂V∣ee |Ψ m<strong>in</strong>,λ 〉 ∣∣λ=0− U H [n]dλ 〈Ψm<strong>in</strong>,λ n(r)dλ〈Ψ m<strong>in</strong>,λn(r)n(r)n(r)| ̂T + λ ̂V ee |Ψ m<strong>in</strong>,λ 〉 − U H[n]n(r)|̂V ee |Ψ m<strong>in</strong>,λ 〉 − U H[n]n(r)n(r)(3.44)where <strong>in</strong> the last l<strong>in</strong>e the Hellmann-Feynman theorem has been applied.Us<strong>in</strong>g (2.16) and that the ground state density is identical for each system along the adiabatic<strong>in</strong>tegration path, we get:E xc [n] = 1 ∫∫drdr ′ n(r)¯n xc(r, r ′ )2|r − r ′ (3.45)|where¯n xc (r, r ′ ) =∫ 10dλ n λ xc(r, r ′ ) (3.46)is the coupl<strong>in</strong>g-constant averaged exchange-correlation hole.In the expression (3.45) the k<strong>in</strong>etic energy contribution has been subsumed by the coupl<strong>in</strong>gconstant<strong>in</strong>tegration of the exchange-correlation hole, otherwise the expression is identical to (3.43).Introduc<strong>in</strong>g u = r ′ − r, (3.45) can be re-expressed as:whereE xc [n] = 1 2∫∫drdr ′ n(r)¯n xc(r, r ′ )|r − r ′ |∫ n(r)dr〈¯n xc (u)〉 =N= N 2∫ ∞0du4πu 2 〈¯n xc (u)〉/u (3.47)∫ dû4π ¯n xc(r, r + u) (3.48)


3.3 <strong>Exchange</strong> and Correlation 23is the system averaged ( ∫ n(r)dr/N), spherically averaged ( ∫ dû/4π), and coupl<strong>in</strong>g-constant averaged(¯n xc = ∫ 10 dλnλ xc) exchange-correlation hole density. From this we see that only the radial partof the exchange-correlation hole is required for an accurate description of the exchange-correlationenergy. This expla<strong>in</strong>s <strong>in</strong> part the success of LDA xc-functionals, <strong>in</strong> their description of the totalenergy [59]. One must keep <strong>in</strong> m<strong>in</strong>d however, that the energy is only an <strong>in</strong>tegrated property,differential properties like the xc-potential, the response function, KS eigen-energies etc. are moredifficult to treat accurately.The exchange hole is def<strong>in</strong>ed by the λ = 0 limit of the coupl<strong>in</strong>g constant <strong>in</strong>tegration.n x (r, r ′ ) = n λ=0xc (r, r ′ ) (3.49)At this po<strong>in</strong>t, the wave function is just The KS Slater determ<strong>in</strong>ant, and the exchange hole can bedeterm<strong>in</strong>ed explicitly byn(r)n x (r, r ′ ) = ρ λ=02 (r, r ′ ) − n(r)n(r ′ )= 〈Φ m<strong>in</strong>n(r) |ˆρ 2|Φ m<strong>in</strong>n(r) 〉 − n(r)n(r′ )= − ∑ nn ′ f n f n ′φ ∗ n(r)φ n ′(r)φ ∗ n ′(r′ )φ n (r ′ )∑= −φ ∗∣n(r)φ n (r ′ )∣n2(3.50)The derivation follows almost exactly that given <strong>in</strong> appedix A for exact exchange. From thisexpression the exchange energy can also be recovered, asE x [n] = − 1 ∫∫drdr ′ n(r)n x(r ′ )2|r − r ′ = − 1 ∑∫∫f n f n ′ drdr ′ φ∗ n(r)φ n ′(r)φ ∗ n ′(r′ )φ n (r ′ )| 2|r − r ′ (3.51)|nn ′justify<strong>in</strong>g the def<strong>in</strong>ition of the exchange hole.From the last expression of (3.50) it follows that the exchange hole is negative:n x (r, r ′ ) ≤ 0 (3.52)and s<strong>in</strong>ce the sum rule (2.15) holds for all values of λ∫∫∫dr ′ n λ xc(r, r ′ ) = −1 ⇒ dr ′ n x (r, r ′ ) = −1 ⇒dr ′¯n λ c (r, r ′ ) = 0 (3.53)The connection between the two electron jo<strong>in</strong>t probability distribution ρ 2 (r, r ′ ) and the exchangecorrelationhole is (2.14):ρ 2 (r, r ′ ) = n(r) (n(r ′ ) + n xc (r, r ′ ))as this must be positive, see e.g. (2.11), it follows thatn xc (r, r ′ ) ≥ −n(r ′ )which from the <strong>in</strong>terpretation of the xc-hole as the change <strong>in</strong> the total density at r ′ due to plac<strong>in</strong>gan electron at r, can be regarded as as the constra<strong>in</strong>t the the hole cannot remove electrons thatare not there <strong>in</strong>itially.Example - The non-<strong>in</strong>teract<strong>in</strong>g Homogeneous Electron GasAs an example 2 of an exchange correlation hole, consider a non-<strong>in</strong>teract<strong>in</strong>g homogeneous electrongas. The eigenstates of this system are the plane waves φ kσn (rσ) = φ k (r)χ σn (σ), whereφ k (r) = exp(−ik · r)/V2 In this and the follow<strong>in</strong>g examples, sp<strong>in</strong> will be <strong>in</strong>cluded accord<strong>in</strong>g to the prescription of section 2.4.


©©©©©24 3. <strong>Density</strong> <strong>Functional</strong> TheoryIn this case, it can be shown thatn x (rσ, r ′¯σ) = 0n x (rσ, r ′ σ) = n x (R) = −9n2(k F R) 6 [s<strong>in</strong>(k F R) − k F R cos(k F R)] 2where n is the homogeneous total density, ¯σ is the sp<strong>in</strong> anti-parallel to σ, and R = |r − r ′ |. Thisfunction is shown <strong>in</strong> figure 3.3.¡¢nx / n£¤¥¡ ¢ £ ¤ ¥ ¦ § ¨k F · RFigure 3.3: The exchange hole of a homogeneous electron gasThe hole is entirely due to parallel sp<strong>in</strong> <strong>in</strong>teractions, as exchange does not correlate electronsof opposite sp<strong>in</strong>. The figure shows that if an electron is located at r the probability density off<strong>in</strong>d<strong>in</strong>g another <strong>in</strong> the same place is reduced n/2 = n(rσ), as all equal sp<strong>in</strong> electrons are completelyrepelled. For the true on-top xc-hole n xc (rσ, r¯σ) = −n(r¯σ) for the anti-parallel sp<strong>in</strong> also, as twoelectrons cannot occupy the same place (the Coulomb repulsion would be <strong>in</strong>f<strong>in</strong>ite).Example - The Hydrogen MoleculeAs a further example, the hydrogen molecule is considered <strong>in</strong> two limit<strong>in</strong>g cases.The λ = 1 limitWe cannot solve the <strong>in</strong>teract<strong>in</strong>g system exactly, but if we as an example consider the limit of a verylarge Hubbard U, i.e. strong repulsion between electrons <strong>in</strong> the same state, the true many particlestate will be the symmetrized product of the atomic orbital on one atom |1〉 with the atomic orbitalof the other atom |2〉. If we use the general rule for determ<strong>in</strong><strong>in</strong>g the exchange-correlation holen(ξ)n xc (ξ, ξ ′ ) = 〈Ψ|ˆn(ξ)ˆn(ξ ′ ) − δ(ξ − ξ ′ )ˆn(ξ)|Ψ〉 − n(ξ)n(ξ ′ ) (3.54)on this system, and resolve it <strong>in</strong> the basis of the two atomic orbitals <strong>in</strong>stead of Cartesian space,we getn(i)n xc (i, j) = 〈Ψ|ˆn(i)ˆn(j) − δ i,j ˆn(i)|Ψ〉 − n(i)n(j) = −δ i,j n(i)⇒ n xc (i, j) = −δ i,j (3.55)where it has been used that the ground state is an eigenstate of the number operator <strong>in</strong> statespace.From this, we see that if the probability of f<strong>in</strong>d<strong>in</strong>g an electron <strong>in</strong> state i given that there is one<strong>in</strong> state j is completely uncorrelated if i ≠ j, while it is completely repelled if i = j. This showsthe same k<strong>in</strong>d of localized xc-hole as for the non-<strong>in</strong>teract<strong>in</strong>g homogeneous electron gas, which canbe described accurately by a GGA approximation.


3.3 <strong>Exchange</strong> and Correlation 25The λ = 0 limitIn the λ = 0 limit the system is non-<strong>in</strong>teract<strong>in</strong>g, i.e. the xc-hole is a pure exchange hole. Theground state of the molecule is <strong>in</strong> this case the Slater determ<strong>in</strong>ant giv<strong>in</strong>g the b<strong>in</strong>d<strong>in</strong>g molecularorbital σ g , i.e. the determ<strong>in</strong>ant of the two statesφ 1 (rσ) = σ g (r)χ ↑ (σ)φ 2 (rσ) = σ g (r)χ ↓ (σ)(3.56)From the rule for Slater-determ<strong>in</strong>ant x-holes (3.50), we see that:n(rσ)n x (rσ, r ′ σ ′ ) = − ∑ nn ′ φ ∗ n(rσ)φ n ′(rσ)φ ∗ n ′(r′ σ ′ )φ n (r ′ σ) = −δ σσ ′|σ g (r)| 2 |σ g (r ′ )| 2⇒n x (rσ, r ′ σ) = −|σ g (r ′ )| 2It is seen that n x (rσ, r ′¯σ) = 0, (aga<strong>in</strong> this is true because Pauli repulsion only correlates electronsof parallel sp<strong>in</strong>). The sum rule (2.15) is satisfied s<strong>in</strong>ce∑∫∫∫dr ′ n x (rσ, r ′ σ ′ ) = dr ′ n x (rσ, r ′ σ) = − dr ′ |σ g (r ′ )| 2 = −1 (3.57)σ ′For the parallel sp<strong>in</strong> x-hole n x (rσ, r ′ σ) = −|σ g (r ′ )| 2 . This exchange hole is thus completelydelocalized <strong>in</strong> the sense that if we have an electron <strong>in</strong> r ′ , the probability of f<strong>in</strong>d<strong>in</strong>g one <strong>in</strong> r, withthe same sp<strong>in</strong>, is the same <strong>in</strong> all parts of space. Such a delocalized behavior of the xc-hole isimpossible to capture <strong>in</strong> any GGA approach.3.3.3 Hybrid <strong>Functional</strong>s: Rationale for Admixture of <strong>Exact</strong> <strong>Exchange</strong>From the adiabatic connection formula, it follows that the exchange-correlation energy can bedeterm<strong>in</strong>ed byE xc = 〈Ψ m<strong>in</strong>n(r) |̂V ee |Ψ m<strong>in</strong>n(r) 〉 − U H[n] + 〈Ψ m<strong>in</strong>n(r)} {{ }| ̂T |Ψ m<strong>in</strong>n(r) 〉 − 〈Φm<strong>in</strong> n(r) | ̂T |Φ m<strong>in</strong>n(r)} {{ }〉U xcT xc= U xc + T xc=∫ 10dλ U λ xcI.e. the k<strong>in</strong>etic part of the correlation energy can be <strong>in</strong>corporated <strong>in</strong>to a coupl<strong>in</strong>g constant <strong>in</strong>tegration,over systems with the scaled Coulomb <strong>in</strong>teraction λ/|r − r ′ |, <strong>in</strong> an external potentialdesigned such that the one electron density n(r) is held fixed.The potential xc-energy is related to the xc-hole density byU λ xc = 1 2∫∫drdr ′ n(r)nλ xc(r, r ′ )|r − r ′ |where the xc-hole is def<strong>in</strong>ed <strong>in</strong> terms of the pair density ρ λ 2 (r, r ′ ) byn λ xc(r, r ′ ) = ρλ 2 (r, r ′ )n(r)− n(r ′ )The λ = 0 end of the coupl<strong>in</strong>g constant <strong>in</strong>tegration is merely the pure exchange energy of theKS Slater determ<strong>in</strong>ant. Unfortunately density functional approximations (DFA) for the xc-holemodels this end of the <strong>in</strong>tegration quite poorly. This is seen <strong>in</strong> the example above for the hydrogenmolecule; <strong>in</strong> this case the x-hole was completely delocalized, offer<strong>in</strong>g little chance of be<strong>in</strong>g properlydescribed by a local or semi-local DFA. Accord<strong>in</strong>g to the authors of [42] there is also strong evidence


¤¡£¥ ¢¡§¦ ¢¡£¨ ¢¡£© ¡£¢¡£26 3. <strong>Density</strong> <strong>Functional</strong> Theorythat the problems of GGA’s <strong>in</strong> describ<strong>in</strong>g multiply-bonded molecules are primarily due to theimproper description of the exchange (λ = 0) limit. On the other hand, <strong>in</strong> the fully <strong>in</strong>teract<strong>in</strong>gend of the <strong>in</strong>tegration λ = 1, the <strong>in</strong>clusion of correlation effects tends to make the xc-hole deeperand more localized [1].The orig<strong>in</strong>al idea of a hybrid functional proposed by Becke <strong>in</strong> [45] and further developed<strong>in</strong> his series on density-functional thermochemistry [46, 47, 48, 49] was to make a two po<strong>in</strong>tapproximation of the coupl<strong>in</strong>g constant <strong>in</strong>tegrationE xc =∫ 10dλ U λ xc ≈ 1 2(Uλ=0xc + Uxcλ=1 ) 1 (= Eexactx + 122 U xcλ=1 )us<strong>in</strong>g the exact expression <strong>in</strong> the λ = 0 limit, and a local DFA for Uxcλ=1 . Us<strong>in</strong>g his half-and-halfhybrid with a Hartree-Fock calculation for the the exchange limit, and the local sp<strong>in</strong> density (LSD)approximation for the <strong>in</strong>teract<strong>in</strong>g limit, he maneged to predict better atomization energies thanmost GGA’s of the time.A more sophisticated procedure, proposed by Perdew,Ernzerhof, and Burke [42], is to assume that the hybrid functionalhas the coupl<strong>in</strong>g-constant dependence¡£U hybxc,λ = U xc,λ DFA + (Exexact − Uxc,λ DFA )(1 − λ) n−1where n ≥ 1 is an <strong>in</strong>teger. This hybrid has the exact formExexact <strong>in</strong> the exchange limit, and reduces to the DFA <strong>in</strong> the<strong>in</strong>teract<strong>in</strong>g limit, where the hole is more correctly describedby a local DFA. The suggested functional form is shown <strong>in</strong>figure 3.4.This form implies the hybrid functionalDFAx c, )exact EDFAx c, )/(E xEhybxc,(E¢¡§©¢¡§¨¢¡§¦¢¡§¥E hybxc =∫ 10dλ U hybxc,λ = EDFA xc + 1 n (Eexact x − Exc DFA )From this it is then argued from a perturbation theory argument[42], why n = 4 should be the optimal choice formolecules and <strong>in</strong>sulat<strong>in</strong>g solids.¢¡§Figure 3.4: The coupl<strong>in</strong>g constant dependenceof the hybrid functionalHybrid functionals us<strong>in</strong>g 1/4 mix<strong>in</strong>g of exact exchange have been termed ACM0 models, <strong>in</strong>dicat<strong>in</strong>gthat it is an adiabatic-connection-method with 0 empirical parameters. Hybrid functionals<strong>in</strong>clud<strong>in</strong>g an amount of exact exchange fitted to a data base are denoted ACM1, and hybrids mix<strong>in</strong>gdifferent amounts of exact exchange, DFA exchange and DFA correlation, such as the popularB3LYP, are denoted ACM3 functionals. The PBE0 functional (mix<strong>in</strong>g 25% exact exchange withthe PBE functional) has been tested thoroughly <strong>in</strong> the papers [43, 44] for molecules, and <strong>in</strong> [37] forsolids. The verdict is that that <strong>in</strong>clusion of exact exchange has a beneficial effect on bond lengthsand atomization energies of molecules. For <strong>in</strong>sulat<strong>in</strong>g solids lattice constants and bulk moduli areimproved, but the atomization energies are made worse. <strong>Exact</strong> exchange improves band gaps andeigenvalue spectra for most <strong>in</strong>sulat<strong>in</strong>g systems, but shows large over-corrections for metals.


Chapter 4Extended SystemsAlthough we have seen <strong>in</strong> the preced<strong>in</strong>g chapter that the problem of solv<strong>in</strong>g the Schröd<strong>in</strong>gerequation for N <strong>in</strong>teract<strong>in</strong>g electrons can be reduced to solv<strong>in</strong>g N non-<strong>in</strong>teract<strong>in</strong>g s<strong>in</strong>gle particleKS equations, this is still an immense task for large systems.A very useful simplification can be made <strong>in</strong> the case of periodic systems, by the application ofBloch’s theorem described <strong>in</strong> the follow<strong>in</strong>g section. Bloch theory is essential for the descriptionof <strong>in</strong>f<strong>in</strong>itely periodic systems, which <strong>in</strong> pr<strong>in</strong>ciple requires solv<strong>in</strong>g the KS equation <strong>in</strong> an <strong>in</strong>f<strong>in</strong>itelylarge doma<strong>in</strong> for an <strong>in</strong>f<strong>in</strong>ity of states. In this case, the Bloch representation of the states, requiresonly that the KS equation is solved with<strong>in</strong> the unit cell of the system, and only for a representativeset of states.4.1 Bloch TheoryBloch theory is applicable for non-<strong>in</strong>teract<strong>in</strong>g systems (i.e. systems that can be described by s<strong>in</strong>gleparticle eigenstates), <strong>in</strong> static potentials. The theorem states that if the considered system has atranslational symmetry, i.e. the (static) potential v, satisfy the relation v(r) = v(r + R) for allBravais lattice vectors R, then the set of s<strong>in</strong>gle particle eigenstates {ψ n }, can be represented bya different set of (Bloch) states, {ψ n,k }, satisfy<strong>in</strong>g the follow<strong>in</strong>g two equivalent formulations ofBloch’s theorem:ψ n,k (r + R) = e ik·R ψ n,k (r)ψ n,k (r) = e ik·r u n,k (r)(4.1a)(4.1b)Where u n,k (r) is a function with the same periodicity as the lattice, i.e. u n,k (r) = u n,k (r + R).For the Bloch states, the k <strong>in</strong>dex is termed the Bloch wave vector or crystal momentum, and nthe band <strong>in</strong>dex. Which of the two formulations (4.1a) and (4.1b) is more convenient, depends onthe choice of basis set.S<strong>in</strong>ce two Bloch wave vectors differ<strong>in</strong>g by a reciprocal lattice vector are equivalent, we onlyneed to consider vectors with<strong>in</strong> the first Brillou<strong>in</strong> zone (BZ), which is just the Wigner-Zeitz cell ofthe reciprocal lattice. Thus the range of k vectors is <strong>in</strong>versely proportional to the size of the unitcell. The spectrum of wave vectors is given by the boundary conditions on the edge of the crystal.Periodic or Dirichlet conditions both imply an <strong>in</strong>teger number of waves <strong>in</strong> the crystal. The densityof k states is thus directly propotional to the volume of the crystal. In total, the number of kstates, N k , is identical to the total number of unit cells <strong>in</strong> the crystal, and the number of occupiedbands at each k po<strong>in</strong>t, is on average equal to the number of electrons per unit cell, although itcan vary slightly between k-po<strong>in</strong>ts.The total number of occupied states is, and must obviously be, identical for both Bloch andnon-Bloch representation, i.e. equal to the total number of electrons, so <strong>in</strong> this regard, not muchhave been ga<strong>in</strong>ed, but the Bloch representation actually represents several simplifications.27


28 4. Extended SystemsThe first is that two states hav<strong>in</strong>g almost the same k <strong>in</strong>dex are very similar, justify<strong>in</strong>g that thestates are only calculated for a representative number of k-po<strong>in</strong>ts with<strong>in</strong> the first BZ. Especially for<strong>in</strong>f<strong>in</strong>itely periodic systems there are an <strong>in</strong>f<strong>in</strong>ity of occupied states, which <strong>in</strong> the Bloch representationtranslates to a cont<strong>in</strong>uum of k-values, but still only a f<strong>in</strong>ite number of occupied bands for eachk po<strong>in</strong>t. Calculat<strong>in</strong>g an observable, e.g. the total energy, for an <strong>in</strong>f<strong>in</strong>ite or f<strong>in</strong>ite periodic systemthus amounts to pick<strong>in</strong>g a representative set of k vectors, solv<strong>in</strong>g the Kohn-Sham equation for the(few) occupied bands, and mak<strong>in</strong>g an appropriate average over the k vectors.Many different schemes for pick<strong>in</strong>g a representative set of k po<strong>in</strong>ts exists, see e.g. ref. [23, 24].An additional feature of the Bloch representation is that symmetry properties of the unit cellgreatly reduce the number of dist<strong>in</strong>ct k vectors. The only k vectors needed are those of theirreducible BZ, which is usually only a fraction of the BZ <strong>in</strong> size; existence of a mirror symmetryfor example reduces the BZ by a factor of two.The Bloch representation also implies a reduction of the basis set necessary for represent<strong>in</strong>gthe wave functions, as will be demonstrated <strong>in</strong> the follow<strong>in</strong>g section.4.2 Basis Sets and Boundary ConditionsS<strong>in</strong>ce the Kohn-Sham equations are second order differential equations, two sets of l<strong>in</strong>early <strong>in</strong>dependentboundary conditions (BC’s) must be specified.The appropriate BC’s depend on the the nature of the considered system.Pla<strong>in</strong> WavesThe advantage of Bloch’s theorem, when us<strong>in</strong>g pla<strong>in</strong> wave basis sets, is that the function u n,k (r)of (4.1b) is cell-periodic, and as such can be represented by the discrete expansionu n,k (r) = ∑ Gc n,k+G · e iG·r ⇒ ψ n,k (r) = ∑ Gc n,k+G · e i(k+G)·r (4.2)where the G’s are reciprocal lattice vectors (i.e. G · R = 2πp, p ∈ Z). In pr<strong>in</strong>ciple the expansion(4.2) requires an <strong>in</strong>f<strong>in</strong>ite sum, but the low energy (small G values) terms will typically be dom<strong>in</strong>ant,so <strong>in</strong> practice the expansion is truncated beyond some large G. Had Bloch’s theorem not beenapplied, a plane wave expansion would have to be cont<strong>in</strong>uous and would therefore require an<strong>in</strong>f<strong>in</strong>ite basis set despite the truncation of the expansion.Us<strong>in</strong>g plane waves as an expansion results <strong>in</strong> the particularly simple secular version of theKohn-Sham equation∑ [ 12 |k + G′ | 2 δ GG ′ + VG−G eff ] ′ cn,k+G ′ = ɛ n · c n,k+G (4.3)G ′where VGeff are the expansion coefficients of V eff(r). The term <strong>in</strong> square brackets represents theHamiltonian matrix H k+G,k+G ′. A nice feature is that the k<strong>in</strong>etic terms are diagonal. For largeG ′ vectors, the k<strong>in</strong>etic energy E k<strong>in</strong> = 1 2 |k + G′ | 2 will dom<strong>in</strong>ate, and the truncation of the planewave expansion, is usually done by choos<strong>in</strong>g a cutoff energy E c = 1 2 |k + G c| 2 , beyond which allterms of (4.3) are truncated. The size of the Hamiltonian matrix is thus (slightly) k dependent.Real Space GridsOne can also choose to represent the wave functions on real space grids. When us<strong>in</strong>g this representation,one works directly with the (non-periodic) Bloch states ψ n,k , utiliz<strong>in</strong>g eq. (4.1a) to obta<strong>in</strong>the appropriate BC’s:e ik·R ψ n,k (r) = ψ n,k (r + R)e ik·Rˆn(r) · ∇ψ n,k (r) = −ˆn(r + R) · ∇ψ n,k (r + R)(4.4a)(4.4b)


4.2 Basis Sets and Boundary Conditions 29where ˆn(r) is the (outward) unit normal of the cell boundary at r.Hav<strong>in</strong>g specified the two BC’s (4.4), the KS equations only have to be solved <strong>in</strong> between, i.e. <strong>in</strong>a s<strong>in</strong>gle unit cell. Had Bloch’s theorem not been applied, one would have to solve the KS equation<strong>in</strong> the entire doma<strong>in</strong> of the crystal.While the k<strong>in</strong>etic energy was diagonal <strong>in</strong> the pla<strong>in</strong> wave representation, the effective KS potentialis diagonal <strong>in</strong> real space (if it is local, i.e. the HF potential is not diagonal <strong>in</strong> real spaceeither).Isolated SystemsChoos<strong>in</strong>g a plane wave basis set for the representation of the wave functions requires the applicationof periodic (Born-Von Karman) boundary conditions, thus <strong>in</strong> practice mak<strong>in</strong>g any system <strong>in</strong>f<strong>in</strong>itelyperiodic. This is the natural boundary conditions for solids. For isolated systems, e.g. molecules,the appropriate choice is Dirichlet boundary conditions. When us<strong>in</strong>g pla<strong>in</strong> waves, Dirichlet boundaryconditions can be obta<strong>in</strong>ed by embedd<strong>in</strong>g the system <strong>in</strong> a sufficiently large super-cell, suchthat the wave functions are essentially zero, and has zero gradient, at the boundaries. In this casethere will be no difference between the wave functions for different k values, and typically onlythe Γ po<strong>in</strong>t (k = (0, 0, 0)) is chosen.Enforc<strong>in</strong>g Dirichlet BC’s <strong>in</strong> real space is not a problem, which is one of the strengths of realspace basis sets. Actually one has the freedom to choose more exotic BC’s like e.g. chiral boundaryconditions, mak<strong>in</strong>g it possible to represent for example nanotubes with a m<strong>in</strong>imal unit cell.To represent an isolated system correctly, the unit cell must be big enough that the potential is(practically) zero at the boundaries. As the decay of potentials is generally quite slow, this impliesthe use of very large cells. In real space, one can do a multipole expansion of the density, anduse these to enforce the correct boundary conditions, thus reduc<strong>in</strong>g the m<strong>in</strong>imal unit cell to onecompletely conta<strong>in</strong><strong>in</strong>g the density (which decays must faster than the potential). This procedurealso allows one to handle charged systems efficiently, which is non-trivial when us<strong>in</strong>g pla<strong>in</strong> waves,as a non-zero charge per unit cell <strong>in</strong> this case implies an <strong>in</strong>f<strong>in</strong>ite charge <strong>in</strong> the system (see section8.3.1).


Chapter 5Orbital Dependent <strong>Functional</strong>s5.1 Direct <strong>Functional</strong> DerivativeThe Non-local Hartree-Fock PotentialIf one tries to use the usual trick f iˆvφ i (r) =exact exchange energy expression∑∫∫E x = − 1 2f i f jone arrives at the non-local Fock potential operator ˆv NLxijδEδφ ∗ i (r) to obta<strong>in</strong> the potential ˆv x correspond<strong>in</strong>g to thedrdr ′ φ∗ i (r)φ j(r)φ ∗ j (r′ )φ i (r ′ )|r − r ′ |def<strong>in</strong>ed by(5.1)δE xδφ ∗ i (r) = f iˆv NLx φ i (r) (5.2)Resolv<strong>in</strong>g the exchange operator <strong>in</strong> a basis, it can be considered either a non-local potential <strong>in</strong>real space, vxNL (r, r ′ ), or <strong>in</strong> state space, vij NL:∫ˆv x NL φ i (r) = dr ′ vxNL (r, r ′ )φ i (r ′ ) = ∑ f j vij NL (r)φ j (r) (5.3)jwith the two potentials given byvxNL (r, r ′ ) = − ∑ j∫vijNL (r) = −f jφ j (r)φ ∗ j (r′ )|r − r ′ |dr ′ φ∗ j (r′ )φ i (r ′ )|r − r ′ |(5.4a)(5.4b)The total energy can be expressed <strong>in</strong> terms of the potential operator as∑∫∑E x = 1 2f i drφ ∗ i (r)ˆv x NL φ i (r) = 1 2f i 〈i|ˆv x NL |i〉 (5.5)One can also def<strong>in</strong>e an exchange energy densityvx Sla (r) = 1 ∑∫f i f j dr ′ φ∗ i (r)φ j(r)φ ∗ j (r′ )φ i (r ′ )n(r)|r − r ′ |ijii= 1n(r)∑if i φ ∗ i (r)ˆv NLx φ i (r) (5.6)which for historic reasons is termed the Slater potential [60]. In terms of this, the total exchangeenergy is∫E x = 1 2drn(r)vx Sla (r) (5.7)31


32 5. Orbital Dependent <strong>Functional</strong>sIn the Kohn-Sham scheme, the exchange-correlation potential is required to be local, so for <strong>in</strong>clusionof exact exchange <strong>in</strong> this scheme, different methods for obta<strong>in</strong><strong>in</strong>g the (local) exchangepotential must be applied. In the hybrid HF-KS schemes, described <strong>in</strong> section 3.2.1, the nonlocalityof the exchange potential is not a problem, but this method redef<strong>in</strong>es the nature of thecorrelation functional, thus mak<strong>in</strong>g the well established and thoroughly tested correlation functionalsof KS theory unusable. In reality the difference between KS and HF-KS correlation functionalscan be argued to be small (see section 3.2.2), and us<strong>in</strong>g non-local exchange potentials with KScorrelation potentials is the standard way of do<strong>in</strong>g exact exchange <strong>in</strong> e.g. Gaussian and Vasp.The follow<strong>in</strong>g sections describe different procedures for obta<strong>in</strong><strong>in</strong>g local potentials from generalorbital dependent energy functionals.5.2 Optimized Effective PotentialThe optimized effective potential (OEP) method, also known as the optimized potential method(OPM) provides the procedure for construct<strong>in</strong>g a multiplicative potential from an arbitrary statedependent energy functional. The f<strong>in</strong>al equation states that the exchange correlation potential canbe found as the solution of an <strong>in</strong>tegral equation <strong>in</strong>volv<strong>in</strong>g summations over all (occupied as wellas unoccupied) states, mak<strong>in</strong>g the method cumbersome to handle numerically. The method canbe used both as a method for mak<strong>in</strong>g very accurate descriptions of potentials, or as the start<strong>in</strong>gpo<strong>in</strong>t for mak<strong>in</strong>g numerically faster approximations. A few such methods will be discussed <strong>in</strong> thefollow<strong>in</strong>g sections.The start<strong>in</strong>g po<strong>in</strong>t is to apply the cha<strong>in</strong>-rule of functional derivative’s twicev(r) = δE[{φ}] = ∑ ∫ ∫ [dr ′ dr ′′ δE δφ i (r ′′ ])δn(r)δφii (r ′′ ) δv s (r ′ ) + c.c. δvs (r ′ )(5.8)δn(r)where the sum is over all states i, although it can be restricted to occupied orbitals if E onlydepends on occupied orbitals (s<strong>in</strong>ce then δE/δφ i (r ′′ ) is zero for all the unoccupied orbitals).The termδEδφ i(r)is easily evaluated for an explicitly orbital dependent functional. The functionalderivative δφ i (r ′′ )/δv s (r ′ ) is a first-order quantity, and as such can be evaluated exactly us<strong>in</strong>g firstorder perturbation theoryδφ i (r ′′ )δv s (r ′ ) = φ∗ i (r ′ )G i (r ′ , r ′′ ) (5.9)with the Green’s functionG i (r, r ′ ) = ∑ j≠iφ j (r)φ ∗ j (r′ )ɛ i − ɛ j(5.10)The last rema<strong>in</strong><strong>in</strong>g functional derivative δv s (r ′ )/δn(r) is the <strong>in</strong>verse of the response function,χ s (r ′ , r), which for a system of non-<strong>in</strong>teract<strong>in</strong>g electrons isχ s (r, r ′ ) = δn(r)δv s (r ′ ) = ∑ if i φ ∗ i (r)G i (r, r ′ )φ i (r ′ ) + c.c. (5.11)Act<strong>in</strong>g with the response function on both sides of (5.8) , and collect<strong>in</strong>g the terms, yields the<strong>in</strong>tegral equation∑∫f i dr ′ φ ∗ i (r)G i (r, r ′ ) ( v(r ′ ) − ˆv NL) φ i (r ′ ) + c.c. = 0 (5.12)iwith the, possibly but not necessarily, non-local potential ˆv NL def<strong>in</strong>ed byf iˆv NL φ i (r) =δEδφ ∗ i (r) (5.13)


5.3 Approximations to the Optimized Potential Method 33If the energy functional also depend on the KS eigenvalues, there would be an additional termδɛ i ∂E= ∑ i |φ i(r)| 2 ∂E/∂ɛ i on the right hand side of (5.12). The part∑iδv s(r) ∂ɛ i∫dr ′ G i (r, r ′ ) ( v(r ′ ) − ˆv NL) φ i (r ′ )is sometimes denoted the orbital shift ψ i (r) [64]. It is the first order shift of the orbitals with thelocal potential, towards those with the non-local potential. In terms of the orbital shifts, the OEPequation is ∑ i f iψ ∗ i (r)φ i(r) + c.c. = 0.The OEP equation (5.12) is quite difficult to solve numerically. First of all it is an <strong>in</strong>tegralequation, and secondly the summation <strong>in</strong> the Green’s function (5.10) run over all states, occupied aswell as unoccupied. The denom<strong>in</strong>ator of the Green’s function will obviously <strong>in</strong>crease monotonically,so highly excited states becomes less important, but <strong>in</strong> practice a large number of unoccupiedstates have to be <strong>in</strong>cluded to obta<strong>in</strong> convergence. The difficulties of solv<strong>in</strong>g the <strong>in</strong>tegral equationis illustrated by the fact that it has so far only been solved directly for spherically averaged isolatedatoms.5.3 Approximations to the Optimized Potential MethodIn the Krieger-Li-Iafrate (KLI) approximation [57], the energy difference <strong>in</strong> the denom<strong>in</strong>ator ofthe Green’s function is approximated by a constants ɛ l − ɛ k = ∆¯ɛ. Us<strong>in</strong>g the closure relation∑i φ i(r)φ i (r ′ ) = δ(r−r ′ ) the Green’s function thus becomes G i (r, r ′ ) ≈ (δ(r−r ′ )−φ i (r)φ ∗ i (r′ ))/∆¯ɛ.When this is done, the actual value of the constant disappears, and the result<strong>in</strong>g equations arev(r) = 1 ∑f i φ ∗ i (r) ( 〈i|ˆv − ˆv NL |i〉 + ˆv NL) φ i (r) + c.c.2n(r)i= 1 ∑ [f i φ∗n(r)i (r)ˆv NL φ i (r) + |φ i (r)| 2 〈i|ˆv − ˆv NL |i〉 ] (5.14)iwhere∫〈i|ˆv − ˆv NL |i〉 =drφ ∗ i (r) ( v(r) − ˆv NL) φ i (r) (5.15)The approximation of a constant energy denom<strong>in</strong>ator <strong>in</strong> G i (r, r ′ ) might seem crude, but it turnsout that the exact same equation can be derived us<strong>in</strong>g a mean-field approximation (the onlyapproximation done is neglect<strong>in</strong>g a term which when averaged over the density is zero).For the exact exchange potential, the KLI equation can be written asv x (r) = vxSla (r) + ∑ i|φ i (r)| 2f i 〈i|ˆv x − ˆv x NL |i〉 (5.16)n(r)A different approximation of the OEP equation for exact exchange can be reached, by assum<strong>in</strong>gthat the orbitals of HF and exact exchange only DFT are identical. This approximation leads tothe equationv x (r) = vxSla (r) + ∑ ijφ ∗ if i f (r)φ j(r)j 〈j|ˆv x − ˆv x NL |i〉 (5.17)n(r)which is known as the localized Hartree-Fock (LHF) method [51].The equations (5.16) and (5.17) only def<strong>in</strong>e the potential to with<strong>in</strong> a constant. The usualasymptotic behavior v x (r → ∞) = 0 is recovered if one neglects the HOMO term <strong>in</strong> the summationof (5.16) or the HOMO-HOMO term of (5.17).S<strong>in</strong>ce v(r) appears on both sides of the KLI equation (5.14), the potential has to be determ<strong>in</strong>edby a self-consistent approach <strong>in</strong> general. In the case of exact exchange one can derive a set ofl<strong>in</strong>ear equations determ<strong>in</strong><strong>in</strong>g the constants 〈i|ˆv|i〉, thus mak<strong>in</strong>g it possible to solve (5.16) <strong>in</strong> oneevaluation.


34 5. Orbital Dependent <strong>Functional</strong>sBesides KLI, and LHF there exists several other ways of determ<strong>in</strong><strong>in</strong>g approximations of thelocal exchange potential, see e.g. [54, 52] for nice reviews, or [50, 53] for specific methods. Recently(2003) Perdew and Kümmel proposed an iterative approach for solv<strong>in</strong>g the OEP equation [55, 56].Start<strong>in</strong>g from e.g. the KLI potential, they claim that a converged solution of the OEP equationcan be reached with<strong>in</strong> 4-5 iterations of their scheme. This makes the OEP potential obta<strong>in</strong>able forpractical calculations, and has even revealed some surpris<strong>in</strong>g behaviors of the exact OEP potentialon nodal surfaces of the HOMO orbital.5.4 Screened <strong>Exchange</strong>A fundamental problem with <strong>in</strong>clud<strong>in</strong>g exact exchange <strong>in</strong>stead of the local approximations <strong>in</strong> thexc-functional, is that it is <strong>in</strong>compatible with local correlation approximations. Because of thesuccess of local xc-functionals, we know that there must be a large degree of cancellation betweenthe long range effects of exchange and correlation. This can not be exploited when us<strong>in</strong>g a nonlocalexchange functional and a local correlation functional. This problem can either be resolved bymak<strong>in</strong>g a proper non-local approximation for the correlation, or to screen the exchange, such that itbecomes local. The last procedure is obviously the simplest way of handl<strong>in</strong>g the problem, althoughit will remove some of the required features of exact exchange, i.e. the self-<strong>in</strong>teraction correctionis no longer complete, the 1/r decay of the exchange potential is no longer captured correctly,etc. Nevertheless functionals us<strong>in</strong>g screened exchange, seems to perform remarkably better thanord<strong>in</strong>ary exact exchange calculations <strong>in</strong> a wide range of areas. In addition, the computational costof evaluat<strong>in</strong>g exact exchange is improved by screen<strong>in</strong>g, as fewer k po<strong>in</strong>ts are needed for convergence,and <strong>in</strong> calculations us<strong>in</strong>g localized basis sets, the locality can be exploited to neglect the exchange<strong>in</strong>tegrals <strong>in</strong>volv<strong>in</strong>g states which are distant <strong>in</strong> space.The most successful implementation of screened exchange, is that of Heyd, Scuseria, andErnzerhof [38, 39]. In their approach, the Coulomb kernel is decomposed <strong>in</strong> a short range (SR)and a long range (LR) part us<strong>in</strong>g the errorfunction:1r = erfc(ωr) + erf(ωr)} {{r} } {{r}SRLRwhere ω is an adjustable screen<strong>in</strong>g length. Next, the hybrid methodE GGAx→ aE exactx+ (1 − a)E GGAxis only performed on the short ranged part of the separated xc-functionalE HSExcexact, SR= aExGGA, SR+ (1 − a)ExGGA, LR+ Ex+ EcGGAthis method reduces to the orig<strong>in</strong>al GGA <strong>in</strong> the ω → ∞ limit, and the hybrid version <strong>in</strong> the ω = 0limit. The only complication is that <strong>in</strong> order to screen the Coulomb kernel of the GGA exchangefunctional, it has to be put <strong>in</strong> the form∫Ex GGA =∫drn(r)dr ′ nGGA xc (r, r ′ )|r − r ′ |such that there is a potential which can be screened. This is not necessarily the standard formof the considered GGA functional, so further approximations has to be made, i.e. numericalexpansions of the analytic form of the functional. The authors have applied their method to thePBE functional, and the result<strong>in</strong>g functional is called HSE03. This screened hybrid functional hasbeen tested extensively <strong>in</strong> the articles [40, 41], and shown to give good results.


5.5 Conclusion 355.5 ConclusionTo <strong>in</strong>clude exact exchange self-consistently <strong>in</strong> the SCF, one must <strong>in</strong> some way have access tothe exchange potential. In the hybrid HF-KS schemes of section 3.2.1, the exchange potential issimply the non-local Fock potential of Hartree-Fock theory, this however redef<strong>in</strong>es the nature ofthe correlation functional, mak<strong>in</strong>g established approximations less usable. In Kohn-Sham theory,the exchange-correlation potential must be a local multiplicative potential. Construct<strong>in</strong>g a localpotential from an orbital dependent functional is a quite complicated, i.e. computationally timeconsum<strong>in</strong>g, process and approximations are needed to make the approach feasible <strong>in</strong> practice. Constructionof the local exchange potential can be achieved at several levels, climb<strong>in</strong>g the follow<strong>in</strong>gladder of accuracy (and complexity):• Slater potential: v x (r) = vxSla (r)• KLI: v x (r) = v Slax• LHF: v x (r) = v Slax(r) + ∑ i f i|φ i (r)| 2 〈i|ˆv x − ˆv NL |i〉/n(r)(r) + ∑ ij f if j φ ∗ i (r)φ j(r)〈j|ˆv x − ˆv xNL |i〉/n(r))φi (r ′ ) + c.c. = 0• OEP: ∑ i f i∫dr ′ φ ∗ i (r)G i(r, r ′ ) ( v x (r ′ ) − ˆv NLxwhere the OEP level can also be reached by an iterative scheme from one of the lower rungs ofthe ladder [55].x


Chapter 6Projector Augmented WaveMethodBy the requirement of orthogonality, the wave functions have very sharp features close to the core,as all the states are non-zero <strong>in</strong> this region. Further out only the valence states are non-zero,result<strong>in</strong>g <strong>in</strong> much smoother wave functions <strong>in</strong> this region. The oscillatory behavior <strong>in</strong> the coreregions, requires a very large set of plane waves, or equivalently a very f<strong>in</strong>e grid, to be describedcorrectly. One way of solv<strong>in</strong>g this problem is the use of pseudopotentials <strong>in</strong> which the collectivesystem of nuclei and core electrons are described by an effective, much smoother, potential. TheKS equations are then solved for the valence electrons only. The pseudopotentials are constructedsuch that the correct scatter<strong>in</strong>g potential is obta<strong>in</strong>ed beyond a certa<strong>in</strong> radius from the core. Thismethod reduces the number of wave functions to be calculated, s<strong>in</strong>ce the pseudo potentials onlyhave to be calculated and tabulated once for each type of atom, so that only calculations onthe valence states are needed. It justifies the neglect of relativistic effects <strong>in</strong> the KS equations,s<strong>in</strong>ce the valence electrons are non-relativistic (the pseudopotentials describ<strong>in</strong>g core states are ofcourse constructed with full consideration of relativistic effects). The technique also removes theunwanted s<strong>in</strong>gular behavior of the ionic potential at the lattice po<strong>in</strong>ts.The drawback of the method is that all <strong>in</strong>formation on the full wave function close to the nucleiis lost. This can <strong>in</strong>fluence the calculation of certa<strong>in</strong> properties, such as hyperf<strong>in</strong>e parameters, andelectric field gradients. Another problem is that one has no before hand knowledge of when theapproximation yields reliable results.A different approach is the augmented-plane-wave method (APW), <strong>in</strong> which space is divided<strong>in</strong>to atom-centered augmentation spheres <strong>in</strong>side which the wave functions are taken as some atomlikepartial waves, and a bond<strong>in</strong>g region outside the spheres, where some envelope functions aredef<strong>in</strong>ed. The partial waves and envelope functions are then matched at the boundaries of thespheres.A more general approach is the projector augmented wave method (PAW) presented here, whichoffers APW as a special case [26], and the pseudopotential method as a well def<strong>in</strong>ed approximation[58]. The PAW method was first proposed by Blöchl <strong>in</strong> 1994 [25].6.1 The Transformation OperatorThe features of the wave functions, are very different <strong>in</strong> different regions of space. In the bond<strong>in</strong>gregion it is smooth, but near the nuclei it displays rapid oscillations, which are very demand<strong>in</strong>gon the numerical representation of the wave functions. To address this problem, we seek a l<strong>in</strong>eartransformation ˆT which takes us from an auxiliary smooth wave function | ˜ψ n 〉 to the true allelectron Kohn-Sham s<strong>in</strong>gle particle wave function |ψ n 〉|ψ n 〉 = ˆT | ˜ψ n 〉 (6.1)37


38 6. Projector Augmented Wave Methodwhere n is the quantum state label, conta<strong>in</strong><strong>in</strong>g a k <strong>in</strong>dex, a band <strong>in</strong>dex, and a sp<strong>in</strong> <strong>in</strong>dex.This transformation yields the transformed KS equationsˆT † Ĥ ˆT | ˜ψ n 〉 = ɛ n ˆT† ˆT | ˜ψn 〉 (6.2)which needs to be solved <strong>in</strong>stead of the usual KS equation. Now we need to def<strong>in</strong>e ˆT <strong>in</strong> a suitableway, such that the auxiliary wave functions obta<strong>in</strong>ed from solv<strong>in</strong>g (6.2) becomes smooth.S<strong>in</strong>ce the true wave functions are already smooth at a certa<strong>in</strong> m<strong>in</strong>imum distance from the core,ˆT should only modify the wave function close to the nuclei. We thus def<strong>in</strong>eˆT = 1 + ∑ aˆT a (6.3)where a is an atom <strong>in</strong>dex, and the atom-centered transformation, ˆT a , has no effect outside acerta<strong>in</strong> atom-specific augmentation region |r − R a | < rc a . The cut-off radii, rca should be chosensuch that there is no overlap of the augmentation spheres.Inside the augmentation spheres, we expand the true wave function <strong>in</strong> the partial waves φ a i ,and for each of these partial waves, we def<strong>in</strong>e a correspond<strong>in</strong>g auxiliary smooth partial wave ˜φ a i ,and require that|φ a i 〉 = (1 + ˆT a )| ˜φ a i 〉 ⇔ ˆT a | ˜φ a i 〉 = |φ a i 〉 − | ˜φ a i 〉 (6.4)for all i, a. This completely def<strong>in</strong>es ˆT , given φ and ˜φ.S<strong>in</strong>ce ˆT a should do noth<strong>in</strong>g outside the augmentation sphere, we see from (6.4) that we mustrequire the partial wave and its smooth counterpart to be identical outside the augmentationsphere∀a, φ a i (r) = ˜φ a i (r), for r > rcawhere φ a i (r) = 〈r|φa i 〉 and likewise for ˜φ a i .If the smooth partial waves form a complete set <strong>in</strong>side the augmentation sphere, we can formallyexpand the smooth all electron wave functions as| ˜ψ n 〉 = ∑ iP a ni| ˜φ a i 〉, for |r − R a | < r a c (6.5)where Pni a are some, for now, undeterm<strong>in</strong>ed expansion coefficients.S<strong>in</strong>ce |φ a i 〉 = ˆT | ˜φ a i 〉 we see that the expansion|ψ n 〉 = ˆT | ˜ψ n 〉 = ∑ iP a ni|φ a i 〉, for |r − R a | < r a c (6.6)has identical expansion coefficients, Pni a .As we require ˆT to be l<strong>in</strong>ear, the coefficients Pni a must be l<strong>in</strong>ear functionals of | ˜ψ n 〉, i.e.∫Pni a = 〈˜p a i | ˜ψ n 〉 = dr˜p a∗i (r − R a ) ˜ψ n (r) (6.7)where |˜p a i 〉 are some fixed functions termed smooth projector functions.As there is no overlap between the augmentation spheres, we expect the one center expansionof the smooth all electron wave function, | ˜ψ n〉 a = ∑ i | ˜φ a i 〉〈˜pa i | ˜ψ n 〉 to reduce to | ˜ψ n 〉 itself <strong>in</strong>side theaugmentation sphere def<strong>in</strong>ed by a. Thus, the smooth projector functions must satisfy∑| ˜φ a i 〉〈˜p a i | = 1 (6.8)<strong>in</strong>side each augmentation sphere. This also implies thati〈˜p a i 1| ˜φ a i 2〉 = δ i1,i 2, for |r − R a | < r a c (6.9)


6.1 The Transformation Operator 39i.e. the projector functions should be orthonormal to the smooth partial waves <strong>in</strong>side the augmentationsphere. There are no restrictions on ˜p a i outside the augmentation spheres, so for conveniencewe might as well def<strong>in</strong>e them as local functions, i.e. ˜p a i (r) = 0 for r > ra c .Note that the completeness relation (6.8) is equivalent to the requirement that ˜p a i shouldproduce the correct expansion coefficients of (6.5)-(6.6), while (6.9) is merely an implication ofthis restriction. Translat<strong>in</strong>g (6.8) to an explicit restriction on the projector functions is a rather<strong>in</strong>volved procedure, but accord<strong>in</strong>g to Blöchl, [25], the most general form of the projector functionsis:〈˜p a i | = ∑ ({〈fk a | ˜φ a l 〉}) −1ij 〈f j a | (6.10)jwhere |fj a 〉 is any set of l<strong>in</strong>early <strong>in</strong>dependent functions. The projector functions will be localizedif the functions |fj a 〉 are localized.Us<strong>in</strong>g the completeness relation (6.8), we see thatˆT a = ∑ iˆT a | ˜φ a i 〉〈˜p a i | = ∑ i(|φai 〉 − | ˜φ a i 〉 ) 〈˜p a i |where the first equality is true <strong>in</strong> all of space, s<strong>in</strong>ce (6.8) holds <strong>in</strong>side the augmentation spheresand outside ˆT a is zero, so anyth<strong>in</strong>g can be multiplied with it. The second equality is due to (6.4)(remember that |φ a i 〉 − | ˜φ a i 〉 = 0 outside the augmentation sphere). Thus we conclude thatˆT = 1 + ∑ ∑ (|φai 〉 − | ˜φ a i 〉 ) 〈˜p a i | (6.11)aiTo summarize, we obta<strong>in</strong> the all electron KS wave function ψ n (r) = 〈r|ψ n 〉 from the transformationψ n (r) = ˜ψ n (r) + ∑ ∑ (φai (r) − ˜φ a i (r) ) 〈˜p a i | ˜ψ n 〉 (6.12)aiwhere the smooth (and thereby numerically convenient) auxiliary wave function ˜ψ n (r) is obta<strong>in</strong>edby solv<strong>in</strong>g the eigenvalue equation (6.2).The transformation (6.12) is expressed <strong>in</strong> terms of the three components: a) the partial wavesφ a i (r), b) the smooth partial waves ˜φ a i (r), and c) the smooth projector functions ˜pa i (r).The restriction on the choice of these sets of functions are: a) S<strong>in</strong>ce the partial- and smoothpartial wave functions are used to expand the all electron wave functions, i.e. are used as atomspecificbasis sets, these must be complete (<strong>in</strong>side the augmentation spheres). b) the smoothprojector functions must satisfy (6.8), i.e. be constructed accord<strong>in</strong>g to (6.10). All rema<strong>in</strong><strong>in</strong>gdegrees of freedom are used to make the expansions converge as fast as possible, and to make thefunctions termed ‘smooth’, as smooth as possible. For a specific choice of these sets of functions,see section 7.2. As the partial- and smooth partial waves are merely used as basis sets they can bechosen as real functions (any imag<strong>in</strong>ary parts of the functions they expand, are then <strong>in</strong>troducedthrough the complex expansion coefficients Pni a ). In the rema<strong>in</strong>der of this document φ and ˜φ willbe assumed real.Note that the sets of functions needed to def<strong>in</strong>e the transformation are system <strong>in</strong>dependent,and as such they can conveniently be pre-calculated and tabulated for each element of the periodictable.For future convenience, we also def<strong>in</strong>e the one center expansionsψ a n(r) = ∑ i˜ψ a n(r) = ∑ iφ a i (r)〈˜p a i | ˜ψ n 〉˜φ a i (r)〈˜p a i | ˜ψ n 〉(6.13a)(6.13b)In terms of these, the all electron KS wave function isψ n (r) = ˜ψ n (r) + ∑ a(ψan (r − R a ) − ˜ψ a n(r − R a ) ) (6.14)


40 6. Projector Augmented Wave MethodSo what have we achieved by this transformation? The trouble of the orig<strong>in</strong>al KS wave functions,was that they displayed rapid oscillations <strong>in</strong> some parts of space, and smooth behavior <strong>in</strong>other parts of space. By the decomposition (6.12) we have separated the orig<strong>in</strong>al wave functions<strong>in</strong>to auxiliary wave functions which are smooth everywhere and a contribution which conta<strong>in</strong>srapid oscillations, but only contributes <strong>in</strong> certa<strong>in</strong>, small, areas of space. This decomposition isshown on the front page for the hydrogen molecule. Hav<strong>in</strong>g separated the different types of waves,these can be treated <strong>in</strong>dividually. The localized atom centered parts, are <strong>in</strong>dicated by a superscripta, and can efficiently be represented on atom centered radial grids. Smooth functions are <strong>in</strong>dicatedby a tilde ˜. The delocalized parts (no superscript a) are all smooth, and can thus be representedon coarse Fourier- or real space grids.6.2 The Frozen Core ApproximationIn the frozen core approximation, it is assumed that the core states are naturally localized with<strong>in</strong>the augmentation spheres, and that the core states of the isolated atoms are not changed by theformation of molecules or solids. Thus the core KS states are identical to the atomic core states:|ψ c n〉 = |φ a,coreα 〉where the <strong>in</strong>dex n on the left hand site refers to botha specific atom, a, and an atomic state, α.In this approximation only valence states are <strong>in</strong>cluded<strong>in</strong> the expansions of |ψ n 〉, (6.6), and | ˜ψ n 〉, (6.5).Figure 6.1, shows the atomic states of Plat<strong>in</strong>um <strong>in</strong>its ground state, obta<strong>in</strong>ed with an atomic DFT programat an LDA level, us<strong>in</strong>g spherical averag<strong>in</strong>g, i.e.a sp<strong>in</strong>-compensated calculation, assum<strong>in</strong>g the degenerateoccupation 9/10 of all 5d states, and both of the6s states half filled. It is seen that at the typical lengthof atomic <strong>in</strong>teraction (the <strong>in</strong>dicated cut-off r c = 2.5Bohr is approximately half the <strong>in</strong>ter-atomic distance<strong>in</strong> bulk Pt), only the 5d and 6s states are non-zero.6.3 Expectation Values43210-1[Pt] = [Xe]4f 14 5d 9 6s 1|--- core ---|- valence -|6s5d5p1s2s3s4s5s6s2p3p4p5p3d4d5d4f-20 1 2 r c 3 4r (Bohr)Figure 6.1: The core states of Plat<strong>in</strong>umThe expectation value of an operator Ô is, with<strong>in</strong> the frozen core approximation, given byval〈Ô〉 = ∑f n 〈ψ n |Ô|ψ n〉 + ∑na∑coreα〈φ a,coreα|Ô|φa,coreα 〉 (6.15)us<strong>in</strong>g that 〈ψ n |Ô|ψ n〉 = 〈 ˜ψ n | ˆT † Ô ˆT | ˜ψ n 〉, and skipp<strong>in</strong>g the state <strong>in</strong>dex for notational convenience,we see that〈ψ|Ô|ψ〉 = 〈 ˜ψ + ∑ a(ψ a − ˜ψ a )|Ô| ˜ψ + ∑ a(ψ a − ˜ψ a )〉= 〈 ˜ψ|Ô| ˜ψ〉 + ∑ 〈ψ a − ˜ψ a − ˜ψ |Ô|ψa′ a′ 〉 + ∑aa ′ a= 〈 ˜ψ|Ô| ˜ψ〉 + ∑ (〈ψ a |Ô|ψa 〉 − 〈 ˜ψ a |Ô| ˜ψ)a 〉a+ ∑ a(〈ψ a − ˜ψ a |Ô| ˜ψ − ˜ψ a 〉 + 〈 ˜ψ − ˜ψ a |Ô|ψa − ˜ψ)a 〉+ ∑ a≠a ′ 〈ψ a − ˜ψ a |Ô|ψa′ − ˜ψ a′ 〉(〈 ˜ψ|Ô|ψa − ˜ψ)a 〉 + 〈ψ a a− ˜ψ |Ô| ˜ψ〉(6.16)


6.4 Densities 41For local operators 1 the last two l<strong>in</strong>es does not contribute. The first l<strong>in</strong>e, because |ψ a − ˜ψ a 〉 isonly non-zero <strong>in</strong>side the spheres, while | ˜ψ − ˜ψ a 〉 is only non-zero outside the spheres. The secondl<strong>in</strong>e simply because |ψ a − ˜ψ a 〉 is zero outside the spheres, so two such states centered on differentnuclei have no overlap (provided that the augmentation spheres do not overlap).Re<strong>in</strong>troduc<strong>in</strong>g the partial waves <strong>in</strong> the one-center expansions, we see that∑valn∑val∑f n 〈ψ n|Ô|ψa a n〉 = f n 〈φ a i 1Pni a |Ô|φa 1 i 2Pni a 2〉 = ∑ ∑val〈φ a i |Ô|φa 1 i 2〉n i 1i 2 i 1i 2 nand likewise for the smooth waves.Introduc<strong>in</strong>g the Hermitian one-center density matrixf n P a∗ni 1P a ni 2(6.17)D a i 1i 2= ∑ nf n Pni a∗1Pni a 2= ∑ nf n 〈 ˜ψ n |˜p a i 1〉〈˜p a i 2| ˜ψ n 〉 (6.18)We conclude that for any local operator Ô, the expectation value isval〈Ô〉 = ∑f n 〈 ˜ψ n |Ô| ˜ψ n 〉 + ∑na∑ (〈φ a i |Ô|φa 1 i 2〉 − 〈 ˜φ a i |Ô| ˜φ)a1 i 2〉 Di a 1i 2+ ∑i 1i 2 a∑coreα〈φ a,coreα|Ô|φa,core α 〉(6.19)6.4 DensitiesThe electron density is obviously a very important quantity <strong>in</strong> DFT, as all observables <strong>in</strong> pr<strong>in</strong>cipleare calculated as functionals of the density. In reality the k<strong>in</strong>etic energy is calculated as a functionalof the orbitals, and some specific exchange-correlation functionals also rely on KS-orbitals ratherthen the density for their evaluation, but these are still implicit functionals of the density.To obta<strong>in</strong> the electron density we need to determ<strong>in</strong>e the expectation value of the real-spaceprojection operator |r〉〈r|n(r) = ∑ nf n 〈ψ n |r〉〈r|ψ n 〉 = ∑ nf n |ψ n (r)| 2 (6.20)where f n are the occupation numbers.As the real-space projection operator is obviously a local operator, we can use the results (6.19)of the previous section, and immediately arrive at∑valn(r) = f n | ˜ψ n | 2 + ∑na∑ (φ a i 1φ a i 2− ˜φ)ai 1˜φa i2Di a 1i 2+ ∑i 1i 2 a∑core|φ a,coreα | 2 (6.21)To ensure that (6.21) reproduce the correct density even though some of the core states arenot strictly localized with<strong>in</strong> the augmentation spheres, a smooth core density, ñ c (r), is usuallyconstructed, which is identical to the core density outside the augmentation sphere, and a smoothcont<strong>in</strong>uation <strong>in</strong>side. Thus the density is typically evaluated asαn(r) = ñ(r) + ∑ a(n a (r) − ñ a (r)) (6.22)where∑valñ(r) = f n | ˜ψ n (r)| 2 + ñ c (r)nn a (r) = ∑ i 1i 2D a i 1i 2φ a i 1(r)φ a i 2(r) + n a c (r)(6.23a)(6.23b)ñ a (r) = ∑ i 1i 2D a i 1i 2˜φa i1(r) ˜φ a i 2(r) + ñ a c (r)(6.23c)1 Local operator b O: An operator which does not correlate separate parts of space, i.e. 〈r| b O|r ′ 〉 = 0 if r ≠ r ′ .


42 6. Projector Augmented Wave Method6.5 Total EnergiesThe total energy of the electronic system is given by eq. (3.25):E[n] = T s [n] + U H [n] + V ext [n] + E xc [n] (6.24)In this section, the usual energy expression above, is sought re-expressed <strong>in</strong> terms of the PAWquantities: the smooth waves and the auxiliary partial waves.For the local and semi-local functionals, we can utilize (6.19), while the nonlocal parts needsmore careful consideration.6.5.1 The Semi-local ContributionsThe k<strong>in</strong>etic energy functional T s = ∑ n f n〈ψ n | − 1 2 ∇2 |ψ n 〉 is obviously a (semi-) local functional,so we can apply (6.19) and immediately arrive at:T s [{ψ n }] = ∑ nf n 〈ψ n | − 1 2 ∇2 |ψ n 〉∑val= f n 〈 ˜ψ n | − 1 2 ∇2 | ˜ψ n 〉 + ∑ an∆T a s [{D a i 1i 2}](6.25)where∆Ts a [{Di a 1i 2}] = ∑ Di a 1i 2(〈φ a i 1| − 1 2 ∇2 |φ a i 2〉 − 〈 ˜φ a i 1| − 1 2 ∇2 | ˜φ)ai 2〉 + ∑i 1i 2 a∑coreα〈φ a,coreα| − 1 2 ∇2 |φ a,coreα 〉(6.26)For LDA and GGA type exchange-correlation functionals, E xc is likewise, per def<strong>in</strong>ition, a semilocalfunctional, such that it can be expressed asE xc [n] = E xc [ñ] + ∑ a(E xc [n a ] − E xc [ñ a ]) (6.27)By virtue of (6.23b)-(6.23c) we can consider the atomic corrections as functionals of the densitymatrix def<strong>in</strong>ed <strong>in</strong> (6.18), i.e.E xc [n] = E xc [ñ] + ∑ a∆E a xc[{D a i 1i 2}] (6.28)where∆E a xc[{D a i 1i 2}] = E xc [n a ] − E xc [ñ a ] (6.29)The case of nonlocal exact-exchange will be discussed <strong>in</strong> section 6.7.6.5.2 The Nonlocal ContributionsThe Hartree term is both nonl<strong>in</strong>ear and nonlocal, so more care needs to be taken when <strong>in</strong>troduc<strong>in</strong>gthe PAW transformation for this expression.In the follow<strong>in</strong>g we will assume that there is no ‘true’ external field, such that V ext [n] is onlydue to the static nuclei, i.e. it is a sum of the classical <strong>in</strong>teraction of the electron density with thestatic ionic potential, and the electrostatic energy of the nuclei. 2We def<strong>in</strong>e the total classical electrostatic energy functional asE C [n] = U H [n] + V ext [n] = 1 2 ((n)) + (n| ∑ a Za ) + 1 22 The <strong>in</strong>clusion of an actual external potential is straight forward, and is shown <strong>in</strong> section G.∑a≠a ′(Za |Z a′ ) (6.30)


6.5 Total Energies 43where the notation (f|g) <strong>in</strong>dicates the Coulomb <strong>in</strong>tegral∫∫(f|g) = drdr ′ f ∗ (r)g(r ′ )|r − r ′ |(6.31)and I have <strong>in</strong>troduced the short hand notation ((f)) = (f|f). In (6.30), Z a (r) is the charge densityof the nucleus at atomic site a, which <strong>in</strong> the classical po<strong>in</strong>t approximation is given byZ a (r) = −Z a δ(r − R a ) (6.32)with Z a be<strong>in</strong>g the atomic number of the nuclei. As the Hartree energy of a density with non-zerototal charge is numerically <strong>in</strong>convenient, we <strong>in</strong>troduce the charge neutral total densityρ(r) = n(r) + ∑ aZ a (r) (= n electrons + n nuclei ) (6.33)In terms of this, the coulombic energy of the system can be expressed byE C [n] = U ′ H[ρ] = 1 2 ((n + ∑ a Za )) ′ (6.34)where the prime <strong>in</strong>dicates that one should remember the self-<strong>in</strong>teraction error of the nuclei <strong>in</strong>troduced<strong>in</strong> the Hartree energy of the total density. This correction is obviously ill def<strong>in</strong>ed, anddifferent schemes exist for mak<strong>in</strong>g this correction. As it turns out, this correction is handled verynaturally <strong>in</strong> the PAW formalism.For now, we will focus on the term ((ρ)) = ((n + ∑ a Za )). If one where to directly <strong>in</strong>clude theexpansion of n(r) accord<strong>in</strong>g to (6.22), one would get:((n + ∑ a Za )) = ((ñ + ∑ a na − ñ a + Z a ))= ((ñ)) + ∑ aa ′ (n a − ñ a + Z a |n a′ − ñ a′ + Z a′ ) + 2 ∑ a(ñ|n a − ñ a + Z a )where <strong>in</strong> the last expression, the first term is the Hartree energy of the smooth electron density,which is numerically problematic because of the nonzero total charge (see e.g. section 8.3.1). Thesecond term conta<strong>in</strong>s a double summation over all nuclei, which would scale badly with system size,and the last term <strong>in</strong>volves <strong>in</strong>tegrations of densities represented on <strong>in</strong>compatible grids (rememberthat the one-center densities are represented on radial grids to capture the oscillatory behaviornear the nuclei) 3 . This is clearly not a feasible procedure. To correct these problem we add andsubtract some atom centered compensation charges ˜Z a :((n+ ∑ a ˜Z a + ∑ a[Z a − ˜Z a ])) = ((ñ+ ∑ a ˜Z a ))+ ∑ aa ′(na −ñ a +Z a − ˜Z a |n a′ −ñ a′ +Z a′ − ˜Z a )+ 2 ∑ a(ñ + ∑ a ′ ˜Za ′ |n a − ñ a + Z a − ˜Z a )If we def<strong>in</strong>e ˜Z a (r) <strong>in</strong> such a way that n a (r) − ñ a (r) + Z a (r) − ˜Z a (r) has no multipole moments,i.e.∫drr l Y L ( r̂− R a )(n a − ñ a + Z a − ˜Z a ) = 0 (6.35)for all a, the potentials of these densities are zero outside their respective augmentation spheres(L = (l, m) is a collective angular- and magnetic quantum number). Exploit<strong>in</strong>g this feature, theCoulomb <strong>in</strong>tegral reduce to((n + ∑ a Za )) = ((ñ + ∑ ˜Z a a )) + ∑ a ((na − ñ a + Z a − ˜Z a )) + 2 ∑ a (ña + ˜Z a |n a − ñ a + Z a − ˜Z a )= ((ñ + ∑ ˜Z a a )) + ∑ (a((n a + Z a )) − ((ñ a + ˜Z)a ))3 One could separate the terms <strong>in</strong> other ways, but it is impossible to separate the smooth and the localized termscompletely.


44 6. Projector Augmented Wave Methodwhere it has been used that <strong>in</strong>side the augmentation spheres ñ = ñ a . In this expression, we havecircumvented all of the previous problems. None of the terms correlates functions on differentgrids, there is only a s<strong>in</strong>gle summation over the atomic sites, and furthermore the only th<strong>in</strong>g thathas to be evaluated <strong>in</strong> the full space is the Hartree energy of ñ(r) + ∑ a ˜Z a (r) which is chargeneutral (see eq. (6.42)).Insert<strong>in</strong>g the f<strong>in</strong>al expression <strong>in</strong> (6.30), we see thatE C [n] = 1 2 ((ñ + ∑ a ˜Z a )) + 1 2= U H [˜ρ] + 1 2∑a∑where we have <strong>in</strong>troduced the smooth total densitya(((n a + Z a )) ′ − ((ñ a + ˜Z)a ))() (6.36)((n a )) + 2(n a |Z a ) − ((ñ a + ˜Z a ))˜ρ(r) = ñ + ∑ a˜Z a (r) (6.37)Note that the problem with the self <strong>in</strong>teraction error of the nuclei could easily be resolved onceit was moved to the atom centered part, as handl<strong>in</strong>g charged densities is not a problem on radialgrids.To obta<strong>in</strong> an explicit expression for the compensation charges, we make a multipole expansionof ˜Z a (r)˜Z a = ∑ Q a L ˜g L(r) a (6.38)Lwhere ˜g L a (r) is any smooth function localized with<strong>in</strong> |r − Ra | < rc a , satisfy<strong>in</strong>g∫drr l Y L ( r̂− R a )˜g L a ′(r) = δ LL ′ (6.39)Plugg<strong>in</strong>g the expansion (6.38) <strong>in</strong>to equations (6.35), we see that the expansion coefficients Q a Lfrom must be chosen accord<strong>in</strong>g to∫Q a L = drr l Y L (ˆr) (n a (r) − ñ a (r) + Z a (r)) = ∆ a δ l,0 + ∑ ∆ a Li 1i 2Di a 1i 2(6.40)i 1i 2where∫∆ a =∫∆ a Li 1i 2=drY 00 (ˆr)[n a c (r) − ñ a c (r) − Z a δ(r)]drr l Y L (ˆr)[φ a i 1(r)φ a i 2(r) − ˜φ a i 1(r) ˜φ a i 2(r)](6.41a)(6.41b)and it has been used that the core densities are spherical (we consider only closed shell frozencores). This completely def<strong>in</strong>es the compensation charges ˜Z a (r).Note that the special case l = 0 of (6.35), implies that∫ [dr n a − ñ a + Z a − ˜Z a] = 0∫⇓[dr ñ(r) + ∑ a] ∫˜Z a (r) =dr[n(r) + ∑ aZ a (r)]∫⇕∫dr ˜ρ(r) =dr ρ(r) = 0 (6.42)


6.5 Total Energies 45i.e. that the smooth total density has zero total charge, mak<strong>in</strong>g the evaluation of the Hartreeenergy numerically convenient.In summary, we conclude that the classical coulomb <strong>in</strong>teraction energy which <strong>in</strong> the KS formalismwas given by E C [n] = U H ′ [ρ], <strong>in</strong> the PAW formalism becomes a pure Hartree energy (noself-<strong>in</strong>teraction correction) of the smooth total density ˜ρ plus some one-center correctionsE C [n] = U H [˜ρ] + ∑ a∆E a C[{D a i 1i 2}] (6.43)where the corrections∆EC[{D a i a 1i 2}] = 1 2 ((na )) + (n a |Z a ) − 1 2 ((ña )) − (ñ a | ˜Z a ) − 1 2 (( ˜Z a ))∫= 1 2 [((na c )) − ((ñ a c ))] − Z a dr na c (r)− ∑ Q arL(ñ a c |˜g L)aL+ ∑ [∫Di a∗1i 2(φ a i 1φ a i 2|n a c ) − ( ˜φ a i 1˜φa i2|ñ a c ) − Z a dr φa i 1(r)φ a i 2(r)− ∑ ]Q arL( ˜φ a i 1˜φa i2|˜g L)ai 1i 2 L+ 1 ∑Di a∗21i 2[(φ a i 1φ a i 2|φ a i 3φ a i 4) − ( ˜φ a i 1˜φa i2| ˜φ]ai 3˜φa i4) Di a 3i 4− 1 ∑Q a2LQ a L ′(˜ga L|˜g L a ′)i 1i 2i 3i 4 LL ′are simple products of system <strong>in</strong>dependent tensors with the one-center density matrix Di a 1i 2. Notethat Q a L by virtue of (6.40) is also a functional of the density matrix.6.5.3 SummarySumm<strong>in</strong>g up all the energy contributions, we see that the Kohn-Sham total energyE[n] = T s [{ψ n }] + U ′ H[ρ] + E xc [n]can be separated <strong>in</strong>to a part calculated on smooth functions, Ẽ, and some atomic corrections,∆E a , <strong>in</strong>volv<strong>in</strong>g quantities localized around the nuclei only.E = Ẽ + ∑ a∆E a (6.44)where the smooth partẼ = T s [{ ˜ψ n }] + U H [˜ρ] + E xc [ñ] (6.45)is the usual energy functional, but evaluated on the smooth functions ñ and ˜ρ <strong>in</strong>stead of n and ρ,and with the soft compensation charges ˜Z a <strong>in</strong>stead of the nuclei charges Z a (r). The corrections∆E a = ∆T a s + ∆E a C + ∆E a xc (6.46)can be expanded <strong>in</strong> powers of the density matrix accord<strong>in</strong>g to∆E a = A a + ∑ Bi a 1i 2Di a 1i 2+∑Di a∗1i 2Ci a 1i 2i 3i 4Di a 3i 4+ ∆Exc({D a i a 1i 2}) (6.47)i 1i 2 i 1i 2i 3i 4where A a , Bi a 1i 2, and Ci a 1i 2i 3i 4are system <strong>in</strong>dependent tensors that can be pre-calculated and storedfor each specie <strong>in</strong> the periodic table of elements. Expanded <strong>in</strong> powers of ∆ a and ∆ a Li 1i 2from theexpansion coefficients of ˜Z a , the tensors A, B, and C areA a = F a + ∆ a K00 a + (∆ a ) 2 N00,00aBi a 1i 2= Ii a 1i 2+ ∆ a Mi a 1i 2,00 + ∑ ∆ a (Li 1i 2 KaL + 2∆ a N a )00,00LCi a 1i 2i 3i 4= Ji a 1i 2i 3i 4+ 1 ∑ (Ma2 i1i 2L∆ a Li 3i 4+ Mi a 3i 4L∆ a ) ∑Li 1i 2 + ∆ a Li 1i 2NLL a ′∆a L ′ i 3i 4LL ′L(6.48a)(6.48b)(6.48c)


46 6. Projector Augmented Wave Methodwhere the six tensors F , K, N, I, M and J are given by∑coreF a =I a i 1i 2〈φ a,coreααdr na c (r)rα∫= 〈φ a i 1| − 1 2 ∇2 |φ a i 2〉 − 〈 ˜φ a i 1| − 1 2 ∇2 | ˜φ a i 2〉 + (φ a i 1φ a i 2|n a c ) − ( ˜φ a i 1˜φa i2|ñ a c ) − Z aK a L = −(ñ a c |˜g a L)∫| − 1 2 ∇2 |φ a,core 〉 + 1 2 [((na c )) − ((ñ a c ))] − Z adr φa i 1(r)φ a i 2(r)rN a LL ′ = −1 2 (˜ga L|˜g a L ′)Mi a 1i 2L = −( ˜φ a i 1˜φa i2|˜g L)aJi a 1i 2i 3i 4= 1 [(φ a i2 1φ a i 2|φ a i 3φ a i 4) − ( ˜φ a i 1˜φa i2| ˜φ]ai 3˜φa i4)Note that all <strong>in</strong>tegrals can be limited to the <strong>in</strong>side of the augmentation sphere. For example(φ a i 1φ a i 2|n a c ) has contributions outside the augmentation sphere, but these are exactly canceledby the contributions outside the spheres of ( ˜φ a i˜φa 1 i2|ñ a c ), <strong>in</strong> which region the two expressions areidentical.The Ci a 1i 2i 3i 4tensor has been written <strong>in</strong> a symmetric form, such that it is <strong>in</strong>variant under thefollow<strong>in</strong>g symmetry operations:i 1 ↔ i 2 i 3 ↔ i 4 i 1 i 2 ↔ i 3 i 4 (6.50)To arrive at the symmetric form, it has been used that∑i 1i 2i 3i 4LD a∗i 1i 2M a i 1i 2L∆ a Li 3i 4D a i 3i 4= 1 2∑i 1i 2i 3i 4L(Mai1i 2L∆ a Li 3i 4+ M a i 3i 4L∆ a Li 1i 2)Dai3i 4due to the symmetry of M and ∆, and that the density matrix is hermitian.Both the Hamiltonian and the forces can be derived from the total energy functional (6.44).The Hamiltonian will be derived <strong>in</strong> the follow<strong>in</strong>g section. For a derivation of the force <strong>in</strong> PAW,see appendix F.6.6 The Transformed Kohn-Sham EquationThe variational quantity <strong>in</strong> the PAW formalism is the smooth wave function ˜ψ n . From this, allother quantities, such as the density matrix, the soft compensation charges, the transformationoperator, etc. are determ<strong>in</strong>ed by various projections of ˜ψn onto the projector functions, andexpansions <strong>in</strong> our chosen basis functions, the partial and smooth partial waves. To obta<strong>in</strong> thesmooth wave functions, we need to solve the eigenvalue equation̂˜H ˜ψ n (r) = ɛ n Ŝ ˜ψ n (r) (6.51)where the overlap operator Ŝ = ˆT † ˆT and ̂˜H = ˆT † Ĥ ˆT is the transformed Hamiltonian.6.6.1 OrthogonalityIn the orig<strong>in</strong>al form, the eigen states of the KS equation where orthogonal, i.e. 〈ψ n |ψ m 〉 = δ nmwhile <strong>in</strong> the transformed version〈 ˜ψ n | ˆT † ˆT | ˜ψm 〉 = δ nm (6.52)i.e. the smooth wave function are only orthogonal with respect to the weight Ŝ.


6.6 The Transformed Kohn-Sham Equation 47The explicit form of the overlap operator isŜ = ˆT † ˆT=(1 + ∑ ˆT) †a(1 a + ∑ ˆT)a a(ˆT a† + ˆT a + ˆT a† a ˆT )= 1 + ∑ a= 1 + ∑ [ ∑|˜p a i 〉(〈φ a i | − 〈 ˜φ a i |) ∑ | ˜φ a j 〉〈˜p a j | + ∑ | ˜φ a j 〉〈˜p a j | ∑ (|φ a i 〉 − | ˜φ a i 〉)〈˜p a i |a ijji+ ∑ |˜p a i 〉(〈φ a i | − 〈 ˜φ a i |) ∑ (|φ a j 〉 − | ˜φ]aj 〉)〈˜p a j |ij= 1 + ∑ ∑|˜p a i 〉(〈φ a i |φ a j 〉 − 〈 ˜φ a i | ˜φ a j 〉)〈˜p a j |a= 1 + ∑ aij∑|˜p a i 〉 √ 4π∆ a 00,ij〈˜p a j |ij(6.53)The orthogonality condition (6.52) must be kept <strong>in</strong> m<strong>in</strong>d when apply<strong>in</strong>g numerical schemes forsolv<strong>in</strong>g (6.51). For example plane waves are no longer orthogonal, <strong>in</strong> the sense that 〈G|Ŝ|G′ 〉 ≠δ G,G ′.6.6.2 The HamiltonianTo determ<strong>in</strong>e the transformed Hamiltonian, one could apply the transformation ̂˜H = ˆT † Ĥ ˆTdirectly, which would be straight forward for the local parts of Ĥ, but to take advantage of thetrick used to determ<strong>in</strong>e the total energy of the nonlocal term (E C [n]), we make use of the relationUs<strong>in</strong>g this, we getδEδ ˜ψ ∗ n(r) =δδ ˜ψ ∗ n(r)δEδ ˜ψ ∗ n(r) = f n ̂˜H ˜ψn (r) (6.54)[T s [{ ˜ψ]n }] + E xc [ñ] + U H [˜ρ] + ∆E a [{Di a 1i 2}]= δT s[{ ˜ψ n }]δ ˜ψ n(r)∗∫ [+ dr ′ δExc [ñ]δñ(r ′ ) + δU ]H[˜ρ] δñ(r ′ )δñ(r ′ ) δ ˜ψ n(r)∗+ ∑ [∑ ∫dr ′ δU H[ñ + ∑ ˜Z a a ] δ ˜Z a (r ′ )a i 1i 2δ ˜Z a (r ′ ) δDi a 1i 2+ δ∆EaδD a i 1i 2]δDai1i 2δ ˜ψ ∗ n(r)= f n (− 1 2 ∇2 )ψ n (r)∫+ dr ′ [v xc [ñ](r ′ ) + u H [˜ρ](r ′ )] f n δ(r − r ′ ) ˜ψ n (r ′ )+ ∑ ∑[∫dr ′ u H [ñ + ∑ ˜Z a a ](r ′ ) ∑ ]L ∆a Li 1i 2 ˜g L a (r′ ) + δ∆EaδDf a n ˜p a ii 1 i 1(r)Pni a 22a i 1i 2where v xc [n](r) = δExc[n]δn(r)is the usual local (LDA) or semilocal (GGA) exchange correlation potential,and u H [n](r) = δU H[n]δn(r)= ∫ dr ′ n(r ′ )|r−r ′ |is the usual Hartree potential.From these results, we can write down the transformed Hamiltonian aŝ˜H = − 1 2 ∇2 + u H [˜ρ] + v xc [ñ] + ∑ ∑|˜p a i 1〉∆Hi a 1i 2〈˜p a i 2| (6.55)a i 1i 2


48 6. Projector Augmented Wave Methodwhere the nonlocal part of the Hamiltonian is given <strong>in</strong> terms of the tensor∆Hi a 1i 2= ∑ ∫∆ a Li 1i 2dru H [˜ρ](r)˜g L(r) a + δ∆EaδD a Li 1i 2= ∑ ∫∆ a Li 1i 2dru H [˜ρ](r)˜g L(r) a + Bi a 1i 2+ 2 ∑ Ci a 1i 2i 3i 4Di a 3i 4+ δ∆E (6.56)xcδD a Li 3i 4i 1i 2Note that to justify tak<strong>in</strong>g the derivative with respect to D only, and not its complex conjugate,the symmetry properties (6.50) has been used to get D a∗i 1i 2C a i 1i 2i 3i 4D a i 3i 4= D a i 1i 2C a i 1i 2i 3i 4D a i 3i 4.6.7 <strong>Exact</strong> <strong>Exchange</strong> <strong>in</strong> PAWIn this section, an expression will be derived for the exact exchange total energy and non-localpotential <strong>in</strong> the PAW formalism.For exchange, the sp<strong>in</strong> label can no longer be ignored, so <strong>in</strong> this section sp<strong>in</strong> has been <strong>in</strong>cludedas prescribed <strong>in</strong> section 2.4.6.7.1 <strong>Exact</strong> <strong>Exchange</strong> EnergyThe exact exchange energy is given by:E xx = − 1 ∑occ∫δ σn,σ2n ′ drdr ′ ψ n(r)ψn ∗ ′(r)ψ∗ n(r ′ )ψ n ′(r ′ )|r − r ′ |nn ′= − 1 ∑∫f n f n ′δ σn,σ2n ′ drdr ′ n∗ nn ′(r)n nn ′(r′ )|r − r ′ |nn ′= − 1 ∑f n f n ′δ σn,σ2n ′ ((n nn ′))nn ′where(6.57)n nn ′(r) = ψ ∗ n(r)ψ n ′(r) (6.58)Note that these exchange ‘densities’ doesn’t correspond to any physical quantity, and that theyare complex <strong>in</strong> general.Remember<strong>in</strong>g that for the valence statesψ n = ˜ψ n + ∑ (ψn a − ˜ψ)naawhile for the core statesψn c = φ a,coreαthe double summation over all occupied states <strong>in</strong> (6.57) is go<strong>in</strong>g to <strong>in</strong>volve terms which are productsof valence states only, some which are products of only core states, and some with mixed products,i.e.∑occE xx = − 1 δ σn,σ2n ′ ((n nn ′))nn ′= − 1 ∑val∑val∑val∑coref n f n ′δ σn,σ2n ′ ((n nn ′)) − f n δ σn,σ n ′ ((n nn ′)) − 1 ∑core∑coreδ σn,σ2n ′ ((n nn ′))n n ′n n ′ n n ′= − 1 ∑val∑valf n f n ′δ σn,σ2n ′ ((n nn ′)) − 1 ∑val∑coref n ((n nn ′)) − 1 ∑core∑core((n nn ′))24n n ′ n n ′ n n ′ (6.59)Here it has been assumed that the core states form closed shells.In the follow<strong>in</strong>g, the three contributions will be treated <strong>in</strong>dividually.


6.7 <strong>Exact</strong> <strong>Exchange</strong> <strong>in</strong> PAW 49The Valence-Valence InteractionIn this section we treat the valence-valence contributionE v-vxx = − 1 2∑valnn ′ f n f n ′δ σn,σ n ′ ((n nn ′)) (6.60)to the exchange energy only.When both n and n ′ are valence states, the exchange density reduce ton nn ′ =(˜ψ n + ∑ a(ψan − ˜ψ na ) ) ∗ (˜ψ n ′ + ∑ (ψan ′ − ˜ψ a ) )n ′a(ψan − ˜ψ n) a ∗∑ (ψan ′ − ˜ψ n a ) ∑ (+ ˜ψ∗ ′ n ψan ′ − ˜ψ n a ) ∑ (+ ˜ψn ′ ′ ψan − ˜ψ n) a ∗= ˜ψ n ∗ ˜ψ n ′ + ∑ aa= ˜ψ n ∗ ˜ψ n ′ + ∑ (ψn a∗ ψ a a∗n ′ − ˜ψ ˜ψ)n n a ′a= ñ nn ′ + ∑ (nann ′ − ñ a )nn ′aaawhere ñ nn ′ = ˜ψ n ∗ ˜ψ n ′, n a nn = ′ ψa∗ n ψn a ′, and ña a∗nn = ˜ψ ˜ψ ′ n n a ′.To avoid <strong>in</strong>teractions between one-center exchange densities (n a nn − ′ ña nn ′) centered on differentatoms, <strong>in</strong> the expression (6.60), we add and subtract the atom-centered compensation charge˜Z a nn ′(r) n nn ′ = ñ nn ′ + ∑ a˜Z a nn ′ + ∑ a(nann ′ − ñ a nn ′ − ˜Z a nn ′ )(6.61)where the compensation charges are expansions of the form˜Z a nn ′(r) = ∑ LQ a Lnn ′ ˜ga L(r)The expansion functions, ˜g L a , are the same as <strong>in</strong> (6.38), and the expansion coefficients of thecompensation charges, Q a Lnn ′, are chosen such that na nn − ′ ña nn − ˜Z a ′ nn <strong>in</strong> (6.61) has no multipole′moments, i.e.∫ [ drr l n a nn ′(r) − ña nn ′(r) − ˜Z]nn a ′(r) Y L (ˆr) = 0 (6.62)for all L. Insert<strong>in</strong>g the expansions of the densitieswe see thatvaln a nn ′(r) = ∑φ a i 1(r)φ a i 2(r)Pni a∗1Pn a ′ i 2and ñ a nn ′(r) = ∑vali 1i 2∫i 1i 2˜φa i1(r) ˜φ a i 2(r)P a∗ni 1P a n ′ i 2(6.63)[ ∑val(drY L (ˆr)r l φ a i 1(r)φ a i 2(r) − ˜φ a i 1(r) ˜φ)ai 2(r) Pni a∗1Pn a ′ i 2− ∑ ]Q a L ′ nn ′ ˜ga L ′(r) = 0i 1i 2 L ′I.e. the expansion coefficients of the compensation charges must be chosen asQ a Lnn ′val= ∑∆ a Li 1i 2Pni a∗1Pn a ′ i 2(6.64)i 1i 2where the system <strong>in</strong>dependent tensors ∆ a Li 1i 2are the same as those of equation (6.41b).


50 6. Projector Augmented Wave MethodInsert<strong>in</strong>g the exchange density (6.61) <strong>in</strong> the energy expression (6.60), we get (dropp<strong>in</strong>g thestate labels for brevity)((n)) = ((ñ + ∑ a= ((ñ + ∑ a˜Z a + ∑ a(n a − ñ a − ˜Z a ))˜Z a )) + 2 Re(ñ + ∑ a˜Z a | ∑ an a − ñ a − ˜Z a ) + (( ∑ an a − ñ a − ˜Z a ))(6.65)us<strong>in</strong>g that per construction, the potential of n a nn ′(r′ ) − ñ a nn ′(r′ ) − ˜Z nn a ′(r′ ) is zero outside the augmentationsphere (as the density is localized with<strong>in</strong> these spheres, and has no multipole moments),and that <strong>in</strong>side any such ñ nn ′ = ñ a nn ′, this can be reduced to:((n)) = ((ñ + ∑ a˜Z a )) + 2 Re ∑ a(ñ a + ˜Z a |n a − ñ a − ˜Z a ) a + ∑ a((n a − ñ a − ˜Z a )) a= ((ñ + ∑ a= ((ñ + ∑ a˜Z a )) + Re ∑ (n a + ñ a + ˜Z a |n a − ñ a − ˜Z a )a˜Z a )) + ∑ {((n a )) − ((ñ a + ˜Z}a ))a(6.66)Note that the special case l = 0 of (6.62), implies that∫dr[n a nn − ′ ña nn − ˜Z]a ′ nn = 0′∫⇓[dr ñ nn ′ + ∑ a˜Z nn ′] ∫=dr n nn ′ = δ nn ′(6.67)as the true exchange densities, n nn ′, formed by the full all-electron KS wave functions, are orthonormal.This implies that that the argument of the first Coulomb <strong>in</strong>tegral <strong>in</strong> eq. (6.66) has anonzero total charge (= 1), for n = n ′ . This causes some problems for the numerical proceduresfor evaluat<strong>in</strong>g such <strong>in</strong>tegrals, see section 8.3.1 for a discussion, and suggested solutions to thisproblem.Inspired by (6.66), we now decompose the valence-valence contribution to the exchange energy,<strong>in</strong> a soft exchange contribution and an atomic correctionE v-vxx= Ẽxx + ∑ a∆E a,v-vxx (6.68)where the soft contribution Ẽxx is∑valand the PAW atomic correction, ∆E a,v-vxxẼ xx ≡ − 1 f n f n ′δ σn,σ2n ′ ((ñ nn ′ + ∑nn ′ a∆E a,v-vxx = − 1 2∑valisnn ′ f n f n ′δ σn,σ n ′{((n a nn ′)) − ((ña nn ′ + ˜Z a nn ′)) }˜Z nn a ′)) (6.69)(6.70)Insert<strong>in</strong>g the relations (6.63) and (6.64) and preced<strong>in</strong>g <strong>in</strong> much the same way as for the Hartreeenergy, one eventually end up with the expression∆E a,v-vxx∑val= −nn ′= − ∑ σ∑vali 1i 2i 3i 4f n f n ′δ σn,σ n ′ P a∗ni 1P a n ′ i 2P a ni 3P a∗n ′ i 4C a i 1i 2i 3i 4∑vali 1i 2i 3i 4D a∗i 1i 2(σ)C a i 1i 3i 2i 4D a i 3i 4(σ)(6.71)


6.7 <strong>Exact</strong> <strong>Exchange</strong> <strong>in</strong> PAW 51where the system <strong>in</strong>dependent tensor C is identical to the tensor Ci a 1i 2i 3i 4used to evaluate thetotal energy, eq. (6.48c), and a sp<strong>in</strong> specific density matrix has been <strong>in</strong>troduced byD a i 1i 2(σ) = ∑ nf n δ σn,σ〈 ˜ψ n |˜p a i 1〉〈˜p a i 2| ˜ψ n 〉 (6.72)Note that the order of the two <strong>in</strong>dices i 2 and i 3 of C <strong>in</strong> eq. (6.71) are exchanged, as compared tothe equivalent expression for the Hartree energy.The Valence-Core InteractionTak<strong>in</strong>g n to be a valence state and n ′ a core state, the exchange density becomes:(n nn ′ = ˜ψn + ∑ a(ψn a − ˜ψ) ∗ψn)a cn ′ = ψn a∗ φ a,coreα =∑valiφ a i P a∗ni φ a,coreα (6.73)where it has been used that the core states φ a,coreα are localized with<strong>in</strong> the augmentation spheres,and that <strong>in</strong>side any such, the smooth all-electron wave function ˜ψ n is identical to its one-centerexpansion, ˜ψa∗ n . The <strong>in</strong>dex n ′ = {a, α} on the core states is a jo<strong>in</strong>t <strong>in</strong>dex referr<strong>in</strong>g to both aspecific atom, a, and an atomic core state, α.From this we see that:E v-cxx = − 1 2= − 1 2= − ∑ a∑∑valcoref n (n nn ′|n nn ′)n n ′∑val∑ ∑core∑valf n (φ a i 1Pni a∗1i 1i 2φ a,coreα |φ a i 2Pni a∗2φ a,coreα )(6.74)n a α∑valDi a 1i 2Xi a 1i 2i 1i 2where Di a 1i 2is the hermitian density matrix of equation (6.18) and the system <strong>in</strong>dependent hermitiantensor Xi a 1i 2is given by:Xi a 1i 2= 1 ∑core∫∫drdr ′ φ a i21(r)φ a,coreα (r) φa i 2(r ′ )φ a,coreα (r ′ )|r − r ′ (6.75)|The Core-Core InteractionαThe core-core contribution to the exact exchange energy is simply given by:Exx c-c = − 1 ∑core((ψn c∗ ψn c 4′)) = −1 ∑ ∑core((φ a,coreα4nn ′ a α,α ′φ a,coreα′ )) (6.76)Where we have aga<strong>in</strong> used the assumption that the core states of different atoms do not overlap.That the core-core contribution to the exchange energy only <strong>in</strong>cludes exchange between orbitals onthe same atom implies that the Exxc-c energy contribution only appears as a reference energy, andis as such canceled when calculat<strong>in</strong>g energy differences. If total energies are deemed <strong>in</strong>terest<strong>in</strong>g,one can precalculate and tabulate the exchange energy of the core states for each type of atom,and add this reference energy to the total (exchange) energy at the end of calculations.SummarySummariz<strong>in</strong>g, the exact exchange energy is <strong>in</strong> the PAW formalism given byE xx = Ẽxx + ∑ a∆E a xx


52 6. Projector Augmented Wave Methodwhere ∆E a xx = ∆E a,v-vxx∑val+ E a,v-cxx+ E a,c-cxxandẼ xx = − 1 f n f n ′δ σn,σ2n ′ (( ˜ψ ∗ ˜ψ n n ′ + ∑nn ′ a∆E a,v-vxxE a,v-cxx= − ∑ σ∑vali 1i 2i 3i 4D a∗i 1i 3(σ)C a i 1i 2i 3i 4D a i 2i 4(σ)∑val= − Di a 1i 2Xi a 1i 2i 1i 2E a,c-cxx = − 1 4∑core((φ a,coreα 1α 1α 2φ a,core6.7.2 The <strong>Exact</strong> <strong>Exchange</strong> Potential˜Z a nn ′))(Soft valence-valence <strong>in</strong>teraction)(Atomic valence-valence correction)(Atomic valence-core <strong>in</strong>teraction)α 2)) (Atomic core-core <strong>in</strong>teraction)To determ<strong>in</strong>e the expression for the non-local potential of exact exchange <strong>in</strong> the PAW formalism,while conserv<strong>in</strong>g the tricks used to transform the total energy, we use the same procedure as fordeterm<strong>in</strong><strong>in</strong>g the transformed Hamiltonian of the KS problem, i.e. us<strong>in</strong>gwhere∑valf nˆv xx ˜ψn (r) =i 1i 2i 3i 4D a∗δE xxδ ˜ψ ∗ n(r)E xx = − 1 f n f n ′δ σn,σ2n ′ ((ñ nn ′ + ∑ ˜Z nn a ′))nn ′ a+ ∑ [− ∑ ∑val∑vali 1i 2(σ)Ci a 1i 3i 2i 4Di a 3i 4(σ) −a σDi a 1i 2Xi a 1i 2+ Exxa,c-ci 1i 2with the smooth compensation charges ˜Z nn a ′(r) and the exchange densities ñ nn ′(r) given by˜Z a nn ′(r) = ∑ L∑valñ nn ′(r) = ˜ψ ∗ n(r) ˜ψ n ′(r)i 1i 2∆ a Li 1i 2P a∗ni 1P a n ′ i 2The potential correspond<strong>in</strong>g to this energy is found fromf nˆv xx ˜ψn (r) =δẼxxδ ˜ψ n(r) + ∑ δ∆Exxa∗aδ ˜ψ n(r)∗= ∑ ∫ [dr ′ δẼxxδñpqpq (r ′ )∑ ∑i 1i 2 σδñ pq (r ′ )δ ˜ψ ∗ n(r) +[ δ∆EaxxDi a 1i 2(σ)Di a 1i 2(σ)δẼxx δñ ∗ pq(r ′ )δñ ∗ pq(r ′ )˜g a L(r)δ ˜ψ n(r) + ∑ ∗ aDi a∗ ]1i 2(σ)δ ˜ψ n(r)∗δẼxx δ ˜Z pq(r a ′ )δ ˜Z pq(r a ′ ) δ ˜ψ n(r) + ∗+ ∑ aδ ˜ψ n(r) + δ∆Ea xx∗ Di a∗1i 2(σ)= ∑ ∫dr ′[ f p f q δ σp,σ qṽ pq (r ′ )δ pn δ(r − r ′ ) ˜ψ q (r ′ )pq+ ∑ f p f q δ σp,σ q ṽ pq (r ′ ) ∑ ˜g L(r a ′ ) ∑ ]δ pn ∆ a Li 1i 2 ˜p a i 1(r)Pqi a 2aL i 1i 2+ ∑ [∑−Xi a 1i 2− ∑ (Da∗i 3i 4Ci a 3i 1i 4i 2+ Ci a 1i 3i 2i 4D a ) ]i 3i 4˜p a i 1(r)Pni a 2a i 1i 2 i 3i 4δ]δẼxx˜Za∗pq (r ′ )a∗δ ˜Zpq (r ′ )δ ˜ψ ∗ n(r)]


6.8 Summary 53where∫ṽ nn ′(r) = −dr ′ (ñ nn ′(r′ ) + ∑ a ˜Z a nn ′(r′ )) ∗|r − r ′ |From this, we see that the exchange potential is a nonlocal operator of the formˆv xx | ˜ψ n 〉 = ∑ [f n ′δ σn,σ n ′ ṽ nn ′ + ∑ ]∑|˜p a i 1〉vnn a ′ ,i 1i 2〈˜p a i 2| | ˜ψ n ′〉n ′ a i 1i 2− ∑ ∑|˜p a i 1〉[Xi a 1i 2+ 2 ∑ ]Ci a 1i 3i 2i 4Di a 3i 4〈˜p a i 2| ˜ψ n 〉a i 1i 2 i 3i 4(6.77)(6.78)where the tensorv a nn ′ ,i 1i 2= ∑ L∆ a Li 1i 2∫dr˜g a L(r)ṽ nn ′(r) (6.79)To get the factor of two <strong>in</strong> front of C the symmetry properties (6.50) has been used.6.8 SummaryA hybrid HF-KS calculation <strong>in</strong> the PAW formalism, <strong>in</strong>clud<strong>in</strong>g a fraction λ of exact exchange, isperformed by redef<strong>in</strong><strong>in</strong>g the tensors A, B, and C accord<strong>in</strong>g toA a → A a + λE a,c-cxxB a i 1i 2→ B a i 1i 2− λX a i 1i 2C a i 1i 2i 3i 4→ C a i 1i 2i 3i 4− λC a i 1i 3i 2i 4and multiply<strong>in</strong>g all terms of A, B, and C <strong>in</strong>volv<strong>in</strong>g the local exchange potential by a factor 1 − λ.The PAW HF-KS equation to be solved iŝ˜H| ˜ψ n 〉 = ɛ n Ŝ| ˜ψ n 〉 (6.80)with Ŝ given by (6.53), and ̂˜H bŷ˜H| ˜ψ n 〉 = [ − 1 2 ∇2 + u H [˜ρ](r) + (1 − λ)v x [ñ](r) + v c [ñ](r) ] | ˜ψ n 〉 + ∑ ∑|˜p a i 1〉∆Hi a 1i 2〈˜p a i 2| ˜ψ n 〉a i 1i 2+ λ ∑ [f n ′δ σn,σ n ′ ṽ nn ′(r) + ∑ ]∑|˜p a i 1〉vnn a ′ ,i 1i 2〈˜p a i 2| | ˜ψ n ′〉n ′ a i 1i 2(6.81)where∆H a i 1i 2= ∑ L∆ a Li 1i 2∫dru H [˜ρ](r)˜g a L(r)+B a i 1i 2+2 ∑ i 3i 4C a i 1i 2i 3i 4D a i 3i 4+(1−λ) δ∆E xδD a i 1i 2+ δ∆E cδD a i 1i 2(6.82)with ṽ nn ′ given by (6.77) and v a nn ′ ,i 1i 2by (6.79).The total energy can then be evaluated byE = T s [{ ˜ψ n }] + U H [˜ρ] + λE xx [{ñ nn ′ + ∑ a ˜Z a nn ′}] + (1 − λ)E x[ñ] + E c [ñ] + ∑ a∆E a (6.83)withE xx = 1/2 ∑ nn ′ δ σn,σn ′ ∫drṽ nn ′(r)(ñ nn ′(r) + ∑ a ˜Z a nn ′(r))


54 6. Projector Augmented Wave Methodand ∆E a given by∆E a = A a + ∑ Bi a 1i 2Di a 1i 2+∑Di a∗1i 2Ci a 1i 2i 3i 4Di a 3i 4+ (1 − λ)∆Ex({D a i a 1i 2}) + ∆Ec a ({Di a 1i 2})i 1i 2 i 1i 2i 3i 4(6.84)with the redef<strong>in</strong>ed tensors A, B, and C.Hav<strong>in</strong>g solved the eigenvalue problem (6.80), the eigenvalues are known. This can be used todeterm<strong>in</strong>e, for example, the k<strong>in</strong>etic energy of the pseudo wave functions, T s [ñ], without do<strong>in</strong>g theexplicit (and computationally costly) computation. This can be seen by operat<strong>in</strong>g with ∑ n f n〈 ˜ψ n |on eq. (6.81) to get:T s [{ ˜ψ n }] = ∑ ∫f n ɛ n − dr[ñ(r) − ñ c (r)] [u H [˜ρ](r) + v xc [ñ](r)] − ∑ ∑∆Hi a 1i 2Di a 1i 2(6.85)na i 1i 2When <strong>in</strong>clud<strong>in</strong>g Fock exchange, one needs to add the additional term[∑∫f n f n ′δ σn,σ n ′ drṽ nn ′(r)ñ nn ′(r) − ∑ ]∑Pni a 1Pn a ′ i 2vnn a ′ ,i 1i 2nn ′ a i 1i 2(6.86)to the right hand side.


Chapter 7Implement<strong>in</strong>g PAWFor an implementation of PAW, one must specify a large number of data for each chemical element.This constitutes a data set which uniquely determ<strong>in</strong>es how the on-site PAW transformation works,at the site of the specific atom. For the generation of such data sets, one needs an atomic DFTprogram, with which basis sets can be generated. How to perform DFT calculations efficiently onan isolated atom will be discussed <strong>in</strong> the first section of this chapter, and the actual choice of dataset parameters will be discussed <strong>in</strong> the second. The atomic DFT program plays the additional roleof a small test program, aga<strong>in</strong>st which implementations <strong>in</strong> the full PAW program can be tested.7.1 AtomsIf we consider the Kohn-Sham equation for an isolated atom, (described by a non sp<strong>in</strong>-dependentHamiltonian), it is well known that the eigenstates can be represented by the productφ iσi (rσ) = R j (r)Y L (ˆr)χ σi (σ) (7.1)where R j are real radial function, and Y L are the (complex valued) spherical harmonics. i =(n, l, m), j = (n, l), and L = (l, m).Assum<strong>in</strong>g identical fill<strong>in</strong>g of all atomic orbitals, i.e. f iσ = f j , the density becomesn(r) = ∑ i∑f j |φ iσi (rσ)| 2 = ∑ jσ i2 2l + 14π f j|R j (r)| 2 (7.2)where the first factor of 2 comes from the sum over sp<strong>in</strong>, and the second factor from the sum overthe magnetic quantum number us<strong>in</strong>g that∑m|Y lm | 2 = 2l + 14π(7.3)The identical fill<strong>in</strong>g of degenerate states is exact for closed shell systems, and corresponds to aspherical averag<strong>in</strong>g of the density for open shell systems.Determ<strong>in</strong><strong>in</strong>g potentials <strong>in</strong> a spherical coord<strong>in</strong>ate system is usually done by exploit<strong>in</strong>g theexpansion of the Coulomb kernel1|r − r ′ | = ∑ L4π2l + 1rl+1Y ∗ L (ˆr)Y L (ˆr ′ ) (7.4)with r < = m<strong>in</strong>(r, r ′ ) and r > = max(r, r ′ ). Us<strong>in</strong>g this it is seen that for any density with a known55


56 7. Implement<strong>in</strong>g PAWangular dependence, e.g. the density R(r)Y L (ˆr), the potential can be determ<strong>in</strong>ed by∫v[R(r)Y L (ˆr)](r) = dr ′ R(r′ )Y L (ˆr ′ )|r − r ′ |= 4π2l + 1 Y L(ˆr)= 4π2l + 1 Y L(ˆr)∫ ∞0r ′2 dr ′ R(r ′ ) rl l+1[∫ rdr ′ R(r ′ )r ′( r ′ ) l+1∫ ∞+r0rdr ′ R(r ′ )r ′( rr ′ ) l]if the angular dependence is not a spherical harmonic, one can always do a multipole expansionas described <strong>in</strong> section D.2, and use the above expression on the <strong>in</strong>dividual terms.In the case of a radial density n(r) = n(r), the Hartree potential becomesu H (r) = 4π r∫ r0dr ′ n(r ′ )r ′2 + 4π∫ ∞r(7.5)dr ′ n(r ′ )r ′ (7.6)A purely radial dependent density also implies that the xc-potential is a radial function. Us<strong>in</strong>gthis, the entire KS equation can be reduced to a 1D problem <strong>in</strong> r, while the angular part is treatedanalytically.7.1.1 The Radial Kohn-Sham EquationFor a spherical KS potential, and us<strong>in</strong>g that Y L are eigenstates of the Laplacian, as described<strong>in</strong> appendix D.3, the KS equation can be reduced to the simpler one-dimensional second ordereigenvalue problem[− 1 d 22 dr 2 − 1 ]d l(l + 1)+r dr 2r 2 + v s (r) R j (r) = ɛ j R j (r) (7.7)If we <strong>in</strong>troduce the radial wave function u j (r) def<strong>in</strong>ed bythe KS equation can be written asu ′′j (r) +rR j (r) = u j (r) (7.8)()l(l + 1)2ɛ j − 2v s (r) −r 2 u j (r) = 0 (7.9)which is easily <strong>in</strong>tegrated us<strong>in</strong>g standard techniques. See e.g. [1, chapter 6].7.1.2 <strong>Exact</strong> <strong>Exchange</strong>The exact exchange energy for the radial problem isE x = − 1 ∑∫∫f i1 f i2 δ σi1 ,σ2i2i 1i 2= − 1 ∑ ∑f j1 f j24i 1i 2= − 1 4L∑ ∑f j1 f j2j 1j 2ldrdr ′ R j 1(r)Y ∗ L 1(ˆr)R j2 (r)Y L2 (ˆr)R j2 (r ′ )Y ∗ L 2( ˆr ′ )R j1 (r ′ )Y L1 (ˆr ′ )|r − r ′ |∫∫4π2l + 1 |GL L 1L 2| 24π2l + 1⎛⎜ ∑⎝drdr ′ r l l+1⎞∫∫|G L L 1L 2| 2 ⎟⎠mm 1m 2u j1 (r)u j2 (r)u j2 (r ′ )u j1 (r ′ )drdr ′ r l l+1where G L L 1L 2= ∫ dˆrY L (ˆr)Y L1 (ˆr)Y ∗ L 2(ˆr) are the Gaunt coefficients [65].u j1 (r)u j2 (r)u j2 (r ′ )u j1 (r ′ )(7.10)


7.2 The Atomic Data Set of PAW 57The Fock exchange potentialˆv x NL φ i1 (r) = − ∑ ∫f i2 δ σi1 ,σ i2φ i2 (r)i 2dr ′ φ i 2(r ′ )φ i1 (r ′ )|r − r ′ |is reduced toˆv NLx R j1 (r)Y L1 (ˆr) = − 1 2= − 1 2∑i 2∑j 2= Y L 1(ˆr)2r(2l 1 + 1)∫f j2 R j2 (r)Y L2 (ˆr)f j2u j2 (r)r∑l∑f j2 u j2 (r) ∑ lj 2dr ′ R j 2(r ′ )YL ∗ 2(ˆr ′ )R j1 (r ′ )Y L1 (ˆr ′ )|r − r ′ |( )4π ∑ ∫G L L2l + 11L 2Y L (ˆr)Y L2 (ˆr) dr ′ rl+1 u j2 (r ′ )u j1 (r ′ )u j2 (r ′ )u j1 (r ′ )(7.11)From which the radial potentialw j1j 2(r) =−1 ∑2(2l 1 + 1)(2l 2 + 1)l4π2l + 1⎛⎜ ∑⎝∫⎟⎠⎞|G L L 1L 2| 2mm 1m 2dr ′ r l l+1u j2 (r ′ )u j1 (r ′ ) (7.12)can be def<strong>in</strong>ed, <strong>in</strong> terms of which the radial non-local exchange operator can be written asˆv NLx u j1 (r) = ∑ j 2f j2 (2l 2 + 1)u j2 (r)w j1j 2(r) (7.13)This is the potential that should be <strong>in</strong>cluded <strong>in</strong> the radial KS equation. In terms of this, theexchange energy becomesE x = 1 ∑∫f j1 (2l 1 +1) dru j1 (r)ˆv x u j1 (r) = 1 ∑∫f j1 f j2 (2l 1 +1)(2l 2 +1) dru j1 (r)w j1j222(r)u j2 (r)j 1 j 1j 27.2 The Atomic Data Set of PAW(7.14)The very large degree of freedom when choos<strong>in</strong>g the functions def<strong>in</strong><strong>in</strong>g the PAW transformationmeans that the choice varies a great deal between different implementations. In any actual implementationexpansions are obviously f<strong>in</strong>ite, and many numerical considerations must be madewhen choos<strong>in</strong>g these basis sets, to ensure fast and reliable convergence. This section provides anoverview of the <strong>in</strong>formation needed for uniquely def<strong>in</strong><strong>in</strong>g the PAW transformation, and the levelof freedom when choos<strong>in</strong>g the parameters.The Partial WavesThe basis functions, φ a i , for the expansion of |ψ n〉 should be chosen to ensure a fast convergenceto the KS wave function. For this reason we choose the partial waves as the eigenstates of theSchröd<strong>in</strong>ger equation for the isolated sp<strong>in</strong>-saturated atoms. Thus the <strong>in</strong>dex i is a comb<strong>in</strong>ation ofma<strong>in</strong>-, angular-, and magnetic quantum number, (n, l, m). And the explicit form isφ a i (r) = φ a nl(r)Y lm (ˆr)where φ a nl (r) are the solutions of the radial KS Schröd<strong>in</strong>ger equation (7.7), and Y lm are the sphericalharmonics. For convenience we choose φ a i (r) to be real, i.e. we use the real spherical harmonics of


58 7. Implement<strong>in</strong>g PAWappendix D.3. This choice of partial waves implies that the smooth partial waves and the smoothprojector functions can also be chosen real, and as products of some radial functions and the samereal spherical harmonic.Note that <strong>in</strong>clud<strong>in</strong>g unbound states of the radial KS equation <strong>in</strong> the partial waves is not aproblem, as the diverg<strong>in</strong>g tail is exactly canceled by the smooth partial waves. In practice we only<strong>in</strong>tegrate the KS equation outward from the orig<strong>in</strong> to the cutoff radius for unbound states, thusmak<strong>in</strong>g the energies free parameters. In pr<strong>in</strong>ciple the same could be done for the bound states,but <strong>in</strong> GPAW, the energies of bound states are fixed by mak<strong>in</strong>g the <strong>in</strong>ward <strong>in</strong>tegration for thesestates and do<strong>in</strong>g the usual match<strong>in</strong>g (see e.g. [1, chapter 6]), i.e. the energies are chosen as theeigenenergies of the system.The Smooth Partial WavesThe smooth partial waves ˜ψ i a (r) are per construction identical to the partial waves outside the augmentationsphere. Inside the spheres, we can choose them as any smooth cont<strong>in</strong>uation. PresentlyGPAW uses simple 6’th order polynomials of even powers only (as odd powers <strong>in</strong> r results <strong>in</strong> ak<strong>in</strong>k <strong>in</strong> the functions at the orig<strong>in</strong>, i.e. that the first derivatives are not def<strong>in</strong>ed at this po<strong>in</strong>t),where the coefficients are used to match the partial waves smoothly at r = r c . Other codes usesBessel functions [58] or Gaussians.The Smooth Projector FunctionsThe smooth projector functions are a bit more tricky. Mak<strong>in</strong>g them orthonormal to ˜φ a i (r) is asimple task of apply<strong>in</strong>g the usual Gram-Smith procedure. This is the only formal requirement, but<strong>in</strong> any actual implementation all expansions are necessarily f<strong>in</strong>ite, and we therefore want them toconverge as fast as possible, so only a few terms needs to be evaluated.A popular choice is to determ<strong>in</strong>e the smooth projector functions accord<strong>in</strong>g toor equivalently|˜p a i 〉 = ( − 1 2 ∇2 + ṽ s − ɛ i)| ˜φa i 〉 (7.15)[˜p a j (r) = − 1 d 22 dr 2 − 1 ]d l(l + 1)+r dr 2r 2 + ṽ s (r) − ɛ j˜φ a j (r) (7.16)where ṽ s (r) is the smooth KS potential u H [˜ρ](r) + v xc [ñ](r). And then enforce the complementaryorthogonality condition 〈˜p a j | ˜φ a j ′〉 = δ j,j ′ <strong>in</strong>side the augmentation sphere, by a standard Gram-Schmidt procedure [32]. Us<strong>in</strong>g this procedure ensures that the reference atom is described correctlydespite the f<strong>in</strong>ite number of projectors.The Smooth Compensation Charge Expansion FunctionsThe smooth compensation charges ˜g L a (r), are products of spherical harmonics, and radial functions(r) satisfy<strong>in</strong>g that∫˜g a ldrr l Y L (ˆr)˜g a L ′(r) = δ LL ′ (7.17)In GPAW the radial functions are chosen as generalized Gaussian accord<strong>in</strong>g to (here shown forR a = 0):˜g L(r) a = ˜g l a (r)Y L (ˆr) , ˜g l a (r) = √ 1 l!4π (2l + 1)! (4αa ) l+3/2 r l e −αa r 2 (7.18)where the atom-dependent decay factor α is chosen such that the charges are localized with<strong>in</strong> theaugmentation sphere.With this choice of compensation charges, the tensors NL a 1L 2and the potential part of thetensors can be evaluated analytically, see [61].M a i 1i 2L


7.2 The Atomic Data Set of PAW 59The Core- and Smooth Core DensitiesThe core density follows directly from the all electron partial waves by∑core∑coren c (r) = |φ i (r)| 2 = 2(2l + 1)|φ j (r)| 2 /4π (7.19)iThe smooth core densities ñ a c (r) are like the smooth partial waves expanded <strong>in</strong> a few (two orthree) Bessel functions, Gaussians, polynomials or otherwise, fitted such that it matches the truecore density smoothly at the cut-off radius.The Localized PotentialAn additional freedom <strong>in</strong> PAW is that for any operator ̂L, localized with<strong>in</strong> the augmentationspheres, we can exploit the identity (6.8)∑| ˜φ a i 〉〈˜p a i | = 1 (7.20)valid with<strong>in</strong> the spheres, to get̂L = ∑ ai∑ji 1i 2|˜p a i 1〉〈 ˜φ a i 1|̂L| ˜φ a i 2〉〈˜p a i 2|so for any potential ¯v(r) = ∑ a ¯va (r−R a ) localized with<strong>in</strong> the augmentation spheres (i.e. ¯v a (r) = 0for r > rc a ) we get the identity∫0 = drñ(r) ∑ ¯v a (r) − ∑ ∫drñ a¯v a (r)aaThis expression can be used as an ‘<strong>in</strong>telligent zero’. Us<strong>in</strong>g this, we can make the replacement ofthe smooth potential ṽ s (r) = u H [˜ρ](r) + v xc [ñ](r) → ṽ s (r) = u H [˜ρ](r) + v xc [ñ](r) + ¯v(r) if we alsosubtract ∫ drñ a c ¯v a (r) from F a and ∫ dr ˜φ a i 1˜φa i2 ¯v a (r) from I a i 1i 2. The advantage of do<strong>in</strong>g this is thatthe Hartree potential and the xc-potential might not be optimally smooth close to the nuclei, butif we def<strong>in</strong>e the localized potential properly, the sum of the three potentials might still be smooth.Thus one can <strong>in</strong>itially evaluate u H [˜ρ](r) and v xc [ñ](r) on an extra f<strong>in</strong>e grid, add ¯v(r) and thenrestrict the total potential to the coarse grid aga<strong>in</strong> before solv<strong>in</strong>g the KS equation.The typical way of construct<strong>in</strong>g the localized potentials ¯v a is by expand<strong>in</strong>g it <strong>in</strong> some basis,and then choos<strong>in</strong>g the coefficients such that the potential u H [˜ρ](r) + v xc [ñ](r) + ¯v(r) is optimallysmooth at the core for the reference system.Inclusion of ¯v a (r) changes the forces on each atom <strong>in</strong> a trivial fashion.<strong>Exact</strong> <strong>Exchange</strong> ComponentsThe additional <strong>in</strong>formation required of a data set if exact exchange calculations are required are:1) The core-core exchange energy contribution Exxa,c-c , which is calculated us<strong>in</strong>g the methods ofsection 7.1.2, restrict<strong>in</strong>g the state summations to the core orbitals only. 2) The matrix Xi a 1i 2usedto determ<strong>in</strong>e the valence-core contribution to the exchange energy. This can be determ<strong>in</strong>ed byX a i 1i 2==∑core∫ ∫ φai1(r ′ )φ a i c(r ′ )|r − r ′ |i c∑core∑G L L 1L cG L 4πL 2L ci cL∑core∑=j cldr ′ φ a i 2(r)φ a i c(r)dr∫∫drdr ′ r l l+1( )4π ∑ ∫∫G L L2l + 11L cG L L 2L cdrdr ′ rl+1 u a j 1(r)u a j c(r)u a j c(r ′ )u a j 2(r ′ )(7.21)


60 7. Implement<strong>in</strong>g PAWThe core-core exchange energy is only needed for total energy calculations; <strong>in</strong> energy differencesit will disappear.SummaryWhen construct<strong>in</strong>g a data set for a specific atom, one must specify the follow<strong>in</strong>g quantities, alldef<strong>in</strong>ed with<strong>in</strong> the augmentation spheres only:1. φ a ifrom radial KS equation2. ˜φa i by appropriate smooth cont<strong>in</strong>uation of φ a i3. ˜p a ifrom equation (7.15)4. ˜g a L localized with<strong>in</strong> r < r c, and satisfy<strong>in</strong>g ∫ drr l′ ˜g a L (r)Y L ′( ̂ r − R a ) = δ LL ′5. n a c follows from φ a iby (7.19)6. ñ a c by appropriate smooth cont<strong>in</strong>uation of n a c7. ¯v a localized with<strong>in</strong> r < r a c , otherwise freely chosen to make ṽ s optimally smooth for thereference system8. X a i 1i 2determ<strong>in</strong>ed by (7.21)The adjustable parameters besides the shape of ˜φ a , ˜g a L , ¯va , and ñ a c are1. Cut-off radii r a c2. Frozen core states3. Number of basis set functions (range of <strong>in</strong>dex i on φ a i , ˜φ a i , and ˜pa i )4. Energies of unbound partial wavesChoos<strong>in</strong>g these parameters <strong>in</strong> such a way that the basis is sufficient for the description of allpossible environments for the specific chemical element, while still ensur<strong>in</strong>g a smooth pseudo wavefunction is a delicate procedure, although the optimal parameter choice is more stable than fore.g. norm conserv<strong>in</strong>g or ultra soft pseudopotentials.Once the quantities above have been constructed, all other <strong>in</strong>gredients of the PAW transformationfollows, such as ∆ a , ∆ a Lii ′, Aa , B a i 1i 2, and C a i 1i 2i 3i 4, the first two are needed for the constructionof the compensation charges and the overlap operator, and the last three for determ<strong>in</strong><strong>in</strong>g theHamiltonian, and for evaluat<strong>in</strong>g the total energy.


Chapter 8Numerical ResultsThe ma<strong>in</strong> analytic result of my work was the derivation of how to do hybrid HF-KS DFT calculations<strong>in</strong> the PAW formalism. Actually the expressions derived for the exact exchange energyfunctional and the non-local Fock operator are more general <strong>in</strong> the sense that they form the ma<strong>in</strong><strong>in</strong>gredients of most exact exchange methods; the hybrid HF-KS method is simply the simplestto implement (and most widely used). This chapter focuses on the numerical results of the currentimplementation, sections 8.1 and 8.2, and on different numeric schemes for solv<strong>in</strong>g specificproblems aris<strong>in</strong>g when try<strong>in</strong>g to implement the method, section 8.3.The tests of section 8.1 and 8.2 focus on total energy calculation us<strong>in</strong>g the EXX functional,which is the exchange-correlation functional, where correlation is neglected, and exchange is treatedexactly. As the code currently doesn’t support a self-consistent solution of the KS equationus<strong>in</strong>g the EXX functional, these are only calculated non-self-consistently, i.e. the EXX energyexpression is evaluated us<strong>in</strong>g the orbitals obta<strong>in</strong>ed from do<strong>in</strong>g a self-consistent calculation withsome other functional (PBE <strong>in</strong> my case). This type of functional evaluation corresponds to a firstorder perturbation correction of the self-consistent xc-functional towards the EXX-functional, andshould therefore produce sensible results.8.1 Isolated AtomsI have implemented the non-self-consistent evaluation of exact exchange <strong>in</strong> both the atomic allelectroncalculator and the full PAW calculator of GPAW. The implementations follow the proceduresdescribed <strong>in</strong> section 6.7 for PAW, and section 7.1.2 for the atomic calculations.A comparison of the two methods for 16 light atoms is shown <strong>in</strong> table 8.1. In both methods,the exchange energies are calculated on self-consistent PBE orbitals. The grid spac<strong>in</strong>g of the PAWcalculator is 0.16 Å, and the unit cell is a cube of side length 12.8 Å. Compensation charges areof s, p, and d type only. The atomic calculator treats the angular parts of the wave functionsanalytically, and the radial part is distributed on a radial grid, which extends to <strong>in</strong>f<strong>in</strong>ity, andhas a very f<strong>in</strong>e grid spac<strong>in</strong>g near the nucleus. As the all-electron calculator can only treat sp<strong>in</strong>compensated atoms, both calculations have been made sp<strong>in</strong> unpolarized.Note that <strong>in</strong> the PAW calculator, the core states are treated with<strong>in</strong> the frozen core approximation(section 6.2). The different types of exchange <strong>in</strong>teractions are therefor treated differently.The core-core energy is simply imported from the atomic calculator, which is why it is not shownon the table, the valence-core <strong>in</strong>teraction is <strong>in</strong>cluded by the multiplication of the density matrixwith the X a matrix (see section 6.7). The valence-valence <strong>in</strong>teraction determ<strong>in</strong>ed by mak<strong>in</strong>g theexchange <strong>in</strong>tegral on a compensated exchange density ñ n′ n(r) + ∑ ˜Z a n a ′ n (r), and add<strong>in</strong>g someon-site correction ∆Exa,v-v . In the atomic calculator, there is no difference <strong>in</strong> the treatment of thevalence and core states, the division is merely to ease comparison of the methods.The table shows excellent agreement between the two methods, with a maximum error of 0.4eV for fluor<strong>in</strong>e. This discrepancy is acceptable for total energy calculations, which are much harder61


62 8. Numerical ResultsAtomic calculatorPAWSym. All val-val val-core All val-val val-core ∆Exa,v-vH 3.9 3.9 - 3.9 3.9 - -0.0He 27.6 27.6 - 27.7 27.7 - 0.8Li 46.5 1.6 0.5 46.5 1.6 0.5 0.0Be 72.4 9.5 1.7 72.4 9.5 1.7 0.0C 126.5 27.4 4.3 126.6 27.4 4.4 0.1N 162.7 44.8 6.2 162.7 44.8 6.2 0.0O 207.1 70.2 8.4 207.3 70.2 8.6 -0.4F 261.7 105.3 11.0 262.1 105.4 11.3 -1.1Ne 328.0 151.9 14.0 328.6 152.3 14.1 9.3Na 378.9 1.5 0.7 378.9 1.5 0.7 0.0Mg 434.8 7.8 2.3 434.8 7.8 2.3 0.0Al 488.6 12.1 4.2 488.5 12.1 4.1 0.0Si 545.5 19.1 6.6 545.4 19.1 6.5 0.1P 606.5 29.7 9.7 606.5 29.7 9.7 0.1S 672.6 44.9 13.5 672.6 44.8 13.5 0.2Cl 744.5 65.3 17.8 744.4 65.3 17.7 0.4Table 8.1: <strong>Exact</strong> exchange energies of isolated atoms <strong>in</strong> eV calculated non-self-consistently us<strong>in</strong>gPBE orbitals. Contributions to the exchange energies are separated <strong>in</strong>to valence-valence (val-val),valence-core (val-core), and core-core (<strong>in</strong>cluded <strong>in</strong> ‘all’) contributions. The last column shows theon-site PAW corrections to the valence-valence part ∆Exa,v-v explicitly.to converge than energy differences. It is also seen that the PAW correction ∆Exa,v-v can be ofconsiderable size; 9.3 eV for neon. This does not mean that it is necessarily important <strong>in</strong> bond<strong>in</strong>g,i.e. it might rema<strong>in</strong> unchanged despite the formation of bonds.8.2 MoleculesIn the article [28] by Blaha, Kurth, and Perdew, they report the atomization energy of 20 smallmolecules evaluated self-consistently us<strong>in</strong>g PBE xc-functional, and for a range of other functionals,<strong>in</strong>clud<strong>in</strong>g EXX, evaluated non-self-consistently with the PBE orbitals. This database serves as abenchmark for my implementation of exact exchange.The atomization energies from [28] and those calculated <strong>in</strong> GPAW are compared <strong>in</strong> table 8.2.The test results have also been compiled graphically on figures 8.1 and 8.2. All values are <strong>in</strong>kcal/mol 1 . The GPAW calculations have been done with a 14 × 12 × 12 Å unit cell, a grid spac<strong>in</strong>gof 0.175 Å, and compensation charges have been <strong>in</strong>cluded up to d type harmonics.These calculations were all done with the setup files used <strong>in</strong> GPAW <strong>in</strong> February 2006. Redo<strong>in</strong>gthe calculations with the current setup files (calculated <strong>in</strong> May 2006), the mean absolute error ofthe PBE calculation (compared to Blaha) <strong>in</strong>creased to 1.4 kcal/mol, and EXX <strong>in</strong>creased to 3.0kcal/mol, i.e. both <strong>in</strong>creased by approximately a factor of two compared to the old setup files.This demonstrates that the rema<strong>in</strong><strong>in</strong>g discrepancy is well with<strong>in</strong> the uncerta<strong>in</strong>ty caused by thesetup files. Figure 8.2 shows that the errors of the PBE calculations and the EXX calculationsare highly correlated, <strong>in</strong>dicat<strong>in</strong>g that the error might be dom<strong>in</strong>ated by errors <strong>in</strong> the k<strong>in</strong>etic- orHartree energy terms.It is important to take notice of the last column of table 8.2 show<strong>in</strong>g the valence-valencecontribution to the exchange energy only. Remember that the purpose of go<strong>in</strong>g throug all theadded comlexity of the PAW method is that other pseudopotential methods doesn’t have accessto the core orbitals, mak<strong>in</strong>g the valence-core part of exact exchange <strong>in</strong>accessible. The table shows1 Conversions factors are: 1 eV = 23.06 kcal/mol and 1 kcal/mol = 43.36 meV


8.2 Molecules 63Figure 8.1: Comparison of results from Blaha et al. [28] and GPAW result for self-consistent PBEatomization energies (left) and perturbative (us<strong>in</strong>g PBE orbitals) EXX atomization energies (right).All values are relative to experimental data and measured <strong>in</strong> kcal/mol.Figure 8.2: Direct comparison of the Blaha and GPAW atomization energies.


64 8. Numerical ResultsSelf-consistent PBE Perturbative EXXMol. BLAHA GPAW BLAHA GPAW v-v onlyH 2 104.6 104.5 84.0 84.0 84.0LiH 53.5 53.3 33.9 34.2 30.4CH 4 419.8 420.3 327.2 327.5 331.1NH 3 301.7 301.3 199.5 199.1 203.4OH 109.8 109.4 67.3 66.0 67.5H 2 O 234.2 233.3 154.6 153.9 156.4HF 142.0 141.4 96.1 95.8 96.8Li 2 19.9 19.7 3.5 3.9 -1.0Be 2 9.8 9.7 -11.0 -10.0 -6.9C 2 H 2 414.9 416.8 290.6 294.0 293.7C 2 H 4 571.5 573.0 423.9 427.6 433.0HCN 326.1 327.5 194.5 197.5 195.0CO 268.8 269.4 169.2 170.3 165.9N 2 243.2 243.8 110.2 111.1 107.0NO 171.9 170.1 45.6 49.3 50.3O 2 143.7 142.7 24.9 24.5 25.8F 2 53.4 53.0 -43.3 -41.2 -40.8P 2 121.1 119.6 31.8 31.1 16.5Cl 2 65.1 65.1 15.5 18.1 19.5MAE - 0.7 - 1.4 3.6Table 8.2: Comparison of results from Blaha et al. [28] and GPAW result for self-consistent PBEatomization energies (left) and perturbative (us<strong>in</strong>g PBE orbitals) EXX atomization energies (right).All values are <strong>in</strong> kcal/mol. MAE is the mean absolute error of the GPAW results compared to Blaha.that this part is important for the correct description of exact exchange. For P 2 , the valencevalenceexchange energy difference is off by almost 14 kcal/mol compared to the total exchangedifference. This is the justification for all the work done <strong>in</strong> section 6.In reference [36], by Paier, Hirschl, Marsman, and Kresse, they have performed calculationson the G2-1 data set, and found that <strong>in</strong>troduc<strong>in</strong>g 25% exact exchange <strong>in</strong> the PBE functional(i.e. us<strong>in</strong>g the PBE0 functional), reduces the mean absoloute error compared to experimentalatomization energies from 8.4 to 3.7 kcal/mol. 2 These results are all determ<strong>in</strong>ed with self-consistentcalculations, and full geometry optimization. To see if any improvement over PBE can be achievedby evaluat<strong>in</strong>g exact exchange non-self-consistently, I have tabulated the data shown <strong>in</strong> table 8.3.These have been calculated with the new setup files of slightly reduced quality.The table clearly shows that <strong>in</strong>clud<strong>in</strong>g 100% exact exchange, and neglect<strong>in</strong>g correlation (theEXX functional) is a very bad idea, and also that PBE0 evaluated non self-consistently on averagedoesn’t make any improvement on the PBE results (on the contrary the MAE is <strong>in</strong>creased from8.2 to 8.5 kcal/mol).2 These values have also been compared to calculations done <strong>in</strong> Gaussian. The two programs agree with<strong>in</strong> 0.5kcal/mol on average, and has a max deviation of 1.5 kcal/mol.


8.2 Molecules 65Mol Expt LDA PBE ∗ revPBE RPBE PBE0 EXXH 2 109.5 113.2 104.6 105.5 105.5 105.1 84.0LiH 57.8 62.1 54.8 54.4 54.7 53.5 34.7CH 4 419.3 462.9 420.6 412.2 411.3 411.3 325.2NH 3 297.4 338.1 302.7 294.8 294.0 289.3 198.6H 2 O 232.2 265.0 232.8 226.1 225.2 219.7 150.4HF 140.8 159.6 139.6 135.7 135.0 130.7 91.1Li 2 24.4 24.1 20.4 19.7 20.7 19.1 3.9LiF 138.9 152.9 136.2 130.6 130.8 122.4 77.5Be 2 3.0 13.6 10.6 8.7 8.7 4.9 -12.9C 2 H 2 405.4 462.2 417.2 404.0 402.5 395.3 287.9C 2 H 4 562.6 634.1 573.4 557.9 556.2 551.7 418.9HCN 311.9 362.8 328.4 317.0 315.7 303.1 191.8CO 259.3 297.9 268.1 258.4 257.1 246.0 164.2N 2 228.5 268.5 244.8 235.0 234.0 218.1 108.5O 2 120.5 173.4 142.5 133.3 132.0 114.7 19.6F 2 38.5 77.8 53.1 46.1 45.2 28.4 -46.5P 2 117.3 146.0 123.3 117.2 116.4 107.5 30.7Cl 2 58.0 85.4 67.5 62.1 61.4 55.9 11.8MAE - 31.9 8.2 5.0 5.1 8.5 77.0Table 8.3: Atomization energies <strong>in</strong> kcal/mol for a self number of functionals. * <strong>in</strong>dicates thatthe PBE functional has been evaluated self-consistently; all other functionals are evaluated us<strong>in</strong>g PBEdensities. The unit cell is a cube of side length 21.8 Å, grid-spac<strong>in</strong>g is 0.16 Å, max angular momentumof compensation charges is lmax = 2.


66 8. Numerical Results8.3 MiscellaneousIn addition to the implementation of the non-self-consistent evaluation of exact exchange, I havedone the follow<strong>in</strong>g work:Parallel implementationTo support calculations on large systems, I have designed the code to work <strong>in</strong> parallel computations.I have some test results, but they are not <strong>in</strong>terest<strong>in</strong>g, as they just show that theparallel calculations gives the same results as serial calculations.Wannier functionsThe computational time of exact exchange evaluation scales quadratically with the numberof bands, which makes it the limit<strong>in</strong>g factor for most systems. To avoid this, I have made aversion of the code, which makes the rotation of the KS functions <strong>in</strong>to the localized Wannierfunction, as described <strong>in</strong> appendix B. The locality of the Wannier functions can then be usedto skip evaluation of exchange terms, for which the overlap is known to be (practical) zero.The transformation to Wannier functions and subsequent evaluation of the exchange <strong>in</strong>tegralsworks without compla<strong>in</strong>t, giv<strong>in</strong>g almost exact identical results to the KS orbital based code,but I have not yet implemented the part to exploit the locality of the basis. The problemsare that a) the success of the localization procedure is hard to predict. The localizationprocess does output a center and a measure of the spread of the result<strong>in</strong>g Wannier functions,but determ<strong>in</strong><strong>in</strong>g a safe cut-off distance from these is not trivial. b) the actual constructionof the Wannier functions is quite time-consum<strong>in</strong>g, defeat<strong>in</strong>g the entire purpose for all butthe largest of systems.Different Poisson solversThe Poisson solver <strong>in</strong> GPAW can not handle charged densities. This is usually not a problemwhen do<strong>in</strong>g calculations on neutral systems, but when evaluat<strong>in</strong>g exact exchange <strong>in</strong> PAW,we need to determ<strong>in</strong>e the potential (6.77) of the exchange density ñ n ′ n(r) + ∑ a ˜Z a n ′ n (r),which has unit total charge for the diagonal n = n ′ terms, regardless of the total chargeof the considered system. The different methods I implemented to handle this problem arediscussed and tested <strong>in</strong> section 8.3.1.Spherical harmonicsOne∑could suspect that the product φ n (r)φ n ′(r) has more angular features than n(r) =n |φ n(r)| 2 , thus mak<strong>in</strong>g higher order components of the exchange compensation charges˜Z nn ′ required than for the standard compensation charges ˜Z. Go<strong>in</strong>g to higher orders wasnot possible <strong>in</strong> GPAW as the first few spherical harmonics where simply hard-coded <strong>in</strong>to theprogram. Spherical harmonics has many potential uses <strong>in</strong> the code, for example for mak<strong>in</strong>gmultipole expansions of the density, such that the BC’s of the real-space Poisson solver canbe correctly determ<strong>in</strong>ed (<strong>in</strong> stead of the Dirichlet conditions currently enforced). Sphericalharmonics are also needed to make higher order Gaussian neutralization of charged densities,as will be described <strong>in</strong> section 8.3.1.All <strong>in</strong> all, I decided to write some code for automatically generat<strong>in</strong>g arbitrary sphericalharmonics. The recurrence relations needed for generat<strong>in</strong>g spherical harmonics <strong>in</strong> polarcoord<strong>in</strong>ates are quite standard, but when they are needed <strong>in</strong> Cartesian form, this requires asubsequent translation of the coord<strong>in</strong>ates. To avoid this, I rewrote the standard recurrencerelations to generate the harmonics <strong>in</strong> Cartesian form directly. The equations and tests ofthe program can be found <strong>in</strong> appendix D.3.Time Scal<strong>in</strong>gsAn important aspect of exact exchange, and one of the th<strong>in</strong>gs that prevents its widespread use,is the computational cost of the evaluation. The double sum over states, and the solution of a


8.3 Miscellaneous 67Poisson equation implies that calculat<strong>in</strong>g the exchange potential scales like(n bands N k ) 2 N grid-po<strong>in</strong>ts ln N grid-po<strong>in</strong>tsassum<strong>in</strong>g an FFT Poisson solver.In my non-self-consistent evaluations, the exact exchange part only takes up to 10% of the totaltime. Accord<strong>in</strong>g to J. Paier, who implemented a self-consistent evaluation <strong>in</strong> Vasp, <strong>in</strong>clud<strong>in</strong>g exactexchange <strong>in</strong> a DFT calculation takes between 50 and 100 times more time than standard GGAevaluations. This obviously depends on the size of the system, be<strong>in</strong>g worse for larger systems.8.3.1 The Poisson EquationIn general, the potential v(r) associated with the density n(r), is def<strong>in</strong>ed by:∫v(r) = dr ′ n(r ′ )|r − r ′ |(8.1)which is the solution of the Poisson equation∇ 2 v(r) = −4πn(r) (8.2)The divergence as r → r ′ of the <strong>in</strong>tegrand <strong>in</strong> (8.1) makes it hard to handle numerically, so solv<strong>in</strong>g(8.2) is usually preferable. This can either be done directly <strong>in</strong> real space, or it can be done <strong>in</strong>reciprocal space.Reciprocal SpaceThe Fourier transform of (8.2) is (my convention for the Fourier transform is summarized <strong>in</strong>appendix C)−k 2 v(k) = −4πn(k) (8.3)thus the potential can be determ<strong>in</strong>ed fromv(k) = 4πn(k)/k 2 (8.4)If one works <strong>in</strong> real space, the procedure requires a Fourier transform of the density, a division, andan <strong>in</strong>verse Fourier transform of the potential back to real space. With the Fast Fourier Transform(FFT) the Fourier transformation is only an order N log N operation, so this is much faster thanmak<strong>in</strong>g the <strong>in</strong>tegration for each grid po<strong>in</strong>t, which costs N 2 flops (N for the <strong>in</strong>tegration times Ngrid-po<strong>in</strong>ts).For the evaluation of energies, we often encounter the Coulomb <strong>in</strong>tegrals∫∫(n 1 |n 2 ) =drdr ′ n ∗ 1(r)n 2 (r ′ )|r − r ′ |∫= dr n ∗ 1(r)v 2 (r) (8.5)where v 2 is the potential of n 2 .Insert<strong>in</strong>g the Fourier transform of n 1 (r) and v 2 (r) <strong>in</strong> this expression, we get the particularlysimple expression:∫(n 1 |n 2 ) = dr n ∗ 1(r)v 2 (r)∫ ∫∫dk= dr(2π) 3 n∗ 1(k)e −ik·r dk ′ 4πn(k ′ )(2π) 3 k ′2 e ik′·r∫∫ dkdk′∫= 4πdre −i(k−k′ )·r∫= 4πn ∗ 1(k)n 2 (k ′ )(2π) 6 k ′2dk n ∗ 1(k)n 2 (k)(2π) 3k 2 (8.6)


68 8. Numerical ResultsOr <strong>in</strong> the discrete case 3(n 1 |n 2 ) = 4πV∑kn ∗ 1,k n 2,kk 2 (8.7)So we do not have to transform back to real space, and the double <strong>in</strong>tegration of (8.5) is replacedby a s<strong>in</strong>gle <strong>in</strong>tegration.There are two problems with solv<strong>in</strong>g the Poisson equation <strong>in</strong> reciprocal space: a) The enforcementof periodic boundary conditions, which is a problem if the orig<strong>in</strong>al density was isolated <strong>in</strong>space, <strong>in</strong> which case the FFT produce erroneous <strong>in</strong>teractions with the periodically repeated imagesof the orig<strong>in</strong>al densities. b) The division by k 2 , which is a problem if the density has a non-zerototal charge, s<strong>in</strong>ce n(k = 0) = ∫ drn(r).The follow<strong>in</strong>g two sections describes two different techniques for solv<strong>in</strong>g these problems, whichhave both been implemented and tested for performance.The Tuckerman TrickThe first technique is due to Tuckerman [62], and is designed for the reciprocal space approach tothe Poisson equation.Consider for simplicity a cubic unit cell of side length L. Figure 8.3 shows a sketch of thesystem <strong>in</strong> 1D, <strong>in</strong>clud<strong>in</strong>g the artificially repeated images of the density. If we know that the densityaL−aLFigure 8.3: 1D sketch of the Tuckerman problem.is localized with<strong>in</strong> a sphere of diameter a, we can write the potential as∫v T (r) = dr ′ n(r ′ )φ(|r − r ′ |) (8.8)where φ(r) is a truncated Coulomb kernelφ(r) ={1/r , r < r c0 , r ≥ r c(8.9)with a cut-off radius r c satisfy<strong>in</strong>g a < r c < L − a, see figure 8.3. From this, it follows that a < L/2,i.e. the unit cell must be at least twice as big as the extent of the density. Mak<strong>in</strong>g a Fouriertransform of this potential we get∫∫ ∫dkeik·r(2π) 3 v T (k) = dr ′ dk ′eik′·r ′(2π) 3 n(k ′ )φ(|r − r ′ |)∫=dk ′(2π) 3 eik′·r n(k ′ )∫dr ′′ e ik′·r ′′ φ(r ′′ )where r ′′ = r ′ − r. From this we see that the potential <strong>in</strong> reciprocal space isv T (k) = 2πn(k)= 4πn(k)∫ rc0∫ rcr=0rdr∫ π0dr cos(kr)/k= 4πn(k)k 2 (1 − cos(kr c ))ikr cos θs<strong>in</strong> θdθe(8.10)(8.11)3 In a numerical Fourier transform, e.g. FFT, eq. (C.4) has a prefactor 1/N 3 <strong>in</strong>stead of 1/V , thus (8.7) wouldread (n 1 |n 2 ) = 4πV PN 6 k n∗ 1,k n 2,k/k 2


8.3 Miscellaneous 69And the expression for the Coulomb <strong>in</strong>tegral becomes∫dk n ∗(n 1 |n 2 ) = 4π1(k)n 2 (k)(2π) 3 k 2 (1 − cos(kr c )) (8.12)The Tuckerman potential does not suffer from the divergence at k = 0 as:lim v T (k) = 2πrc 2 (8.13)k→0Thus both the problem with non charge-neutral densities, and with the artificial <strong>in</strong>teractions withperiodic images are avoided. The cure however is rather expensive, as the unit-cell must be twiceas big as the extend of the density <strong>in</strong> all three dimensions.Gaussian neutralizationAnother way of cop<strong>in</strong>g with the non-zero total charge, is to just subtract a density of the sametotal charge as the orig<strong>in</strong>al, but with a a well known potential, and then add this afterward. Takefor example the Gaussian density distribution (of unit total charge) described by( a) 3/2n g (r) = e−ar 2 ,πn g (k) = e −k2 /4awith the potentialv g (r) = erf(√ ar),rv g (k) = 4π /4ak 2 e−k2To determ<strong>in</strong>e the potential of a density n with total charge Z, we can then calculate(8.14)(8.15)v[n](r) = v[n − Zn g ](r) + Zv g (r) (8.16)where v[n](r) is the potential of the density n.To do a symmetric neutralization of both densities <strong>in</strong> a Coulomb <strong>in</strong>tegral, one could do(n 1 |n 2 ) = (n 1 − Z 1 n g |n 2 − Z 2 n g ) + (Z ∗ 2 n 1 + Z 1 n ∗ 2 − Z ∗ 1 Z 2 n g |n g ) (8.17)This procedure solves the problem with non-zero total charge, but there can still be artificial<strong>in</strong>teractions from higher order moments (than the monopole) with the periodic images. To takecare of these, one could simply proceed with subtract<strong>in</strong>g generalized gaussians of higher order:v[n](r) = v [n − ∑ L Q Lg L (r)] (r) + ∑ LQ L v L (r) (8.18)where Q L are the multipole moments of n, g L are generalized gaussians, and v L are the potential ofthe gaussians. The potentials v L of the gaussians (7.18), can be determ<strong>in</strong>ed analytically <strong>in</strong> termsof Whittaker functions. These proved difficult to implement,as they satisfied quite complicatedrecursion relations.This method is applicable to both real and reciprocal space solvers. Presently I only neutralizethe monopole.Real SpaceIn pr<strong>in</strong>ciple densities of non-zero total charge is not a problem when solv<strong>in</strong>g the Poisson equationby some real-space differential equation solver. The specific choice of solver used <strong>in</strong> GPAW howevercan not handle charged systems, so when us<strong>in</strong>g the real space solver, I neutralize the density us<strong>in</strong>ggaussians, as expla<strong>in</strong>ed <strong>in</strong> the previous paragraph.A different problem <strong>in</strong> real space is that if one applies Dirichlet BC’s, the potential must becompletely localized with<strong>in</strong> the unit cell to be described properly. Alternatively, one could do amultipole expansion of the density, as described <strong>in</strong> appendix D.2, and then apply the correct BC’s.In this case only the density itself should be completely conta<strong>in</strong>ed with<strong>in</strong> the unit cell, for thepotential to be described correctly.


70 8. Numerical ResultsPeriodic SystemsAll the procedures described above for handl<strong>in</strong>g charged systems, <strong>in</strong>volved isolated systems. Ofcourse charged systems does not make sense if it is periodically repeated, as this would implyan <strong>in</strong>f<strong>in</strong>ite total charge. On the other hand, the densities of the exchange potential (6.77) has anon-zero charge for diagonal terms of the summation (n = n ′ ) <strong>in</strong>dependently of the choice of BC’s.How this should be handled is still an unsolved problem <strong>in</strong> my code. Many papers discuss theproblem of charged systems <strong>in</strong> a periodic cell, but most seem to base their ideas on the periodicboundary conditions be<strong>in</strong>g artificial, i.e. that <strong>in</strong> reality the charged system is isolated and oneshould just correct the error of apply<strong>in</strong>g periodic BC’s.Test of Different Poisson ApproachesTo test my different Coulomb energy calculators, I have applied them to the the electron densityof the Hydrogen atom, i.e. the square of the 1s wave functionfor which the Hartree energy can be calculated analyticallyn 1s (r) = 1 π e−2r (8.19)U H [n 1s ] = 1 2 ((n 1s)) = 5 = 0.3125Ha (8.20)16or equivalently, the exact exchange energy -5/16 Ha (for one electron systems the potential andthe energy of the Hartree and <strong>Exchange</strong> functionals are equal but of opposite sign). This modelsystem has both a non-zero total charge, and a slowly decay<strong>in</strong>g density. It also has a cusp at theorig<strong>in</strong>, which makes it difficult to resolve us<strong>in</strong>g uniform grids. The results are shown <strong>in</strong> figure 8.4The upper left figure shows the convergence of the Hartree energy with respect to the numberof grid-po<strong>in</strong>ts, us<strong>in</strong>g the three different methods: 1) Real space, neutralized with a Gaussian 2)Solved <strong>in</strong> reciprocal space with a Gaussian neutralization and 3) Integrated <strong>in</strong> reciprocal spaceus<strong>in</strong>g the Tuckerman trick. It is seen that all methods converge almost exponentially to with<strong>in</strong> 3mHartree at 44 3 = 85184 grid-po<strong>in</strong>ts. After that not much accuracy can be ga<strong>in</strong>ed, especially notfor the real-space solver.The upper right figure compares the computational cost of the three methods. The real-spacesolver determ<strong>in</strong>es the potential by an iterative approach. It is seen that the real-space methodscales quadratically with the total number of grid-po<strong>in</strong>ts (the time per iteration (bottom left)<strong>in</strong>creases l<strong>in</strong>early, and the number of iterations required for the Poisson solver to converge (bottomright) scales approximately l<strong>in</strong>ear with the number of grid-po<strong>in</strong>ts). The two k-space methods scalealmost l<strong>in</strong>early (N log N) with the grid-po<strong>in</strong>ts, the Gaussian neutralization be<strong>in</strong>g slightly fasterthan the Tuckerman procedure (presumably due to the evaluation of the cos<strong>in</strong>e function <strong>in</strong> (8.11)).The size of the unit cell is 20 Bohr.It seems that solv<strong>in</strong>g the Poisson equation <strong>in</strong> reciprocal space, us<strong>in</strong>g a gaussian neutralizationis the best choice, so this is the method I use for all serial calculations. When runn<strong>in</strong>g the code <strong>in</strong>parallel, I use the real-space solver, as this is the only one that works <strong>in</strong> parallel presently.


HG¡"!$#&%')(+*,*-/.$0'#&%1"(+*,*>>KJ¡¡::?@"!?@-/.A0'#B%'"(/*,*8.3 Miscellaneous 71¢¡¤©= ¡?@-/.A0'#B23(/-/4¨5768"9 -/.$0'#&23(/-/4¨5768"9¢¡¨¥


Chapter 9ConclusionSeveral tests show that <strong>in</strong>clusion of exact exchange <strong>in</strong> density functional calculations improvesatomization energies of molecules, the HOMO-LUMO band gaps of the Kohn-Sham orbitals, thecohesive energies of solids etc to a large degree, and so seems to be an important step towardsreach<strong>in</strong>g chemical accuracy <strong>in</strong> the predicted values of DFT. There are also theoretical argumentswhy exchange should be treated exactly, among other th<strong>in</strong>gs, exact exchange removes the spuriousself-<strong>in</strong>teraction of the Hartree potential, and has the correct 1/r asymptotic behavior required forthe existence of a Rydberg series. Unfortunately <strong>in</strong>clud<strong>in</strong>g non-local contributions <strong>in</strong> the exchangeenergy, is <strong>in</strong>compatible with local approximations of the correlation energy, as the supposed longrange cancellation can not be achieved. This <strong>in</strong>compatibility is sought solved by a) <strong>in</strong>clud<strong>in</strong>g onlya fraction of exact exchange, or b) screen the Coulomb kernel of exact exchange c) devise new(non-local) correlation functionals compatible with non-local exact exchange.The subject of implement<strong>in</strong>g exact exchange <strong>in</strong> PAW had, at the start of my project, not beenstudied <strong>in</strong> literature. There has however recently been published a paper by Paier et al. [36],on the subject. Although they use the formulation of PAW by Joubert and Kresse, [58], theirf<strong>in</strong>al equations seems to be equivalent to m<strong>in</strong>e. They have made a self-consistent implementationof the hybrid HF-KS method, and the results demonstrated <strong>in</strong> the paper shows promise for theapplication of the method. Specifically they show consistent results with exist<strong>in</strong>g all-electronimplementations of exact exchange. They get an agreement <strong>in</strong> atomization energies of less than 1kcal/mol of their plane wave based PAW program Vasp compared to Gaussian which is an allelectron method us<strong>in</strong>g a localized basis set. That PAW calculations can compare this well withall electron methods is encourag<strong>in</strong>g, as the computational speed-up of us<strong>in</strong>g PAW is very high.I have made an implementation of exact exchange <strong>in</strong> the GPAW program, which currentlysupports non-self-consistent EXX evaluations for isolated systems. Test<strong>in</strong>g the code shows that itperforms well. I have made all the derivations necessary for a self-consistent implementation ofe.g. hybrid HF-KS or a number of other exchange methods. The only part miss<strong>in</strong>g is the actualimplementation.Future work <strong>in</strong>cludes mak<strong>in</strong>g the code work for periodic systems, f<strong>in</strong>ish<strong>in</strong>g the implementationof the self-consistent hybrid HF-KS scheme, <strong>in</strong>clud<strong>in</strong>g other exact exchange methods like KLI,LHF, and OEP, which are all procedures for localiz<strong>in</strong>g the non-local HF potential (<strong>in</strong> the sense ofmak<strong>in</strong>g it multiplicative; the result<strong>in</strong>g potential is still non-local <strong>in</strong> the sense that it depends onthe global structure of the density) and to <strong>in</strong>troduce screened exchange, which is just a screen<strong>in</strong>gof the coulomb kernel of the exact exchange expression, mak<strong>in</strong>g it more compatible with localcorrelation approximations.One should note that the purpose of go<strong>in</strong>g through all the added complexity of the PAWmethod is that it is much faster than traditional all electron methods, and exact exchange is<strong>in</strong>accessible <strong>in</strong> other pseudopotential methods, as it requires access to the core orbitals.73


References[1] J. P. Perdew, S. Kurth, E. Engel, R. Dreizler, M. A. L. Marques, and E. K. U. GrossA Primer <strong>in</strong> <strong>Density</strong> <strong>Functional</strong> TheorySpr<strong>in</strong>ger-Verlag Berl<strong>in</strong> Heidelberg 2003C. Fiolhais, F. Nogueira, M. Margues (Eds.)Lecture Notes <strong>in</strong> Physics, Vol. 620, 2003.[2] The gPAW code is freely available at https://wiki.fysik.dtu.dk/gridcode/Gridcode[3] M. P. MarderCondensed Matter PhysicsJohn Wiley & Sons Inc., 2000.[4] P. Hohenberg and W. KohnInhomogeneous electron gasPhysical Review, Vol. 136, B864–B871, 1964.[5] W. Kohn and L. J. ShamSelf-consistent equations <strong>in</strong>clud<strong>in</strong>g exchange and correlation effectsPhysical Review, Vol. 140, A1133–1138, 1965.[6] W. KohnNobel lecture: Electronic structure of matter - wave functions and density functionalsReviews of Modern Physics, Vol. 71 No. 5, October 1999.[7] M. LevyUniversal variational functionals of electron densities, first-order density matrices, and naturalsp<strong>in</strong>-orbitals and solution of the ν-representability problemProceed<strong>in</strong>gs of the National Academy of Sciences U.S.A., Vol. 76, 6062–6065, 1979.[8] A. Seidl, A. Görl<strong>in</strong>g, P. Vogl, J. A. Majewski, and M. LevyGeneralized Kohn-Sham chemes and the band-gap problemPhysical Review B, Vol. 53, 3764–3774, 1996[9] A. Görl<strong>in</strong>g and M. LevyHybrid schemes comb<strong>in</strong><strong>in</strong>g the Hartree-Fock methods and density-functional theory: underly<strong>in</strong>gformalism and properties of correlation functionalThe Journal of Chemical Physics, Vol. 106, 2676–2680, 1997[10] L. H. ThomasThe calculation of atomic fieldsProceed<strong>in</strong>gs of the Cambridge Philosophical Society, Vol. 23, 542–548, 1927.[11] E. FermiStatistical method of <strong>in</strong>vestigat<strong>in</strong>g electrons <strong>in</strong> atomsZeitschrift für Physik, Vol. 48, 73–79, 192875


76 REFERENCES[12] P. A. M. Dirac<strong>Exchange</strong> phenomena <strong>in</strong> the Thomas atomProceed<strong>in</strong>gs of the Cambridge Philosophical Society, Vol. 26, 376–385, 1930[13] E. H. LiebThomas-Fermi and related theories of atoms and moleculesReviews of modern physics, Vol. 53(4), 603–641, 1981[14] J. P. Perdew and K. SchmidtJacob’s Ladder of <strong>Density</strong> <strong>Functional</strong> Approximations for the <strong>Exchange</strong>-Correlation EnergyAmerican Institute of Physics, Conference Proceed<strong>in</strong>gs, Issue 577, 1-20, 2001.[15] D. M. Ceperly and B. J. AlderGround State of the Electron Gas by a Stochastic MethodPhysical Review Letters, Vol. 45, 566–569, 1980[16] L. Wilk, S.J. Vosko, and M. Nusair.Accurate sp<strong>in</strong>-dependent electron liquid correlation energies for local sp<strong>in</strong> density calculations:a critical analysisCanadian Journal of Physics, Vol. 58, 1200–1211, 1980[17] J. P. Perdew and A. ZungerSelf-<strong>in</strong>teraction correction to density-functional approximations for the many-electron systemsPhysical Review B, Vol. 23, 5048–5079[18] J. P. Perdew and Y. WangAccurate and simple analytic representation of the electron-gas correlation energyPhysical Review B, Vol. 45, 13244–13249, 1992[19] J. P. Perdew, K. Burke, and M. ErnzerhofGeneralized gradient approximation made simplePhysical Review Letters, Vol. 77, 3865–3868, 1996[20] J. P. Perdew, M. Ernzerhof, A. Zupan, and K. BurkeNonlocality of the density functional for exchange and correlation: physical orig<strong>in</strong>s and chemicalconsequencesJournal of Chemical Physics, Vol. 108, 1522–1531, 1998[21] Y. Zhang and W. YangComment on ”Generalized Gradient Approximation Made Simple”Physical Review Letters, Vol. 80, 890, 1998[22] L. B. Hansen, B. Hammer, and J. K. NørskovImproved adsorbtion energetics with<strong>in</strong> density functional theory us<strong>in</strong>g revised perdew-burkeernzerhoffunctionalsPhysical Review B, Vol. 59, 7413–7421, 1999[23] D. J. Chadi and M. L. CohenSpecial Po<strong>in</strong>ts <strong>in</strong> the Brillou<strong>in</strong> ZonePhysical Review B, Vol. 8, 5747–5753, 1973[24] H. J. Monkhorst and J. D. PackSpecial po<strong>in</strong>ts for the Brillou<strong>in</strong>-zone <strong>in</strong>tegrationPhysical Review B, Vol. 13, 5188–5192, 1976[25] P. E. BlöchlProjector augmented-wave methodPhysical Review B, Vol. 50 no 23, 17953–17979, 1994.


REFERENCES 77[26] P. E. Blöchl, C. J. Först, and J. SchimplProjector Augmented Wave Method: ab-<strong>in</strong>itio molecular dynamics with full wave functionsBullet<strong>in</strong> of Materials Science, Vol. 26, 33–41, 2003.[27] J. J. Mortensen, L. B Hansen, and K. W. JacobsenReal-space grid implementation of the projector augmented wave methodPhysical Review B, Vol. 71, 035109, 2005[28] S. Kurth, J. P. Perdew, and P. BlahaMolecular and Soild-State Tests of <strong>Density</strong> <strong>Functional</strong> Approximations: LSD, GGAs, andMeta-GGAsInternational Journal of Quantum Chemistry, Vol. 75, 889–909, 1999[29] J. Tao, J. P. Perdew, V. N. Staroverov, and G. E. ScuseriaClimb<strong>in</strong>g the <strong>Density</strong> <strong>Functional</strong> Ladder: Nonempirical Meta-Generalized Gradient ApproximationDesigned for Molecules and SolidsPhysical Review Letters, Vol. 91, 146401, 2003[30] J. Tao, J. P. Perdew, V. N. Staroverov, and G. E. ScuseriaTest of a ladder of density functionals for bulk solids and surfacesPhysical Review B, Vol. 69, 075102, 2004[31] M. C. Payne, M. P. Teter, D. C. Allan, T.A. Arias and J. D. JoannopoulosIterative m<strong>in</strong>imization techniques for ab <strong>in</strong>itio total-energy calculations: molecular dynamicsand conjugate gradientsReviews of Modern Physics, Vol. 64, p. 1045, 1992.[32] G. B. Arfken and H. J. WeberMathematical Methods for PhysicistsAcacdemic Press, 5’th edition, 2001.[33] S.R. ElliotThe Physics and Chemistry of SolidsJohn Wiley & Sons Inc., 1998.[34] B. Hammer and J. K. NørskovTheory of Adsorbtion and Surface Reactions <strong>in</strong>Chemisorption and reactivity on supported clusters and th<strong>in</strong> filmseds. R.M. Lambert and G. PacchioniKluwer, Holland, 1997[35] W. H. Press, B. P. Flannery, S. A. Teukolski, and W. T. Vetterl<strong>in</strong>gNumerical recipes <strong>in</strong> C1. edn, Cambridge University PressCambridge, 1986[36] J. Paier, R. Hirschl, M. Marsman, and G. KresseThe Perdew-Burke-Ernzerhof exchange-correlation functional applied to the G2-1 test set us<strong>in</strong>ga plane-wave basis setThe Journal of Chemical Physics, vol. 122, 234102, 2005[37] J. Paier, M. Marsman, K. Hummer, and G. KresseScreened hybrid density functionals applied to solidsThe Journal of Chemical Physics, vol. 124, 154709, 2006[38] J. Heyd, G. E. Scuseria, and M. ErnzerhofHybrid functionals based on a screened Coulomb potentialThe Journal of Chemical Physics, vol. 118, 8207–8215, 2003


78 REFERENCES[39] J. Heyd and G. E. ScuseriaAssessment and validation of a screened Coulomb hybrid density functionalThe Journal of Chemical Physics, vol. 120, 7274–7280, 2004[40] V. Barone and G. E. ScuseriaTheoretical study of the electronic properties of narrow s<strong>in</strong>gle carbon nanotubes: Beyond thelocal density approximationThe Journal of Chemical Physics, vol. 121, 10376–10379, 2004[41] V. Barone, J. E. Peralta, and G. E. ScuseriaScreened exchange hybrid density-functional study of the work function of prist<strong>in</strong>e and dopeds<strong>in</strong>gle-walled carbon nanotubesThe Journal of Chemical Physics, vol. 124, 024709, 2006[42] J. P. Perdew, M. Ernzerhof, and K. BurkeRationale for mix<strong>in</strong>g exact exchange with density functional approximationsThe Journal of Chemical Physics, vol. 105, 9982–9985, 1996[43] M. Ernzerhof and G. E. ScuseriaAssessment of the Perdew-Burke-Ernzerhof exchange-correlation functionalThe Journal of Chemical Physics, vol. 110, 5029–5036, 1999[44] C. Adamo and V. BaroneToward reliable density functional methods without adjustable parameters: The PBE0 modelThe Journal of Chemical Physics, vol. 110, 6158–6170, 1999[45] A. D. BeckeA new mix<strong>in</strong>g of Hartree-Fock and local density-functional theoriesThe Journal of Chemical Physics, Vol. 98, 1372–1377, 1993[46] A. D. Becke<strong>Density</strong>-functional thermochemistry. I. The effect of the exchange-only gradient correctionThe Journal of Chemical Physics, Vol. 96, 2155–2160, 1992[47] A. D. Becke<strong>Density</strong>-functional thermochemistry. II. The effect of the Perdew-Wang generalized-gradientcorrelation correctionThe Journal of Chemical Physics, Vol. 97, 9173–9177, 1992[48] A. D. Becke<strong>Density</strong>-functional thermochemistry. III. The role of exact exchangeThe Journal of Chemical Physics, Vol. 98, 5648, 1993[49] A. D. Becke<strong>Density</strong>-functional thermochemistry. IV. A new dynamical correlation dunctional and implicationsfor exact-exchange mix<strong>in</strong>gThe Journal of Chemical Physics, Vol. 104, 1040–1046, 1996[50] A. Heßelmann and F. R. ManbyEfficient exact exchange approximations <strong>in</strong> the density-functional theoryThe Journal of Chemical Physics, Vol. 123, 164116, 2005[51] F. D. Sala and A. Görl<strong>in</strong>gEfficient localized Hartree-Fock methods as effective exact-exchange Kohn-Sham methods formoleculesThe Journal of Chemical Physics, Vol. 115, 5718-5732, 2001


REFERENCES 79[52] A. Görl<strong>in</strong>gOrbital- and state-dependent functionals <strong>in</strong> density-functional theoryThe Journal of Chemical Physics, Vol. 123, 062203, 2005[53] A. Görl<strong>in</strong>g and M. Levy<strong>Exact</strong> Kohn-Sham scheme based on perturbation theoryPhysical Review A, Vol. 50, 196–204, 1994[54] A. M. Teale and D. J. Tozer<strong>Exchange</strong> methods <strong>in</strong> Kohn-Sham theoryPhysical Chemistry Chemical Physics, Vol. 7, 2991–2998, 2005[55] S. Kümmel and J. P. PerdewSimple Iterative Construction of the Optimized Effective Potential for Orbital <strong>Functional</strong>s,Includ<strong>in</strong>g <strong>Exact</strong> <strong>Exchange</strong>Physical Review Letters, Vol. 90, 043004, 2003[56] S. Kümmel and J. P. PerdewOptimized effective potential made simple: Orbital functionals, orbital shifts, and the exactHohn-Sham exchange potentialPhysical Review B, Vol. 68, 035103, 2003[57] J. B. Krieger, Y. Li, and G. J. IafrateSystematic approximations to the optimized effective potential: application to orbital-densityfunctionaltheoryPhysical Review A, Vol. 46, 5453–5458, 1992[58] G. Kresse and D. JoubertFrom ultrasoft pseudopotentials to the projector augmented-wave methodPhysical Review B, Vol. 59, 1758–1775, 1999[59] O. Gunnarsson and B. I. Lundqvist<strong>Exchange</strong> and correlation <strong>in</strong> atoms, molecules, and solids by the sp<strong>in</strong>-density-functional formalismPhysical Review B, Vol. 13, 4274–4298, 1976[60] J. C. SlaterQuantum Theory of Atomic Structure, Vol. IMcGraw-Hill, New York, 1960[61] S. Obara and A. SaikaEfficient recursive computation of molecular <strong>in</strong>tegrals over Cartesian Gaussian functionsThe Journal of Chemical Physics, Vol. 84, 3963–3974, 1986[62] Private communications with Jens-Jørgen Mortensen[63] K. Flensberg and H. BruusMany-Body Quantum Theory <strong>in</strong> Condensed Matter OhysicsOxford university press, New York, 2004[64] T. Grabo, T. Kreibich, S. Kurth, and E.K.U. GrossOrbital functionals <strong>in</strong> density functional theory: the optimized effective potential method<strong>in</strong>: Strong Coulomb Correlations <strong>in</strong> Electronic Structure <strong>Calculations</strong>: Beyond the Local<strong>Density</strong> ApproximationV. I. Anisimov, ed(s)Gordon and Breach, p 203–311, 2000


80 REFERENCES[65] H. H. H. Homeier and E. O. Ste<strong>in</strong>bornSome properties of the coupl<strong>in</strong>g coefficients of real spherical harmonics and their relation toGaunt coefficientsJournal of Molecular Structure (Theochem), Vol. 368, 31–37, 1996


Appendix A<strong>Exact</strong> <strong>Exchange</strong>The non-<strong>in</strong>teract<strong>in</strong>g system is described by the HamiltonianH 0 = ∑ νɛ ν c † νc ν(A.1)where c † ν and c ν is the creation and annihilation operator respectively, <strong>in</strong>dicat<strong>in</strong>g the creation/annihilationof a particle <strong>in</strong> the s<strong>in</strong>gle particle state ν.The eigenstates of the Hamiltonian is a Slater determ<strong>in</strong>ant denoted by |n 1 n 2 n 3 . . .〉, where n νis the occupation of the s<strong>in</strong>gle particle state ν. The occupations n ν can take the values 0 or 1, andwe keep the number of particles fixed, i.e. ∑ ν n ν = N. ∑ {n ν}Will be used to <strong>in</strong>dicate the <strong>in</strong>f<strong>in</strong>itesum over all possible slater determ<strong>in</strong>ants, i.e. all exited states of the N particle non-<strong>in</strong>teract<strong>in</strong>gsystem. I.e.∑ 1∑ 1∑ 1∑=. . .{n ν}n 1=0 n 2=0 n 3=0The Coulomb <strong>in</strong>teraction is <strong>in</strong>cluded as a perturbation to H 0H = H 0 + V <strong>in</strong>t(A.2)where V <strong>in</strong>t <strong>in</strong> the first quantization is:and <strong>in</strong> second quantization:V <strong>in</strong>t = 1 ∑v(r i − r j )2V <strong>in</strong>t = 1 2i≠j∑v αβ,γδ c † αc † β c δc γαβγδ(A.3)(A.4)where∫∫v αβ,γδ =drdr ′ φ ∗ α(r)φ ∗ β(r ′ )v(|r − r ′ |)φ γ (r)φ δ (r ′ )(A.5)and v(|r − r ′ |) = 1/|r − r ′ | is the Coulomb kernel.To determ<strong>in</strong>e expectation values, we need the density matrixρ 0 = e −βH0(A.6)81


82 A. <strong>Exact</strong> <strong>Exchange</strong>with β = 1/k B T , and we need the partition functionZ 0 = Tr ρ 0= ∑ {n ν}〈n 1 n 2 . . . |e −β P ν ɛνc† ν cν |n 1 n 2 . . .〉= ∑ ∏e −βɛνnν{n ν} ν= ∏ (1 + e−βɛ ν)ν(A.7)where n ν is the occupation of state ν.We can now determ<strong>in</strong>e〈V <strong>in</strong>t 〉 0 = 1 Z 0Tr[ρ 0 V <strong>in</strong>t ]= 1 ∑〈n 1 n 2 . . . |e −β P 1 ∑ν ɛνc† ν cν v αβ,γδ c †Z 0 2αc † β c δc γ |n 1 n 2 . . .〉= 12Z 0{n ν}∑ ∑v αβ,γδαβγδαβγδ{n ν}〈n 1 n 2 . . . |c † αc † β c δc γ |n 1 n 2 . . .〉 ∏ νe −βɛνnν(A.8)us<strong>in</strong>g wicks theorem, we see that 〈n 1 n 2 . . . |c † αc † β c δc γ |n 1 n 2 . . .〉 = n α n β (δ αγ δ βδ − δ αδ δ βγ )〈V <strong>in</strong>t 〉 0 = 1 ∑ ∑n α n β [v αβ,αβ − v αβ,βα ] ∏ e −βɛνnν2Z 0αβ {n ν} ν= 1 ∏ ( )∑[v αβ,αβ − v αβ,βα ] e −βɛα e −βɛ β ν≠α,β 1 + e−βɛ ν∏2ν (1 + ) e−βɛναβ= 1 ∑e −βɛα e −βɛ β[v αβ,αβ − v αβ,βα ] e −βɛα21 + e −βɛα 1 + eαβ} {{ }−βɛ β} {{ }f αf β= 1 ∑f α f β [v αβ,αβ − v αβ,βα ]2αβ(A.9)where we have identified the Fermi distributions f. Insert<strong>in</strong>g eq. (A.5) we see that:〈V <strong>in</strong>t 〉 0 = 1 ∑∫∫f α f β2αβdrdr ′ [ φ∗α (r)φ ∗ β (r′ )φ α (r)φ β (r ′ )|r − r ′ |− φ∗ α(r)φ ∗ β (r′ )φ β (r)φ α (r ′ ])|r − r ′ |= 1 ∫∫[∑drdr ′ α f α|φ α (r)| 2] [ ∑]β f β|φ β (r ′ )| 22|r − r ′ |(A.10)− 1 ∫∫drdr ′ |∑ α f αφ ∗ α(r)φ α (r ′ )| 22|r − r ′ |= U H + E x


Appendix BWannier Functions and <strong>Exact</strong><strong>Exchange</strong>Although the Bloch representation is very advantageous for the actual calculations of the eigenstateof a s<strong>in</strong>gle particle Hamiltonian, it is not necessarily well suited for other purposes, such asvisualization, <strong>in</strong>terpretation and tight-b<strong>in</strong>d<strong>in</strong>g approximations, for which localized states are moreconvenient. Therefore a suitable (unitary) transformation of the Bloch states, subsequent to us<strong>in</strong>gthese for solv<strong>in</strong>g the appropriate Schröd<strong>in</strong>ger equation, is often applied.For a crystal of N k lattice po<strong>in</strong>t, or equivalently a Monkhorst-Pack sampl<strong>in</strong>g of the Brillou<strong>in</strong>zone with a total of N k k-po<strong>in</strong>ts, the Wannier transformation is def<strong>in</strong>ed byw nR = √ 1 ∑e ∑ −ik·R U knm ψ mkNkmk(B.1)To get the <strong>in</strong>verse transformation, we multiply by ∑ R exp(ik′ · R)/ √ N k on both sides1 ∑√ e ik′·R w nR = ∑NkRk1 ∑ ∑e i(k′ −k)·RU knm ψ mk = ∑ N kRmm} {{ }δ kk ′U k′ nmψ mk ′(B.2)and multiply<strong>in</strong>g by ∑ n U k ∗ ′ nlwe get∑U ∗ 1 ∑k ′ nl √ e ik′·R w nR = ∑NknmR∑U ∗ k ′ nlU k ′ nmψ mk ′ = ψ lk ′ (B.3)n} {{ }δ lmwhere it has been used that U is unitary, i.e. U · U † = 1 ⇒ ∑ δ U αδU ∗ βδ = δ αβ.From this, we get the <strong>in</strong>verse rotationψ nk = √ 1 ∑e ∑ ik·RNkmRU ∗ kmnw mR(B.4)The Wannier functions have a very useful translational symmetry. This is seen by us<strong>in</strong>g thatψ nk (r + R) = exp(ik · R)ψ nk (r), to getw nR (r) = √ 1 ∑e ∑ −ik·R U knm ψ mk (r)Nkkm= √ 1 ∑e ∑ −ik·R U knm e ik·R ψ mk (r − R)Nkmk= w n0 (r − R)(B.5)83


84 B. Wannier Functions and <strong>Exact</strong> <strong>Exchange</strong><strong>Exact</strong> <strong>Exchange</strong>To determ<strong>in</strong>e the expression for exact exchange <strong>in</strong> terms of Wannier functions, the <strong>in</strong>verse transformationis applied to the standard expressionE xx = − 1 ∑2= − 1 ∑2where= − 1 2= − 1 2kk ′ ∑nmkk ′ ∑nm∑ ∑kk ′ nm∑αβγδ∑f n f m ((ψ ∗ nkψ mk ′))f n f m (ψ ∗ nkψ mk ′|ψ ∗ nkψ mk ′)(∣1 ∑ ∑f n f m √ e −ik·Rα U kαn w ∗ 1 ∑ ∑∣∣∣∣αR α√ e ik′·R βUk ∗ Nk Nkβmw ′ βRβR α αR ββ)1 ∑ ∑√ e −ik·Rγ U∣kγn wγR ∗ 1 ∑ ∑γ√ e ik′·R δUk ∗ ′ Nk Nkδmw δRδR γF αγ F ∗ βδ (wαR ∗ R αw βRβ |wγR ∗ γw δRδ )αR γR αR R ββ R δR γR δ= 1 ∑e ∑ ik(Rα−Rγ) f n UR αR γ NkαnU ∗ kγnknF αγkγR δδ(B.6)(B.7)For extended systems with a band-gap, the occupation numbers are all unity below the Fermilevel, soF αγ= 1 ∑e ∑ ik(Rα−Rγ) U ∗ 1 ∑R αR γ NkαnU kγn = δ αγ e ik(Rα−Rγ) = δ αγ δ RαRk Nγnkkk(B.8)such thatE xx = − 1 ∑ ∑(wαR ∗ 2αw βRβ |wαR ∗ αw βRβ )αβ R αR β= − 1 ∑ ∑((w2αRw ∗ βR ′))αβ RR ′= − N ∑ ∑k((w ∗2α0w βR ))αβR(B.9)where <strong>in</strong> the last l<strong>in</strong>e, the translational symmetry of the Wannier functions have been used toreduce the order of the summation.


Appendix CFourier TransformTo represent a state |f〉 as a function of position <strong>in</strong> real space, we project it onto the basis functionsof real space |r〉, to get 〈r|f〉 = f(r). At times it is advantageous to represent states <strong>in</strong> reciprocal (orFourier) space. This is the space spanned by the periodic eigenstates |k〉 of the Laplace operator:〈r|k〉 = e ik·r(C.1)Due to the periodicity of the complex exponential, the eigenstates |k〉 are only dist<strong>in</strong>ct for −π ≤k · r < π (or a similar 2π <strong>in</strong>terval).C.1 F<strong>in</strong>ite Volume - Discrete kFor a f<strong>in</strong>ite real space, the periodic boundary conditions required of the k-states imply a discretespectrum of eigenstates. In this case, we have the completeness relations∫dr|r〉〈r| = 1(C.2a)1V∑|k〉〈k| = 1k(C.2b)from which it is easily seen thatf(r) = 〈r|f〉 = 1 V∑〈r|k〉〈k|f〉 = 1 Vk∑e ik·r f kk(C.3)and∫f k = 〈k|f〉 =∫dr〈k|r〉〈r|f〉 =dre −ik·r f(r)(C.4)Note the useful relations to the Dirac delta functions〈r|r ′ 〉 = 1 ∑∫e ik·(r−r′) = δ(r − r ′ ) and 〈k|k ′ 〉 =VkC.2 Inf<strong>in</strong>ite Volume - Cont<strong>in</strong>uous kdre −i(k−k′ )·r = V δ k,k ′(C.5)The cont<strong>in</strong>uous version of the Fourier transform is obta<strong>in</strong>ed by the substitution1 ∑∫dk→V (2π) 3k(C.6)85


86 C. Fourier Transformsuch that the transformation rules (C.3)-(C.4) translates to∫dkf(r) = f(k)eik·r(2π) 3(C.7)and∫f(k) =drf(r)e −ik·r(C.8)In the cont<strong>in</strong>uous case, the delta functions are given by∫∫〈r|r ′ dk〉 = eik·(r−r′) (2π) 3 = δ(r − r ′ ) and 〈k|k ′ 〉 =dre −i(k−k′ )·r = (2π) 3 δ(k − k ′ )(C.9)


Appendix DMultipoles and SphericalHarmonicsD.1 Spherical polar coord<strong>in</strong>atesI choose the name convention for the curvil<strong>in</strong>ear coord<strong>in</strong>ates of the spherical coord<strong>in</strong>ate system, <strong>in</strong>which φ is the azimuthal angle <strong>in</strong> the xy-plane from the x-axis with 0 ≤ φ < 2π, θ is the polar anglefrom the z-axis with 0 ≤ θ ≤ π, and r is the distance (radius) from a po<strong>in</strong>t to the orig<strong>in</strong>. This isthe convention most commonly used among physicists, while mathematicians usually <strong>in</strong>terchangethe two angular coord<strong>in</strong>ates.Figure D.1: Spherical polar coord<strong>in</strong>atesThe spherical coord<strong>in</strong>ates (r, θ, φ) are related to the Cartesian coord<strong>in</strong>ates (x, y, z) by⎧⎪⎨ r = √ ⎧x 2 + y 2 + z 2θ = tan⎪⎩−1 ( √ ⎪⎨ ˆr = s<strong>in</strong> θ cos φˆx + s<strong>in</strong> θ s<strong>in</strong> φŷ + cos θẑx 2 + y 2 /z) ˆθ = cos θ cos φˆx + cos θ s<strong>in</strong> φŷ − s<strong>in</strong> θẑ⎪⎩φ = tan −1 (y/x)ˆφ = − s<strong>in</strong> φˆx + cos φŷ(D.1)where the <strong>in</strong>verse tangent must be suitably def<strong>in</strong>ed to take the correct quadrant of (x, y) <strong>in</strong>toaccount.87


88 D. Multipoles and Spherical HarmonicsInversely, the Cartesian coord<strong>in</strong>ates are related to the spherical by⎧⎧⎪⎨ x = r cos φ s<strong>in</strong> θ⎪⎨ ˆx = s<strong>in</strong> θ cos φˆr + cos θ cos φ ˆθ − s<strong>in</strong> φ ˆφy = r s<strong>in</strong> φ s<strong>in</strong> θŷ = s<strong>in</strong> θ s<strong>in</strong> φˆr + cos θ s<strong>in</strong> φ⎪⎩⎪⎩ˆθ + cos φ ˆφz = r cos θẑ = cos θˆr − s<strong>in</strong> θ ˆθThe relevant differential quantities are:(D.2)L<strong>in</strong>e element: dl =drˆr + rdθ ˆθ + r s<strong>in</strong> θdφ ˆφ (D.3a)Volume element: dr =r 2 s<strong>in</strong> θdrdθdφ (D.3b)Gradient:∇t = ∂t∂r ˆr + 1 ∂tr ∂θ ˆθ + 1 ∂tr s<strong>in</strong> θ ∂φ ˆφDivergence: ∇ · v = 1 ∂r 2 ∂r (r2 v r ) + 1 ∂r s<strong>in</strong> θ ∂θ (s<strong>in</strong> θv θ) + 1 ∂v φr s<strong>in</strong> θ ∂φCurl: ∇ × v = 1 [ ∂r s<strong>in</strong> θ ∂θ (s<strong>in</strong> θv φ) − ∂v ]θˆr∂φ+ 1 [ 1 ∂v rr s<strong>in</strong> θ ∂φ − ∂ ]∂r (rv φ) ˆθ + 1 [ ∂r ∂r (rv θ) − ∂v ]r ˆφ∂θLaplacian: ∇ 2 t = 1 (∂r 2 r 2 ∂t )(1 ∂+∂r ∂r r 2 s<strong>in</strong> θ ∂t )1 ∂ 2 t+s<strong>in</strong> θ ∂θ ∂θ r 2 s<strong>in</strong> 2 θ ∂φ 2D.2 Multipole Expansion(D.3c)(D.3d)(D.3e)(D.3f)The potential v(r) of the density n(r) is given by∫v(r) = dr ′ n(r ′ )|r − r ′ |(D.4)Rif we know that the density is localized with<strong>in</strong> a sphere ofradius R of our chosen orig<strong>in</strong>, see the figure on the right,the <strong>in</strong>tegrand of eq. (D.4) is only nonzero for r ′ < R. If weonly wish to know the potential at positions outside of saidsphere, r > R, we can use the expansion theorem for theCoulomb kernel [32] <strong>in</strong> spherical harmonics Y L (see sectionD.3 for a def<strong>in</strong>ition):ρr ′OX1|r − r ′ | = ∑ L4π2l + 1rl+1Y ∗ L (ˆr)Y L (ˆr ′ )(D.5)rwhere, s<strong>in</strong>ce r ′ < R < r, we can identify r < = m<strong>in</strong>(r, r ′ ) = r ′and r > = max(r, r ′ ) = r.Insert<strong>in</strong>g (D.5) <strong>in</strong> equation (D.4) we get the identityv(r) = ∑ L4π Q L2l + 1 r l+1 Y L ∗ (r) , for r > R(D.6)where the expansion coefficients Q L are given by∫Q L = drr l n(r)Y L (r)(D.7)The expansion (D.6) is called a multipole expansion, and the coefficients (D.7) the multipolemoments. The set of moments Q lm for fixed l are known as the monopole for l = 0, the dipole forl = 1, the quadrupole for l = 2, the octopole for l = 3 (as 2 3 = 8), etc. Evidently the <strong>in</strong>dividualmultipole components of the potential fall off as 1/r l+1 far from the density, so the dom<strong>in</strong>antcontributions should be the low order moments.


D.3 Spherical Harmonics 89Generalized GaussiansConsider the generalized Gaussian functions:g L (r) = g l (r)Y L (ˆr)(D.8)where Y L (ˆr) are the spherical harmonics, and g l (r) are given by:g l (r) = 1 √4πl!(2l + 1)! (4α)l+3/2 r l e −αr2 (D.9)The spherical harmonics form a complete set of functions which are orthonormal with the weights<strong>in</strong> θ. They can thus be used as an expansion basis for any radially <strong>in</strong>dependent function.The gaussians g l (r) also form a complete set of functions. They are orthogonal with the weightr 2 and are normalized such that ∫r 2 drr l g l (r) = 1(D.10)From which we conclude that the functions g L (r) form a complete basis set.The multipole moments of g L (r) are Q L ′ = δ L,L ′, s<strong>in</strong>ce∫∫∫∫Q L ′ = drr l′ g L (r)Y L ′(ˆr) = r l′ +2 g l (r)dr Y L (ˆr)Y L ′(ˆr)dˆr = r l+2 g l (r)drδ L,L ′ = δ L,L ′(D.11)which makes them very useful for mak<strong>in</strong>g expansions with specific multipole moments. The generalizedGaussians and various <strong>in</strong>tegrals of these, have been studied <strong>in</strong> detail <strong>in</strong> [61].Note that us<strong>in</strong>g eq. (7.5), the potential of the gaussians can be evaluated analytically, giv<strong>in</strong>gv L (r) = v l (r)Y L (ˆr), where the radial part is given by:√4πl!(4a)l+3/2∫ r∫ ∞]v l (r) =[r −l−1 r ′ 2l+2 e−ar ′2 dr ′ + r l r ′ e −ar′2 dr ′(2l + 1)(2l + 1)!0{= 2√ 4π l! (4a) l+1/2(2l + 1)(2l + 1)! rl e ar2 1 +=2e ar2 /2M(2l + 3)(ar 2 2l+1)l/2+1/4r4 , 2l+348 √ {πa l!(2l + 1)(2l + 1)! (4ar)l e ar2 1 + 2√ ar(2l + 3) 1 F 1 (1, l + 5/2; ar 2 )(ar 2 )where M k,m (z) is the Whittaker function, and 1 F 1 (k, m; z) is the confluent hypergeometric functionof the first k<strong>in</strong>d. The first few potentials are listed below.v 0 (r) = 4√ πr 1 { √π erf(√ ar)}v 1 (r) = 4√ π3r 2 { √π erf(√ ar)− 2√ are−ar 2}v 2 (r) = 4√ π15r 3 {3 √ π erf (√ ar ) − ( 6 + 4( √ ar) 2) √ are −ar2}v 3 (r) = 4√ π105r 4 {15 √ π erf (√ ar ) − ( 30 + 20( √ ar) 2 + 8( √ ar) 4) √ are −ar2}D.3 Spherical HarmonicsConsider the orbital angular momentum operatorˆL = ̂Q × ̂P= rˆr × −i∇[= −i ˆφ ∂ ∂θ − ˆθ 1 ] (D.12)∂s<strong>in</strong> θ ∂φ}}


90 D. Multipoles and Spherical HarmonicsLet Y (θ, φ) denote the set of common eigenstates for the two operators ˆL 2 and ˆL zˆL 2 Y (θ, φ) = l(l + 1)Y (θ, φ)ˆL z Y (θ, φ) = mY (θ, φ)(D.13)(D.14)This set of coupled differential equations has nontrivial bounded solutions that are 2π periodic <strong>in</strong>φ if and only if l is a nonnegative <strong>in</strong>teger, and m is an <strong>in</strong>teger <strong>in</strong> the range |m| ≤ l. The normalizedeigenstates satisfy<strong>in</strong>g these conditions are known as the spherical harmonics√Ylm (θ, φ) = (−1) (m−|m|)/2 2l + 1 (l − |m|)!4π (l + |m|)! P |m|l(cos θ) e imφ (D.15)where Plm (z) are the associated Legendre polynomialsP ml(z) = (−1)m2 l l!(1 − z 2 m/2 dl+m)dz l+m (z2 − 1) l(D.16)The spherical harmonics of negative and positive m are related by a complex conjugation, throughthe relationYlm∗ (θ, φ) = (−1) m Y −ml(θ, φ) (D.17)and form a complete orthonormal set, satisfy<strong>in</strong>gNote that as∫ π ∫ 2π00s<strong>in</strong> θdθdφY m∗l (θ, φ)Y m′l ′ (θ, φ) = δ l,l ′δ m,m ′ (D.18)ˆL 2 = ˆL · ˆL = − 1s<strong>in</strong> θwe can express the Laplacian <strong>in</strong> terms of ˆL 2∇ 2 = 1 r 2 [ ∂∂r(∂s<strong>in</strong> θ ∂ )− 1∂θ ∂θ s<strong>in</strong> 2 θ(r 2 ∂ ) ]−∂rˆL 2∂ 2∂φ 2(D.19)(D.20)from which we conclude thatone can def<strong>in</strong>e a set of real spherical harmonics (RSH), y m l∇ 2 Yl m l(l + 1)(θ, φ) = −r 2 Yl m (θ, φ) (D.21), byyl 0 = Yl0{(Ymyl m l= (Y |m|l+ Y m∗l+ Y |m|∗l) / √ 2 = √ )(2) Re Yl m , m > 0/i √ 2 = √ (2) Im Y |m|l, m < 0(D.22)Which <strong>in</strong> explicit form iswhereandy m l(θ, φ) = C |m|lP |m|l(cos θ)Φ m (φ) (D.23)⎧√⎨Cl m = √⎩Φ m (φ) =2l+14π, m = 02l+1 (l−m)!2π (l+m)!, m > 0{cos mφ , m ≥ 0s<strong>in</strong> |m|φ , m < 0(D.24)(D.25)


D.3 Spherical Harmonics 91The RSH satisfy the same equations as the ord<strong>in</strong>ary spherical harmonics, except that it is nolonger an eigenstate of ˆL z .When work<strong>in</strong>g <strong>in</strong> Cartesian coord<strong>in</strong>ates, it is usually more convenient to work with the solidversion of the RSH, here denoted by RSSH (real solid spherical harmonics). These are def<strong>in</strong>edby ȳ m l= r l y m l. The ma<strong>in</strong> reason for <strong>in</strong>troduc<strong>in</strong>g the RSSH is that they are much more easilydescribed <strong>in</strong> Cartesian coord<strong>in</strong>ates, and the recursion formulas for generat<strong>in</strong>g them becomes muchsimpler, as will be shown shortly. The RSSH can be re-expressed asȳ m l(r, θ, φ) = r l C |m|lP |m|l(cos θ)Φ m (φ)r l−|m|= C |m|ls<strong>in</strong> |m| (θ) P |m|l(cos θ) r |m| s<strong>in</strong> |m| (θ)Φ m (φ)= C |m|l¯P |m|l(r, z)¯Φ m (x, y)= ȳl m (x, y, z)(D.26)where ¯P lm (r, z) = r l−m / s<strong>in</strong> m (θ)Plm (cos θ) and ¯Φ m (x, y) = s<strong>in</strong> m (θ)Φ m (φ). The advantage of thisformulation is seen by us<strong>in</strong>g the recurrence formulacos mφ = cos φ cos(m − 1)φ − s<strong>in</strong> φ s<strong>in</strong>(m − 1)φs<strong>in</strong> mφ = s<strong>in</strong> φ cos(m − 1)φ + cos φ s<strong>in</strong>(m − 1)φ(D.27)(D.28)and the identities x = r s<strong>in</strong> θ cos φ and y = r s<strong>in</strong> θ s<strong>in</strong> φ to getand us<strong>in</strong>g the recurrence relations of P ml(cos θ) [35]¯Φ 0 = 1, ¯Φ1 = x, ¯Φ−1 = y (D.29)m > 1 : ¯Φm = x¯Φ |m|−1 − y ¯Φ 1−|m| (D.30)m < −1 : ¯Φm = y ¯Φ |m|−1 + x¯Φ 1−|m| (D.31)to getP 0 0 = 1(D.32)Pm+1 m+1 m m (D.33)Pm+1 m = (2m + 1) cos θPmm (D.34)Pl m = 2l − 1 mcos θPl−1 − l + m − 1l − m l − mP l−2m(D.35)¯P 0 0 = 1(D.36)¯P m+1 m+1 m m (D.37)¯P m+1 m = (2m + 1)z ¯P mm (D.38)¯P l m = 2l − 1l − m z ¯P l−1 m − l + m − 1l − mr2 m ¯P l−2(D.39)Note that ¯P lm is a polynomial of order l − m <strong>in</strong> z with only even (odd) powers of z if l − m is even(odd). The collective power of z and r is l − m <strong>in</strong> all terms of ¯P lm . The coord<strong>in</strong>ate r only everappears <strong>in</strong> even powers (so we never have to evaluate the square root r = √ x 2 + y 2 + z 2 ).The explicit form of the first 25 RSSH is shown <strong>in</strong> table D.1. A polar plot of the map ofthe unit sphere is shown <strong>in</strong> figure D.2 for the same 25 RSSH (or equivalently the real sphericalharmonics, as these are identical on the unit sphere).Note that ȳl m (x, y, z) is still an eigenstate of ˆL 2 with eigenvalue l(l + 1), but that ∇ 2 ȳl m = 0.


92 D. Multipoles and Spherical HarmonicsFigure D.2: Spherical harmonics of, from left to right, s, p, d, f, and g type. m quantum numbersare <strong>in</strong>creas<strong>in</strong>g from the top and down.


D.3 Spherical Harmonics 93L l m ȳl m = N·f(x, y, z)√0 0 0√ 1/4π·11 1 -1√ 3/4π·y2 1 0√ 3/4π·z3 1 1√ 3/4π·x4 2 -2√ 15/4π·xy5 2 -1√ 15/4π·yz6 2 0√ 5/16π·(3z 2 − r 2 )7 2 1√ 15/4π·xz8 2 2√ 15/16π·(x 2 − y 2 )9 3 -3√ 35/32π·(3x 2 y − y 3 )10 3 -2√ 105/4π·xyz11 3 -1√ 21/32π·(5yz 2 − yr 2 )12 3 0√ 7/16π·(5z 3 − 3zr 2 )13 3 1√ 21/32π·(5xz 2 − xr 2 )14 3 2√ 105/16π·(x 2 z − y 2 z)15 3 3√ 35/32π·(x 3 − 3xy 2 )16 4 -4√ 315/16π·(x 3 y − xy 3 )17 4 -3√ 315/32π·(3x 2 yz − y 3 z)18 4 -2√ 45/16π·(7xyz 2 − xyr 2 )19 4 -1√ 45/32π·(7yz 3 − 3yzr 2 )20 4 0√ 9/256π·(35z 4 − 30z 2 r 2 )21 4 1√ 45/32π·(7xz 3 − 3xzr 2 )22 4 2√ 45/64π·(7x 2 z 2 − 7y 2 z 2 − x 2 r 2 + y 2 r 2 )23 4 3√ 315/32π·(x 3 z − 3xy 2 z)24 4 4 315/256π·(x 4 + y 4 − 6x 2 y 2 )Table D.1: List of the first few real solid spherical harmonics <strong>in</strong> Cartesian form.


Appendix EApproximations of the<strong>Exchange</strong>-Correlation <strong>Functional</strong>The value of the density is <strong>in</strong> functionals often given <strong>in</strong> terms of the Seitz radius r s , or the Fermiwave length k F . The Seitz radius, is the radius of the sphere, which for a homogeneous electrongas would conta<strong>in</strong> exactly one electronr 3 s = 3/4πnThis gives a measure of the average distance between electrons.The Fermi wave length is the energetically highest occupied plane wave <strong>in</strong> a homogeneouselectron gask 3 F = 3π 2 nThe gradient of the density is usually measured <strong>in</strong> terms of either ofs = |∇n|2k F nt = |∇n|2k s nφwhere k s = √ 4k F /π andφ(ζ) = 1 2[(1 + ζ) 2/3 + (1 − ζ) 2/3] (E.1)ζ is the sp<strong>in</strong> polarization def<strong>in</strong>ed asζ = n ↑ − n ↓n ↑ + n ↓(E.2)From the explicit expression for exact exchange, the exact sp<strong>in</strong> scal<strong>in</strong>g relation E x [n ↑ , n ↓ ] =12 E x[2n ↑ ] + 1 2 E x[2n ↓ ] can be derived, and from this, it follows that for the homogeneous electrongasE x [n ↑ , n ↓ ] = E x [n] 1 [(1 + ζ) 4/3 + (1 − ζ) 4/3] (E.3)2where E x [n] = E x [n/2, n/2] is the sp<strong>in</strong>-compensated version of exchange. No exact sp<strong>in</strong> scal<strong>in</strong>grelation exist for correlation.E.1 Local sp<strong>in</strong> density approximationIn the local sp<strong>in</strong> density approximation (LSD), the exchange-correlation is approximated by∫E xc [n ↑ , n ↓ ] = drn(r)e xc (n ↑ (r), n ↓ (r))(E.4)95


96 E. Approximations of the <strong>Exchange</strong>-Correlation <strong>Functional</strong>where e x is the local exchange contribution of a homogeneous electron gas. For a sp<strong>in</strong> saturatedsystem, this would be (see e.g. the section on Thomas-Fermi theory 3.2.1)e x (n) = − 3k F4π = − 34π (3π2 n) 1/3(E.5)this can be generalized to arbitrary sp<strong>in</strong> polarization us<strong>in</strong>g the sp<strong>in</strong>-scal<strong>in</strong>g relation (E.3).The correlation energy density is only known for the (sp<strong>in</strong> saturated) homogeneous gas <strong>in</strong> thehigh-density (weak coupl<strong>in</strong>g) limite c (n) = c 0 ln r s − c 1 + c 2 r s ln r s − c 3 r s + . . .with the constants c 0 = (1−ln 2)/π 2 ≈ 0.031091 and c 1 = 0.046644, and <strong>in</strong> the low-density (strongcoupl<strong>in</strong>g) limite c (n) = − d 0r s+ d 1rs3/2+ . . .where the two constants can be estimated by experimental techniques.A parametrization, due to Perdew and Wang [18] which satisfy both limits is (other parameterizationsare [15, 17, 16])[]1wheree c (n) = −2c 0 (1 + α 1 r s ) ln1 +2c 0 (β 1 r 1/2s + β 2 r s + β 3 r 3/2s + β 4 r 2 s)(E.6)β 1 = 1 c 0e −c1/2c0β 2 = 2c 0 β 2 1(E.7)and the rema<strong>in</strong><strong>in</strong>g parameters α 1 , β 3 , and β 4 are fitted to results from quantum Monte-Carlosimulations of the homogeneous electron gas [17]α 1 = 0.21376 β 3 = 1.6382 β 4 = 0.49294This parametrization was for e c (n) = e c (n/2, n/2), i.e. the fully sp<strong>in</strong> saturated case. For the fullysp<strong>in</strong> polarized case, e c (n ↑ , n ↓ ) = e c (n, 0), the correlation energy density can be parametrized <strong>in</strong>the exact same way as <strong>in</strong> (E.6), but with the changed constantsα 1 = 0.20548 β 3 = 3.3662 β 4 = 0.62517Us<strong>in</strong>g these two extreme cases, the correlation energy can be generalized to arbitrary sp<strong>in</strong>, us<strong>in</strong>gthe Taylor expansion (due to [16])e c (n ↑ , n ↓ ) = e c (n) + α c (n) f(ζ)f ′′ (0) (1 − ζ4 ) + [e c (n, 0) − e c (n)]f(ζ)ζ 4where1[]f(ζ) = (1 + ζ) 4/3 + (1 − ζ) 4/3 − 22 4/3 − 2and α c (n) can be parametrized <strong>in</strong> the same way as (E.6) with the modified parametersc 0 = 0.016887c 1 = 0.035475α 1 = 0.11125β 3 = 0.88026β 4 = 0.49671(E.8)(E.9)(E.10)and β 1 and β 2 def<strong>in</strong>ed as before, (E.7).


E.2 PBE, revPBE, and RPBE 97E.2 PBE, revPBE, and RPBEThe Perdew-Burke-Ernzerhof functional (PBE) [19], the revision by Zhang and Yang revPBE [21]and by Hammer, Hansen and Nørskov RPBE [22] all use the correlation functional of PW91, <strong>in</strong>which the correlation energy functional is written as∫E c [n ↑ , n ↓ ] = drn(r) (e c (r s , ζ) + H(r s , ζ, t))(E.11)where e c (r s , ζ) is the local correlation functional of LSD, and{H(r s , ζ, t) = c 0 φ 3 ln 1 + β [MBt 2 1 + At 2 ]}c 0 1 + At 2 + A 2 t 4whereA = β MBc 01e −ec(rs,ζ)/c0φ3 − 1and β MB = 0.066725. The exchange functional is written as∫E x [n] = drn(r)e x (n)F x (s)where the enhancement factor for PBE and revPBE isF x (s) = 1 + κ −κ1 + µs 2 /κ(E.12)(E.13)(E.14)(E.15)where µ = β MB π 2 /3 ≈ 0.21951 andκ ≤ 0.804(E.16)to satisfy the Lieb-Oxford bound. Choos<strong>in</strong>g κ = 0.804 one arrives at the PBE functional, choos<strong>in</strong>gκ = 1.245 we get the revPBE functional, and modify<strong>in</strong>g the form of F x to( )F x (s) = 1 + κ 1 − e µs2 /κ(E.17)and keep<strong>in</strong>g κ at 0.804, one gets the RPBE functional.The expression [ (E.14) is generalized to arbitrary sp<strong>in</strong> <strong>in</strong> the same way as LSD, i.e. by multiply<strong>in</strong>gwith 1 2 (1 + ζ) 4/3 + (1 − ζ) 4/3] .


Appendix FForces <strong>in</strong> PAWIn the ground state, the forces on each nuclei can be calculated directly fromF a = − dEdR a= − ∂E∂R a − ∑ n= − ∂E∂R a − ∑ n= − ∂E∂R a + ∑ n{∂E∂| ˜ψ n 〉{f n ɛ nd| ˜ψ n 〉dR a + h.c. }〈 ˜ψ n |Ŝ d| ˜ψ n 〉dR a + h.c. }f n ɛ n 〈 ˜ψ n | dŜdR a | ˜ψ n 〉(F.1)where h.c. denotes the hermitian conjugate. To get to the second l<strong>in</strong>e, the cha<strong>in</strong> rule has beenapplied. The third l<strong>in</strong>e follows from the relation∂E∂〈 ˜ψ n | = f n ̂˜H| ˜ψn 〉 = f n ɛ n Ŝ| ˜ψ n 〉 (F.2)The last l<strong>in</strong>e of (F.1) is obta<strong>in</strong>ed from the follow<strong>in</strong>g manipulation of the orthogonality condition(6.52)δ nm = 〈 ˜ψ n |Ŝ| ˜ψ m 〉⇒ 0 = ddR a 〈 ˜ψ n |Ŝ| ˜ψ m 〉 = d〈 ˜ψ n |dR a Ŝ| ˜ψ m 〉 + 〈 ˜ψ n | dŜdR a | ˜ψ m 〉 + 〈 ˜ψ n |Ŝ d| ˜ψ m 〉dR a⇔ d〈 ˜ψ n |dR a Ŝ| ˜ψ m 〉 + h.c. = −〈 ˜ψ n | dŜdR a | ˜ψ m 〉From the expression for the overlap operator (6.53), it follows thatdŜdR a = ∑ ( d|˜pa)∆Si a i1〉1i 2dR a 〈˜pa i 2| + h.c.i 1i 2which, when <strong>in</strong>serted <strong>in</strong> (F.1), gives the force expressionF a = − ∂E∂R a + ∑ nf n ɛ n∑i 1i 2∆S a i 1i 2(P a∗)ni 1〈 d˜pa i 2dR a | ˜ψ n 〉 + 〈 ˜ψ n | d˜pa i 1dR a 〉P ni a 2(F.3)(F.4)(F.5)99


100 F. Forces <strong>in</strong> PAWForces without exact exchangeIn the absence of exact exchange, it is clear that the dependence of the total energy on the nucleicoord<strong>in</strong>ates follows from∫∂E∂R a =∫=dr ′ δEδñ(r ′ )∂ñ(r ′ )∂R a + ∑ ∂E ∂D a ∫i 1i 2∂D a i 1i 2i 1i 2∂R a +dr ′ ṽ eff (r ′ ) ∂ña c (r ′ )∂R a + ∑ ∆H a ∂D a ∫i 1i 2i 1i 2∂R a + i 1i 2dr ′ ∑ Ldr ′ ∑ LδE ∂˜g L a (r′ )δ˜gL a (r′ ) ∂R au H (r ′ )Q L∂˜g a L (r′ )∂R a(F.6)giv<strong>in</strong>g the force expression∫ {F a = − dr ′ ṽ eff (r ′ ) ∂ña c (r ′ )∂R a + u H (r ′ ) ∑ }∂˜g L a Q (r′ )L∂R a L− ∑ ∑ {f n ∆Hai1i 2− ɛ n ∆S a } ( )i 1i 2Pni a∗1〈 d˜pa i 2dR a | ˜ψ n 〉 + 〈 ˜ψ n | d˜pa i 1dR a 〉P ni a 2n i 1i 2(F.7)Forces with exact exchangeWhen <strong>in</strong>clud<strong>in</strong>g exact exchange, the atomic Hamiltonian, ∆Hi a 1i 2is redef<strong>in</strong>ed <strong>in</strong> accordance withthe procedure described <strong>in</strong> section 6.8. In addition, we get the force contributionThe first partial derivative givesF a xx = − ∑ n 1n 2∫δẼxxdr ′δ ˜Z n a 1n 2(r ′ )∂ ˜Z a n 1n 2(r ′ )∂R a(F.8)and the second gives∂ ˜Z a n 1n 2(r)∂R aresult<strong>in</strong>g <strong>in</strong> the force= ∑ LδẼxxδ ˜Z a n 1n 2(r) = f n 1f n2 δ σn1 σ n2 ṽ n1n 2(r)∑(∆ Li1i 2Pn a∗1i 1P a ∂˜g L a (r)a∗n 2i 2∂R a + ˜g a ∂Pn 1i 1P a )n 2i 2L(r)∂R a i 1i 2(F.9)(F.10)F a xx = − ∑ { ∫f n1 f n2 δ σn1 σ n2dr ′ ṽ n1n 2(r ′ ) ∑ ∑Pn a∗1i 1P a ∂˜g L an 2i 2∆ (r′ )Li1i 2∂R an 1n 2 i 1i 2+ ∑ i 1i 2v a n 1n 2i 1i 2(P a∗n 1i 1〈 d˜pa i 2dR a | ˜ψ n2 〉 + 〈 ˜ψ n1 | d˜pa i 1dR a 〉P a n 2i 2) }L(F.11)Note that these equations, (F.7) and (F.11), are only valid <strong>in</strong> the ground state. For a derivationof a force theorem <strong>in</strong> PAW, when one is not <strong>in</strong> the ground state, see [25].


Appendix GThe External Potential <strong>in</strong> PAWThe energy associated with the external potential v ext (r) is∫E ext = drn(r)v ext (r)∫= drñ(r)v ext (r) + ∑ ∫dr [n a (r) − ñ a (r)] v ext (r)aI.e. we must add the pseudo energy contribution∫Ẽ ext = drñ(r)v ext (r)and the atomic corrections:∫∆Eext a =dr [n a (r) − ñ a (r)] v ext (r)to the total energy.In PAW, the Hamiltonian has the structure:1 ∂EH =f n |ψ n 〉 ∂〈ψ n | = ˜H + ∑ a∑i 1i 2|˜p a i 1〉∆H a i 1i 2〈˜p a i 2|In our case, the extra contributions due to the external potential are:˜H ext (r) = v ext (r)and∫∆H a,exti 1i 2={drv ext (r) φ a i1(r)φ a i2(r) − ˜φ a i1(r) ˜φ}ai2(r)(G.1)Thus we can write the atomic energy contribution as:∫ [∆Eext a = drv ext (r) n a c (r) − ñ a c (r) + ∑ Di a 1i 2{φ a i1(r)φ a i2(r) − ˜φ a i1(r) ˜φ} ]ai2(r)i 1i 2∫=drv ext (r) [n a c (r) − ñ a c (r)] + ∑ i 1i 2D a i 1i 2∆H a,exti 1i 2Comput<strong>in</strong>g all the elements of (G.1) can be time-consum<strong>in</strong>g, as the external potential has to beexpanded <strong>in</strong> som radial function at each nuclei. Mak<strong>in</strong>g the assumptionv ext (r) ≈ v ext (R a ) , for |r − R a | < r a c101


102 G. The External Potential <strong>in</strong> PAWWe can reuse exist<strong>in</strong>g matrix elements from the expansion coefficients of the compensation charges,to get:∆E a ext = v ext (R a )( √ 4πQ a 00 + Z a )∆H a,exti 1i 2= v ext (R a ) √ 4π∆ a 00,i 1i 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!