more basics of dftprimer in density functional theory, edited by c. fiolhais et al....

31
More basics of DFT Kieron Burke and friends UC Irvine Physics and Chemistry 1 APS tutorial

Upload: others

Post on 28-Jun-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

More basics of DFT

KieronBurkeandfriendsUCIrvinePhysicsandChemistry

1APStutorial

Page 2: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

References for ground-state DFT

– ABCofDFT,byKBandRudyMagyar,http://dft.uci.edu

– APrimerinDensityFunctionalTheory,editedbyC.Fiolhaisetal.(Springer‐Verlag,NY,2003)

– DensityFunctionalTheory,DreizlerandGross,(Springer‐Verlag,Berlin,1990)

– DensityFunctionalTheoryofAtomsandMolecules,ParrandYang(Oxford,NewYork,1989)

– AChemist’sGuidetoDensityFunctionalTheory,KochandHolthausen(Wiley‐VCH,Weinheim,2000)

2APStutorial

Page 3: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What we’ll cover

•  Simplestpossibleexampleofafunctional•  EssentialsofKS‐DFT,andfunctionalzoo•  Importantconditionsnotmetbystandardfunctionals:Self‐interactionandderivativediscontinuity

•  Exactexchange•  Quiz

3APStutorial

Page 4: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

4

Atomic units and particles in box •  Inatomicunits,allenergiesareinHartree(1H=

27.2eV)andalldistancesinBohr(1a0=0.529Å)

•  Towriteformulasinatomicunits,sete2=Ћ=me=1•  E.g.,usualformulaforenergylevelsofinfinitewell

ofwidthL:

•  Atomicunits,boxlengthL=1:

APStutorial

Page 5: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

Constructing your very first density functional

•  Let’slookatthekineticenergyofspinlessfermionsin1d:

•  IstheresomewaytogetTswithoutevaluatingallthosedamnorbitals?Yes!

•  Writeitasadensityfunctional,i.e.,anintegraloversomefunctionofn(x).

•  Simplestchoice:alocalapprox:

5APStutorial

Page 6: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

Particles in box

•  Accuracy

APStutorial 6

N Ts[0] Ts %err

1 4.112 4.934 -17

2 21.79 24.67 -12

3 62.92 69.09 -9

Page 7: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What we’ve learned

•  Densityfunctionalsareapproximationsfortheenergyofmanyparticles

• WorkbestforlargeN,worstforsmallN

•  Localapproximationsarecrudelycorrect,butmissdetails

APStutorial 7

Page 8: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

Essence of Kohn-Sham DFT •  EvenwithexactExc[n],onlygetE0andn(r)(andI).Sootherpropertiesmaynotberight.

•  Resultsonlyasgoodasfunctionalused.•  VastamountofinformationfromE0alone,suchasgeometries,vibrations,bondenergies…

•  Well‐fittedfunctionalsareaccurateforlimitedset

•  Non‐empiricalfunctionalslessso,butmorereliableforabroaderrange,anderrorsunderstandable

APStutorial 8

Page 9: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

He atom in Kohn-Sham DFT

Dashed-line:

EXACT KS potential

Everything has (at most) one KS potential

9APStutorial

Page 10: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

10

Functionals in common use •  Localdensityapproximation(LDA)– Usesonlyn(r)atapoint.

•  Generalizedgradientapprox(GGA)– Usesbothn(r)and|∇n(r)|– Moreaccurate,correctsoverbindingofLDA– ExamplesarePBEandBLYP

•  Hybrid:– MixessomefractionofHF– ExamplesareB3LYPandPBE0

APStutorial

Page 11: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

11

Functional soup

•  Good:chooseonefunctionalofeachkindandstickwithit(e.g.,LDAorPBEorB3LYP).

•  Bad:Runseveralfunctionals,andpick‘best’answer.

•  Ugly:Designyourownfunctionalwith2300parameters.

APStutorial

Page 12: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

Functional Zoology

•  Empirical– GGA:BLYP– Hybrid:B3LYP

•  Names:– B=B88exchange– LYP=Lee‐Yang‐Parrcorelation

•  Non‐empirical– GGA:PBE– Meta‐GGA:TPSS– Hybrid:PBE0

APStutorial 12

Page 13: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What we’ll cover

•  Simplestpossibleexampleofafunctional•  EssentialsofKS‐DFT,andfunctionalzoo•  Importantconditionsnotmetbystandardfunctionals:Self‐interactionandderivativediscontinuity

•  Exactexchange•  Quiz

13APStutorial

Page 14: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What we’ll cover

•  Simplestpossibleexampleofafunctional•  EssentialsofKS‐DFT,andfunctionalzoo•  Importantconditionsnotmetbystandardfunctionals:Self‐interactionandderivativediscontinuity

•  Exactexchange•  Quiz

14APStutorial

Page 15: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

15

Simple conditions for Coulomb systems

•  Asymptoticdecayofthedensity

•  LeadstosevereconstraintonKSpotential

•  AnddeterminesKSHOMO:

APStutorial

Page 16: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

KS potential for He atom

16APStutorial

Page 17: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

17

Densities

APStutorial

Page 18: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

18

LDA potential

APStutorial

Page 19: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

19

Self interaction

•  Violatedbymostsemilocalfunctionals(unlessbuiltin)

APStutorial

Page 20: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

Energy as function of N

APStutorial 20

FromDreizler+Gross

Page 21: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

21

Derivative discontinuity

• Whenyouaddatinyfractionofanelectrontoasystem,theKSpotentialshiftsuniformly,sincebefore,εHOMO(N)=‐I,butnow,εHOMO(N+δ)=‐A

•  Thusvs(r)mustjumpbyΔxc=(I‐A)‐(εHOMO‐εLUMO)

APStutorial

Page 22: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

22

Ne Potentials

APStutorial

Page 23: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

23

Missing derivative discontinuity in LDA

LDAlookslikeexact,shiftedbyaboutI/2

APStutorial

Page 24: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What we’ll cover

•  Simplestpossibleexampleofafunctional•  EssentialsofKS‐DFT,andfunctionalzoo•  Importantconditionsnotmetbystandardfunctionals:Self‐interactionandderivativediscontinuity

•  Exactexchange•  Quiz

24APStutorial

Page 25: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What we’ll cover

•  Simplestpossibleexampleofafunctional•  EssentialsofKS‐DFT,andfunctionalzoo•  Importantconditionsnotmetbystandardfunctionals:Self‐interactionandderivativediscontinuity

•  Exactexchange•  Quiz

25APStutorial

Page 26: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What ever happened to HF?

• WeknowExisjust

•  Sowhycan’twejustputthatinKSequations?

•  Becausedon’tknowEx[n],somustapproximate

APStutorial 26

Page 27: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

27

OEP •  Waytohandleorbital‐dependentfunctionalsinKSscheme,i.e.,withsinglemultiplicativeKSpotential

•  Stilldensityfunctionals,sinceorbitalsuniquelydeterminedbydensity

•  OftencalledOPM•  Severalschemestoimplement,allmuchmoreexpensivethanregularKS‐DFT

•  Canimproveotherproperties:– Noself‐interactionerror– Potentialsandorbitalenergiesmuchbetter– Approximatesderivativediscontinuity

APStutorial

SeeRMP,KuemmelandKronik

Page 28: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

28

HF versus EXX

•  HFminimizesEx[{φi}]overallpossiblewavefunctions

•  EXXincludesadditionalconstraintofcommonpotential(i.e.,KS)

•  Yieldalmostidenticaltotalenergies,withHFaneenstybitlower.

•  Occupiedorbitalenergiesverysimilar,butbigdifferenceinunoccupiedorbitals

APStutorial

Page 29: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

29

A tale of three gaps

•  Fundamentalgap:–  Δ=I–A=24.6eVforHe

•  Kohn‐Shamgap:–  Δs=εHOMO‐εLUMO=21.16eV

•  Derivativediscontinuity:Δxc=Δ‐Δs

•  Lowestopticaltransition:– ωmin=E(1s,2p)‐E(1s2)=21.22eV

•  NOTE:Allsameifnon‐interacting,alldifferentwheninteracting

•  Of course, εHOMO(LDA)=15.5eVAPStutorial

Page 30: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

Quiz

1.  Dolocalfunctionalsdobetterfor:A.smallN,B.largeN?

2.  Howmanyempiricalparametersaretoomany?A.1;B.10.,C.100+

3.  GGA’shavenoself‐interactionerror,Trueorfalse?

4.  TheKohn‐Shamgapwouldequalthetruegapifonlywehadtheexactfunctional?

5.  WhynotuseExinsmallcalculationstoimprovegeometries,etc.?

APStutorial 30

Page 31: More basics of DFTPrimer in Density Functional Theory, edited by C. Fiolhais et al. (Springer‐Verlag, NY, 2003) – Density Functional Theory , Dreizler and Gross, (Springer‐Verlag,

What we’ve learned, maybe •  Ground‐statedensitydeterminesallpropertiesofsystem,

inprinciple,butinpractice,onlyreallygetenergyanddensity(whichis90%ofwhatyouwant).

•  Localdensityfunctionaltheoriesgiveroughlycorrectanswers,butaretooinaccuratetobehelpfulinquantumchemistry.

•  Thecommonly‐usedfunctionalsinchemistryarewell‐foundedandhavefewparameters.

•  Thereareknownexactpropertiesofthedensityinrealatoms.

•  TherearesubtleandbizarreeffectsintheKSpotentialbecauserealelectronsdointeract.

•  Exactexchangeisexpensive,andwedon’thaveacorrelationfunctionaltogowithit,butitimprovessomeproperties.

31APStutorial