31
Emilio Artacho Nanogune, Ikerbasque & DIPC, San Sebastian, Spain Cavendish Laboratory, University of Cambridge Density Functional Theory and General Notions of First-Principles Codes

Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Emilio ArtachoNanogune, Ikerbasque & DIPC, San Sebastian, Spain

Cavendish Laboratory, University of Cambridge

Density Functional Theory and General Notions ofFirst-Principles Codes

Page 2: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

The physics of low-energy matter

Made of electrons & nuclei(interacting with photons)

matter at T up to several millon K

(except for nuclear fission and radioactive decay)

- Atomic & molecular physics- Condensed matter physics (solids, liquids)- Plasma physics

Low energy in the sense ofnot probing inner structure of nuclei

Ali Yazdani’s group, Princeton

© Shutterstock, LiveScience

Page 3: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

The physics of low-energy matterBehind properties and processes in

- Chemistry- Biomedicine (biochem, biophys, molecular bio)- Geo (geophyiscs, geochemistry)- Lots of astrophysics (planets, exoplanets)- Engineering (materials, electronics …)- Energy research- Nanoscience and technlogy

Earth’s inerior © ASX CAnada

Exoplanets © NASAJPL Caltech, FINESSE Project

Liquid water © MV Fernandez-Serra

Pain receptors in the brain © Univ Bochum © Getty Images

Page 4: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Even a white dwarfCarbon at high T and P

T. Metcalfe, M. Montgomery & K. KaanaAstrophys. J. Lett. (2004)

White dwarf (dead star) inCentaur (50 light-years away)

R = 2000 Km (< Earth)

M = 300,000 x MEarth

T = 2 million K

Density = 106 gr/cc

Page 5: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Even a white dwarfCarbon at high T and P

Lucy

T. Metcalfe, M. Montgomery & K. KaanaAstrophys. J. Lett. (2004)

White dwarf (dead star) inCentaur (50 light-years away)

R = 2000 Km (< Earth)

M = 300,000 x MEarth

T = 2 million K

Density = 106 gr/cc

Page 6: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Just electrons and nuclei

The underlying physical laws necessaryfor the mathematical theory of . . . thewhole of chemistry are thus completelyknown, and the difficulty is only that theexact application of these laws leads toequations much too complicated to besoluble.

Paul Dirac, 1929

Page 7: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Just electrons and nuclei?Dirac’s statement just after quantum revolution

Quantum mechanicsof Heisenberg (1925) and Schrödinger (1926)

Schrödinger equation:

!

ˆ H "(r r 1,r r 2,...,

r r N ) = E"(r r 1,

r r 2,...,

r r N )

after Planck (1901), Einstein (1905), Bohr (1913), Sommerfeld (1915), De Broglie (1923) etc

This is the fundamental equation to be solved formost systems of electrons and nuclei.

A function defined in a space of3N dimensions

(N = number of particles) (most = non-relativistic)

Page 8: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Just electrons and nuclei?Exponential Complexity

!

ˆ H "(r r 1,r r 2,...,

r r N ) = E"(r r 1,

r r 2,...,

r r N )

Solving in a computer:e.g. discretising space

A 3D grid in 100 points per side => 1003 pointsSimilar grid in 3N space => 1003N points

Computational costs (CPU & memory)scales ~exp(N)

Page 9: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Just electrons and nuclei?Exponential Complexity

!

ˆ H "(r r 1,r r 2,...,

r r N ) = E"(r r 1,

r r 2,...,

r r N )

Walter Kohn, in Nobel Lecture 1998,called Ψ a non-legitimate scientific concept for large N

Solving in a computer:e.g. discretising space

A 3D grid in 100 points per side => 1003 pointsSimilar grid in 3N space => 1003N points

Computational costs (CPU & memory)scales ~exp(N)

Page 10: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

First-principles calculations to simulatethe behaviour of matter

• Fundamental laws of physics

• Set of “accepted” approximationsto solve the corresponding equations on a computer

• No empirical input

PREDICTIVE POWER(as opposed to empirical atomistic simulations)

Page 11: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Problem faced: dynamics of electrons & nuclei

Page 12: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Adiabatic decoupling

(1) (2)

⇒Nuclei are much slower than electrons

F = m a, evolution in(discretised) time:

Molecular dynamics

!

mn

me

>>1

Quantum mechanicsMany electron problem:

Density Functional Theory

Page 13: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Quantum mechanics for many particles

Schroedinger’s equation

is exactly solvable for - Two particles (analytically) - Very few particles (numerically)The number of electrons and nuclei in a pebble is ~10 23

=> APPROXIMATIONS

!

ˆ H "(r r 1,r r 2,...,

r r N ) = E"(r r 1,

r r 2,...,

r r N )

Page 14: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Many-electron problemOld and extremely hard problem!

Different approaches• Quantum Chemistry (Hartree-Fock, CI…)• Quantum Monte Carlo• Perturbation theory (propagators)• Density Functional Theory (DFT) Very efficient and general BUT implementations are approximate and hard to improve (no systematic improvement) (… actually running out of ideas …)

Page 15: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Many-electron problem

M. Head-Gordon and E. Artacho(Physics Today, April 08)

Lots of physics behindfirst-principles methods

(90 years of quentum many-particle physics)

DFTbest compromise

efficiency/accuracy

From laptops to hugesupercomputers (105 cores)

Page 16: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Many-electron problemDensity-Functional Theory

2. As if non-interacting electrons in an effective(self-consistent) potential

1.

!

minE["({r r i})]#minE[$(r r )]

Page 17: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Hohenberg - Kohn

PROBLEM:Functional unknown!

!

"({r r i})#n(r r )For our many-electron problem

!

ˆ H = T + Vee + Vext (r r i)

i=1

N

"

1.

(universal functional)(depends on nuclear positions)

!

E [n(r r )] " d3r r Vext# (r r )n(r r )+ F [n (r r )] $EGS

2.

!

E [nGS (r r )] = EGS

Page 18: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Kohn - ShamIndependent particles in an effective potentialIndependent particles in an effective potential

Kinetic energy for systemKinetic energy for systemwith no with no e-e e-e interactionsinteractions

Hartree potentialHartree potential

The rest:The rest:exchangeexchangecorrelationcorrelation

They rewrote the functional as:They rewrote the functional as:

!

E ["] = T0["]+ d3r r "(r r )[Vext (

r r )+ 1

2#(r r )]$ + E xc["]

Equivalent to independentEquivalent to independentparticles under the potentialparticles under the potential

!

V (r r )= Vext (r r )+"(r r )+ #Exc[$]

#$ (r r )

Page 19: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Local Density Approximation (LDA)

(function parameterised for the homogeneouselectron liquid as obtained from QMC)

Generalised Gradient Approximation (GGA)

(new terms parameterised for heterogeneouselectron systems (atoms) as obtained from QC)

!

Vxc "#Exc[n]#n (r)

!

Vxc[n](r) " Vxc (n(r))

!

Vxc[n](r) " Vxc (n(r),#n(r))

Exc & Vxc

Page 20: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Exc & Vxc

Local Density Approximation (LDA)Local Density Approximation (LDA)

In terms of theIn terms of theenergy densityenergy density

Exact result for the homogeneous electron liquid (from solving HF equations)Exact result for the homogeneous electron liquid (from solving HF equations)Dirac Dirac expressed it like this (Slater)expressed it like this (Slater)

!

Vxc "#Exc[n]#n (r)

!

ExcLDA[n] = d3r" n(r) # xc (n)

!

ExLDA[n] = "

343#

$

% &

'

( ) 1/ 2

d3r* n(r)4 / 3

Page 21: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

!

ˆ h = " 12#2 +V (r r )

Independent particles

!

ˆ h "n (v r ) = # n"n (r r )

εn

!

"(v r ) = #n (r r ) 2

n

occ

$

CAREFUL

Page 22: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Density Functionals

LDA (PZ)GGAs: - Chemistry: BLYP, …

- Physics: PBE, RPBE, WCMetaGGAs (kinetic energy density)….

Hybrids: exchange: 75% GGA + 25% HF(not strictly DFT, non-local potential: costly)

B3LYP, PBE0, etc

Page 23: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Practical aspects

Page 24: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Self-consistencyPROBLEM: The potential (input)depends on the density (output)

!

"n # "n#1 > $

!

"

!

"out

!

V

!

"in

Page 25: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density
Page 26: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

k-point samplingElectronic quantum states in a periodic solid labelled by:

• Band index• k-vector: vector in reciprocal space within the first Brillouin zone (Wigner-Seitz cell in reciprocal space)• Other symmetries (spin, point-group representation…)

Approximated by sumsover selected k-points!

"(r) = #n (r)2

n

occ

$ % d3k #n,k (r)2

k&B .Z .'

n

occ

$

Page 27: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

K-point sampling

First Brillouin Zone

Regular k-grid

Inequivalentpoints

Monkhorst-Pack

Δk ⇒ lc=π/Δk

6x6 6x6 shifted

Page 28: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Pseudopotentials

valence-core interactionsnet effect of core electrons

Pseudo wave-function pseudopotential

Page 29: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Solving: Basis set

unknown

Expand in terms of a finite set of basis functions

!

ˆ h "n (r) = # n"n (r) $!

"µ (r){ } :

!

"n (r) # $µ (r) cµ,nµ

%

!

ˆ h "µ (r)[ ] cµ,nµ

# = $ n "µ (r) cµ,nµ

# %

!

h"µcµ,nµ

# = $ n S"µcµ,nµ

#

!

S"µ # d3r$ %"*(r) %µ (r)

!

h"µ # d3r$ %"*(r) ˆ h %µ (r)

where

Page 30: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density

Basis set: Atomic orbitals

s

p

d

f SIESTA: Strictly localized (zero beyond cut-off radius)

Page 31: Density Functional Theory and General Notions of First ...€¦ · • Quantum Chemistry (Hartree-Fock, CI…) • Quantum Monte Carlo • Perturbation theory (propagators) • Density