Docsity

g1 Teoria do Funcional da Densidade, Notas de estudo de Física

Pré-visualização parcial do texto

Baixe g1 Teoria do Funcional da Densidade e outras Notas de estudo em PDF para Física, somente na Docsity!

1

http://chem.ps.uci.edu/˜kieron/dft/book/

The ABC of DFT

Kieron Burke and friends

Department of Chemistry, University of California, Irvine, CA 92697

April 10, 2007

2

CONTENTS

Contents

3

  • I Background
  • 1 Introduction
    • 1 .1 Importance
    • 1 .2 What is a Kohn-Sham calculation?
    • 1 .3 Reinterpreting molecular orbitals
    • 1 .4 Sampler of applications
    • 1 .5 Particle in a box
    • 1 .6 Questions
  • 2 Functionals
    • 2 .1 What is a functional?
    • 2 .2 Functional derivatives
    • 2 .3 Euler-Lagrange equations
    • 2 .4 Questions
  • 3 One electron
    • 3 .1 Variational principle
    • 3 .2 Trial wavefunctions
    • 3 .3 Three dimensions
    • 3 .4 Differential equations
    • 3 .5 Virial theorem
    • 3 .6 Questions
  • 4 Two electrons
    • 4 .1 Antisymmetry and spin
    • 4 .2 Hartree-Fock
    • 4 .3 Correlation
    • 4 .4 Questions
  • 5 Many electrons
    • 5 .1 Ground state
    • 5 .2 Hartree-Fock - 5 .3 Correlation 4 CONTENTS - 5 .4 Atomic configurations - 5 .5 Atomic densities - 5 .6 Questions
      • II Basics
      • 6 Density functional theory
        • 6 .1 One electron
        • 6 .2 Hohenberg-Kohn theorems
        • 6 .3 Thomas-Fermi
        • 6 .4 Particles in boxes
        • 6 .5 Questions
      • 7 Kohn-Sham
        • 7 .1 Kohn-Sham equations
        • 7 .2 Exchange
        • 7 .3 Correlation
        • 7 .4 Questions
      • 8 The local density approximation
        • 8 .1 Local approximations
        • 8 .2 Local density approximation
        • 8 .3 Uniform electron gas
        • 8 .4 Questions
      • 9 Spin
        • 9 .1 Kohn-Sham equations
        • 9 .2 Spin scaling
        • 9 .3 LSD
        • 9 .4 Questions
      • 10 Properties
        • 10 .1 Total energies
        • 10 .2 Densities and potentials
        • 10 .3 Ionization energies and electron affinities
        • 10 .4 Dissociation energies
        • 10 .5 Geometries and vibrations
        • 10 .6 Transition metals
        • 10 .7 Weak bonds
  • CONTENTS
    • 10 .8 Gaps
    • 10 .9 Questions
  • III Analysis
  • 11 Simple exact conditions
    • 11 .1 Size consistency
    • 11 .2 One and two electrons
    • 11 .3 Lieb-Oxford bound
    • 11 .4 Bond breaking
    • 11 .5 Uniform limit
    • 11 .6 Questions
  • 12 Scaling
    • 12 .1 Wavefunctions
    • 12 .2 Density functionals
    • 12 .3 Correlation
    • 12 .4 Correlation inequalities
    • 12 .5 Virial theorem
    • 12 .6 Kinetic correlation energy
    • 12 .7 Potential
    • 12 .8 Questions
  • 13 Adiabatic connection
    • 13 .1 One electron
    • 13 .2 Adiabatic connection formula
    • 13 .3 Relation to scaling
    • 13 .4 Static correlation
    • 13 .5 Questions
  • 14 Discontinuities
    • 14 .1 Koopman’s theorem
    • 14 .2 Potentials
    • 14 .3 Derivative discontinuities
    • 14 .4 Questions
  • 15 Analysis tools
    • 15 .1 Enhancement factor
    • 15 .2 Density analysis
    • 15 .3 Energy density - 15 .4 Questions 6 CONTENTS
      • 16 Exchange-correlation hole
        • 16 .1 Density matrices and holes
        • 16 .2 Hooke’s atom
        • 16 .3 Transferability of holes
        • 16 .4 Old faithful
      • IV Beyond LDA
      • 17 Gradients
        • 17 .1 Perimeter problem
        • 17 .2 Gradient expansion
        • 17 .3 Gradient analysis
        • 17 .4 Questions
      • 18 Generalized gradient approximation
        • 18 .1 Fixing holes
        • 18 .2 Visualizing and understanding gradient corrections
        • 18 .3 Effects of gradient corrections
        • 18 .4 Satisfaction of exact conditions
        • 18 .5 A brief history of GGA’s
        • 18 .6 Questions about generalized gradient approximations
      • 19 Hybrids
        • 19 .1 Static, strong, and strict correlation
        • 19 .2 Mixing exact exchange with GGA
        • 19 .3 Questions about adiabatic connection formula and hybrids
      • 20 Orbital functionals
        • 20 .1 Self-interaction corrections
        • 20 .2 Optimized potential method
        • 20 .3 G¨orling-Levy perturbation theory
        • 20 .4 Meta GGA’s
        • 20 .5 Jacob’s ladder
      • V Time-dependent DFT
      • 21 Time-dependence
  • CONTENTS
    • 21 .1 Schr¨odinger equation
    • 21 .2 Perturbation theory
    • 21 .3 Optical response
    • 21 .4 Questions about time-dependent quantum mechanics
  • 22 Time-dependent density functional theory
    • 22 .1 Overview
    • 22 .2 Runge-Gross theorem
    • 22 .3 Kohn-Sham equations
    • 22 .4 Adiabatic approximation
    • 22 .5 Questions on general principles of TDDFT
  • 23 Linear response
    • 23 .1 Dyson-like response equation and the kernel
    • 23 .2 Casida’s equations
    • 23 .3 Single-pole approximation
  • 24 Performance
    • 24 .1 Sources of error
    • 24 .2 Poor potentials
    • 24 .3 Transition frequencies
    • 24 .4 Atoms
    • 24 .5 Molecules
    • 24 .6 Strong fields
  • 25 Exotica
    • 25 .1 Currents
    • 25 .2 Initial-state dependence
    • 25 .3 Lights, camera, and...Action
    • 25 .4 Solids
    • 25 .5 Back to the ground state
    • 25 .6 Multiple excitations
    • 25 .7 Exact conditions
  • A Math background
    • A.1 Lagrange multipliers
    • A.2 Properties of the δ-function
    • A.3 Fourier transforms
      • B Results for simple one-electron systems 8 CONTENTS
        • B.1 1 d H atom
        • B.2 Harmonic oscillator
        • B.3 H atom
      • C Green’s functions
      • D Further reading
      • E Discussion of questions
      • F Solutions to exercises
        • F.1 Introduction
        • F.2 Functionals
        • F.3 One electron
        • F.4 Two electrons
        • F.5 Many electrons
        • F.6 Density functional theory
        • F.7 Kohn-Sham
        • F.8 Local density approximation
        • F.9 Spin
        • F.1 0 Properties
        • F.1 1 Simple exact conditions
        • F.1 2 Scaling
      • G Answers to extra problems

CONTENTS 9

Definitions and notation

Coordinates

Position vector: r = (x, y, z), r = |r|.

Spin index: σ =↑ or ↓ = α or β.

Space-spin vector: x = (r, σ).

Sums:

∫

dx =

∑

σ

∫

d

3 r

Operators

Kinetic energy:

T = −

1

2

N ∑

i

2

i

Potential energy:

V =

V

ee

V

ext

Coulomb repulsion:

V

ee

1

2

∑

i!=j

1 /|r i − r j

External potential:

V

ext

N ∑

i= 1

v ext (r i

Wavefunctions

Physical wavefunction: Ψ[n](x 1 ...x N ) has density n and minimizes

T +

V

ee

Kohn-Sham: Φ[n](x 1

...x N

) has density n and minizes

T

Φ(x 1 ...x N

∑

p

p φ 1 (x p 1

)...φ N (x p N

Φ(x 1 ...x N

∑

p

p

φ 1 (x p 1

)...φ N (x p N

where φ i

(x) and & i

are the i-th KS orbital and energy, with i = α, σ.

Energies

Universal functional: F [n] = min

Ψ→n

T +

V

ee

|Ψ〉 = 〈Ψ[n]|

T |Ψ[n]〉

Kinetic energy: T [n] = 〈Ψ[n]|

T |Ψ[n]〉.

Non-interacting kinetic energy: T s [n] = min

Φ→n

T |Φ〉 = 〈Φ[n]|

T |Φ[n]〉 =

N ∑

i= 1

∫

d

3 r|∇φ i (r)|

2

Coulomb repulsion energy: V ee

[n] = 〈Ψ[n]|

V

ee

|Ψ[n]〉.

Hartree energy: U [n] =

1

2

∫

d

3 r

∫

d

3 r

′ n(r) n(r

′ )/|r − r

′ |

Exchange: E X

= 〈Φ|V

ee

|Φ〉 − U = −

1

2

∑

σ

∑

i,j

occ

∫

d

3

r

∫

d

3

r

′

φ

∗

iσ

(r) φ

∗

jσ

(r

′

) φ iσ (r

′

) φ jσ (r)/|r − r

′

|

Kinetic-correlation: T C [n] = T [n] − T S [n]

Potential-correlation: U XC [n] = V ee [n] − U [n]

Exchange-correlation: E XC

[n] = T [n] − T S

[n] + V ee

[n] − U [n] = 〈Ψ[n]|

T +

V

ee

|Ψ[n]〉 −

〈Φ[n]|

T +

V

ee |Φ[n]〉

Potentials

Functional derivative: F [n + δn] − F [n] =

∫

d

3 r δn(r) δF [n]/δn(r)

Kohn-Sham: v S (r) = −δT S /δn(r) + μ

Hartree: v H (r) = δU/δn(r) =

∫

d

3

r

′

n(r

′

)/|r − r

′

|

Exchange-correlation: v ext

(r) = v S

(r) + v H

(r) + v XC

(r)

Densities and density matrices

Spin density: n(x) = n σ

(r) = N

∫

dx 2

... dx N

|Ψ(x, x 2

... , x N

2

N ∑

i= 1

|φ i

(x)|

2

properties: n(x) ≥ 0 ,

∫

dx n(x) = N

10 CONTENTS

Density matrix: γ(x, x

′ ) = N

∫

dx 2

∫

dx N

∗ (x, x 2

,... , x N

)Ψ(x

′ , x 2

,... , x N

properties: γ(x, x) = n(x), γ(x

′ , x) = γ(x, x

′ )

kinetic energy: T = −

1

2

∫

d

3 r∇

2 γ(r, r

′ )| r=r ′

Kohn-Sham: γ S

(x, x

′ ) = δ σσ

′

N σ ∑

i= 1

φ

∗

iσ

(r)φ iσ

(r

′ )

Pair Density: P (x, x

′

) = N (N − 1 )

∫

dx 3

∫

dx N |Ψ(x, x

′

, x 3 ,... , x N

2

properties:

∫

dx

′

P (x, x

′

) = (N − 1 )n(x), P (x

′

, x) = P (x, x

′

), P (x, x

′

) ≥ 0

potential energy:V ee

1

2

∫

d

3

r

∫

d

3

r

′

P (r, r

′

)/|r − r

′

|

Kohn-Sham: P X (x, x

′

) = n(x)n(x

′

) − |γ S (x, x

′

)|

2

Exchange-correlation hole around r at coupling constant λ:

P

λ (r, r + u) = n(r) [n(r + u) + n

λ

XC

(r, r + u)]

Kohn-Sham: n X

(x, x

′ ) = −|γ S

(x, x

′ )|

2 /n(x)

properties: n X (r, r + u) ≤ 0 ,

∫

d

3 u n X (r, r + u) = − 1 ,

∫

d

3 u n

λ

C

(r, r + u) = 0

Pair correlation function: g

λ (x, x

′ ) = P

λ (x, x

′ )/(n(x)n(x

′ ))

Electron-electron cusp condition: dg

λ

(r, u)/du| u= 0 = λg

λ

(r, u = 0 )

Uniform coordinate scaling

Density: n(r) → n γ

(r) = γ

3 n(γr)

Wavefunction: Ψ γ

(r 1

... r N

) = γ

3 N/ 2 Ψ(γr 1

... γr N

Ground states: Φ[n γ

] = Φ

γ [n], but Ψ[n γ

] *= Ψ

γ [n]

Fundamental inequality: F [n γ ] ≤ γ

2 T [n] + γV ee [n]

Non-interacting kinetic energy: T S [n γ ] = γ

2

T S [n]

Exchange and Hartree energies: E X [n γ ] = γE X [n], U [n γ ] = γU [n]

Kinetic and potential: T [n γ ] < γ

2

T [n], V ee [n γ ] > γV ee [n] (γ > 1 )

Correlation energies: E C

[n γ

] > γE C

[n], T C

[n γ

] < γ

2 T C

[n] (γ > 1 )

Virial theorem: 2 T = 〈r · ∇

V 〉

N electrons: 2 T + V ee

∫

d

3 r n(r) r · ∇v ext

(r)

XC: E

XC

+ T

C

∫

d

3 r n(r) r · ∇v XC (r)

Spin scaling

Kinetic: T S [n ↑ , n ↓

] =

1

2

(T

S [2n ↑

] + T

S [2n ↓

])

Exchange: E X

[n ↑

, n ↓

] =

1

2

(E

X

[2n ↑

] + E

X

[2n ↓

])

Adiabatic connection

Hellmann-Feynman: E = E

λ= 0

∫ 1

0

dλ〈Ψ

λ |dH

λ /dλ|Ψ

λ 〉

Wavefunction: Ψ

λ

[n] has density n and mininimizes

T + λ

V

ee

relation to scaling: Ψ

λ

[n] = Ψ λ [n 1 /λ

]

Energies: E

λ

[n] = λ

2

E[n 1 /λ

]

kinetic: T

λ

S

[n] = T S

[n]

exchange: E

λ

X

[n] = λE X

[n], U

λ [n] = λU [n]

correlation: E

λ

C

[n] = λ

2

E C [n 1 /λ ] = λ

2

{

E

( 2 )

C [n] + λE

( 3 )

S [n] +...

}

for small λ

ACF: E

XC

∫ 1

0

dλ U XC (λ), where U XC (λ) = U

λ

XC

/λ

Part I

I Background

13

Chapter 1

Introduction

In which we introduce some of the basic concepts of modern density functional theory,

including the Kohn-Sham description of a system, and give a simple but powerful example

of DFT at work.

  1. 1 Importance

1 Density functional theory (DFT) has long been the mainstay of electronic structure calcula-

tions in solid-state physics. In the 19990 ’s it became very popular in quantum chemistry. This

is because approximate functionals were shown to provide a useful balance between accuracy

and computational cost. This allowed much larger systems to be treated than by traditional

ab initio methods, while retaining much of their accuracy. Nowadays, traditional wavefunc-

tion methods, either variational or perturbative, can be applied to find highly accurate results

on smaller systems, providing benchmarks for developing density functionals, which can then

be applied to much larger systems

But DFT is not just another way of solving the Schr¨odinger equation. Nor is it simply a

method of parametrizing empirical results. Density functional theory is a completely different,

formally rigorous, way of approaching any interacting problem, by mapping it exactly to a

much easier-to-solve non-interacting problem. Its methodology is applied in a large variety of

fields to many different problems, with the ground-state electronic structure problem simply

being the most common.

The aim of this book is to provide a relatively gentle, but nonetheless rigorous, introduction

to this subject. The technical level is no higher than any graduate quantum course, or many

advanced undergraduate courses, but leaps at the conceptual level are required. These are

almost as large as those in going from classical to quantum mechanics. In some sense, they

are more difficult, as these leaps are usually made when we are more advanced (i.e., set) in

our thinking.

Students from all areas of modern computational science (chemistry, physics, materials

science, biochemistry, geophysics, etc.) are invited to work through the material. The only

1 ©c 2000 by Kieron Burke. All rights reserved.

15

16 CHAPTER 1. INTRODUCTION

necessary requirements are a good background in elementary quantum mechanics, no fear

of calculus of more than one variable, and a desire to learn. The student should end up

knowing what the Kohn-Sham equations are, what functionals are, how much (or little) is

known of their exact properties, how they can be approximated, and how insight into all these

things produces understanding of the errors in electronic structure calculations. Preliminary

forms of my lecture notes have been used throughout the world during 5 years its taken to

complete this book. The hope is that these notes will be used by students worldwide to gain

a better understanding of this fundamental theory. I ask only that you send me an email (to

[email protected]) if you use this material. In return, I am happy to grade problems

and answer questions for all who are interested. These notes are copyright of Kieron Burke.

No reproduction for purposes of sale is allowed.

The book is laid out in the form of an undergraduate text, and requires the working of

many exercises (although many of the answers are given). The idea is that the book and

exercises should be easy reading, but leave the reader with very clear concepts of modern

density functional theory. Throughout the text, there are exercises that must be performed

to get full value from the book. Also, at the end of each chapter, there are questions aimed

at making you think about the material. These should be thought about and answere as you

go along, but answers don’t need to be written out as explicitly as for the problems.

  1. 2 What is a Kohn-Sham calculation?

To give an idea of what DFT is all about, and why it is so useful, we start with a very simple

example, the hydrogen molecule, H 2

. Throughout this book, we make the Born-Oppenheimer

approximation, in which we treat the heavy nuclei as fixed points, and we want only to solve

the ground-state quantum mechanical problem for the electrons.

In regular quantum mechanics, we must solve the interacting Schr¨odinger equation:

∑

i= 1 , 2

2

i

|r 1 − r 2

∑

i= 1 , 2

v ext

(r i

Ψ(r 1

, r 2

) = EΨ(r 1

, r 2

where the index i runs over the two electrons, and the external potential, the potential

experienced by the electrons due to the nuclei, is

v ext

(r) = −Z/r − Z/|r − Rˆz|, ( 1 .2)

where Z = 1 is the charge on each nucleus, ˆz is a unit vector along the bond axis, and R is

a chosen internuclear separation. Except where noted, we use atomic units throughout this

text, so that

e

2

= ¯h = m = 1 , ( 1 .3)

where e is the electronic charge, ¯h is Planck’s constant, and m is the electronic mass. As

a consequence, all energies are in Hartrees ( 1 H = 27. 2114 eV= 627. 5 kcal/mol) and all

    1. REINTERPRETING MOLECULAR ORBITALS 19

0

2

4

0 0.2 0.4 0.6 0.8 1

He atom

density

-2/r

Kohn-Sham potential

r

Figure 1. 2 : The external and Kohn-Sham potentials for the He atom, thanks to Cyrus’ Umrigar’s very accurate density.

electrons. If we can figure out some way to approximate this potential accurately, we have

a much less demanding set of equations to solve than those of the true system. Thus we

are always trying to improve a non-interacting calculation of a non-interacting wavefunction,

rather than that of the full physical system. In Fig. 1 .1 there are also plotted the local

density approximation (LDA) and generalized gradient approximation (GGA) curves. LDA

is the simplest possible density functional approximation, and it already greatly improves on

HF, although it typically overbinds by about 1 / 20 of a Hartree (or 1 eV or 30 kcal/mol),

which is too inaccurate for most quantum chemical purposes, but sufficiently reliable for many

solid-state calculations. More sophisticated GGA’s (and hybrids) reduce the typical error in

LDA by about a factor of 5 (or more), making DFT a very useful tool in quantum chemistry.

In section 1 .5, we show how density functionals work with a simple example from elementary

quantum mechanics.

  1. 3 Reinterpreting molecular orbitals

The process of bonding between molecules is shown in introductory chemistry textbooks as

linear combinations of atomic orbitals forming molecular orbitals of lower energy, as in Fig.

But later, in studying computational chemistry, we discover this is only the Hartree-Fock

picture, which, as stated above, is rarely accurate enough for quantum chemical calculations.

In this picture, we need a more accurate wavefunction, but then lose this simple picture of

chemical bonding. This is a paradox, as chemical reactivity is usually thought of in terms of

frontier orbitals.

In the Kohn-Sham approach, the orbitals are exact and unique, i.e., there exists (at most)

one external potential that, when doubly occupied by two non-interacting electrons, yields

the exact density of the H 2

molecule. So in this view, molecular orbital pictures retain their

significance, if they are the exact Kohn-Sham orbitals, rather than those of Hartree-Fock.

20 CHAPTER 1. INTRODUCTION

1s

1s

1s

!

!

Figure 1. 3 : Orbital diagram of H 2 bond formation.

And a highly accurate approximate density functional calculation produces the full electronic

energy from these orbitals, resolving the paradox.

  1. 4 Sampler of applications

In this section, we highlight a few recent applications of modern DFT, to give the reader a

feeling for what kinds of systems can be tackled.

Example from biochemistry, using ONIOM.

Example from solid-state, eg ferromagnetism.

Example using CP molecular dynamics, eg phase-diagram of C.

Example from photochemistry, using TDDFT.

  1. 5 Particle in a box

In this section, we take the simplest example from elementary quantum mechanics, and apply

density functional theory to it. This provides the underlying concepts behind what is going

on in the more previous sections of this chapter. Much of the rest of the book is spent

connecting these two.

In general, we write our Hamiltonian as

H =

T +

V ( 1 .7)

where

T denotes the operator for the kinetic energy and

V the potential energy. We begin

with the simplest possible case. The Hamiltonian for a 1 -D 1 -electron system can be written

as

H = −

d

2

dx

2

  • V (x) ( 1 .8)
    1. PARTICLE IN A BOX 21

The time-independent Schr¨odinger equation has solutions:

Hφ i

= ε i

φ i

, i = 0 , 1 , ... ( 1 .9)

Thus ε 0 denotes the ground state energy and φ 0 the ground state wave function. Because

the operator

H is hermitian the eigenstates can be chosen orthonormal:

∫ ∞

−∞

dx φ

∗

i

(x)φ j

(x) = δ ij

Thus each eigenfunction is normalized. The electron probability density is just n(x) =

|φ 0 (x)|

2 .

Exercise 1 Particle in a one-dimensional box

Consider the elementary example of a particle in a box, i.e., V (x) = ∞ everywhere, except

0 ≤ x ≤ L, where V = 0. This problem is given in just about all elementary textbooks on

quantum mechanics. Show that the solution consists of trigonometric functions (standing

waves), and making them vanish at the boundaries quantizes the energy, i.e.,

φ i

√ √

√

√

L

sin(k i x), i = 1 , 2 , ... ( 1 .1 1 )

where k i = πi/L, and the energies are & i = k

2

i

/ 2. Check the orthonormality condition, Eq.

Next we consider the following approximate density functional for the kinetic energy of

non-interacting electrons in one-dimension. Don’t worry if you never heard of a functional

before. In fact, chapter ?? discusses functionals in some detail. For now, we need only the

fact that a functional is a rule which maps a function onto a number. We use square brackets

[..] to indicate a functional dependence. The functional we write down will be the local

approximation to the kinetic energy of non-interacting spinless fermions in one dimension.

We do not derive it here, but present it for calculational use, and derive it later in the chapter:

T

loc

S

[n] = 1. 645

∫ ∞

−∞

dx n

3

(x). ( 1 .1 2 )

A local functional is one which is a simple integral over a function of its argument. Now,

since for the particle in a box, all its energy is kinetic, we simply estimate the energy using

T

loc

S

[n]. Since the electron density is the square of the orbital:

n 1

(x) =

L

sin

2 (k 1

x), ( 1 .1 3 )

we find T

loc

S

= 4. 11 /L

2 , a 17 % underestimate of the true value, π

2 / 2 L

2 = 4. 93 /L

2

. What

is so great about that? There is not much more work in finding the exact energy (just take

the second derivative of φ 1

, and divide by φ 1

) as there is in evaluating the integral.

But watch what happens if there are two particles, fermions of the same spin (the general

case for which T

loc

S

was designed). We find now E = & 1

2 = 5 π

2

/ 2 L

2

= 24. 7 /L

2

. If we

evaluate the approximate kinetic energy again, using n(x) = n 1

(x) +

2

L

sin

2 (k 2

x), we find

T

loc

S

= 21. 8 /L

2

, an 11 % underestimate.

22 CHAPTER 1. INTRODUCTION

Exercise 2 Three particles in a box

Calculate the exact energy of three identical fermions in a box of length L. Plot the total

density for one, two, and three particles. Compare the exact energy with that from the local

approximation. What happens as the number of electrons grows? Answer: E = 7 π

2

/L

2

,

E

loc = 63 /L

2 , a 9 % underestimate.

These results are gotten by the evaluation of a simple integral over the density, whereas

the exact numbers require solving for all the eigenvalues of the box, up to N , the number of

electrons in it. Thus approximate density functionals produce reliable but inexact results at

a fraction of the usual cost.

To see how remarkable this is, consider another paradigm of textbook quantum mechanics,

namely the one-dimensional harmonic oscillator. In the previous example, the particles were

sine waves; in this one, they are Gaussians, i.e., of a completely different shape. Applying

the same approximate functional, we find merely a 20 % overestimate for one particle:

Exercise 3 Kinetic energy of 1 -d harmonic oscillator

What is the ground-state energy of a 1 -d harmonic oscillator? What is its kinetic energy?

Calculate its density, and from it extract the local density approximation to its kinetic energy.

Repeat for two same-spin electrons occupying the lowest two levels of the well.

Congratulations. You have performed your first elementary density functional calculations,

and are well on the way to becoming an expert!

0

2

4

6

8

10

12

14

0 0.2 0.4 0.6 0.8 1

10 particles in a box

Figure 1. 4 : Density of 10 particles in a box.

In fact, there’s a simple way to see how this magic has been performed. Imagine the box

with a large number of particles. In Fig. 1 .4, we have plotted the case for N = 10. As the

number of particles grows, the density becomes more and more uniform (independent of the

shape of the box!). If we assume it actually becomes uniform as N → ∞, with errors of

order 1 /N or smaller, this gives us the constant in the local approximation. To see this, note

    1. QUESTIONS 25

Extra exercises

  1. For a δ-function potential, v(x) = −Zδ(x), the ground-state kinetic energy is Z

2

/ 2 and

the density is Z exp(− 2 Zx). Before calculating the local approximation, first guess if it

will be an overestimate or an underestimate, and by how much.

  1. Another famous example is v(x) = −a

2

sech

2

(ax), with ground-state energy −a

2

/ 2 and

density a sech

2

(ax)/ 2. Repeat above problem.

26 CHAPTER 1. INTRODUCTION

Chapter 2

Functionals

1 In this chapter, we introduce in a more systematic fashion what exactly a functional

is, and how to perform elementary operations on functionals. This mathematics will

be needed when we describe the quantum mechanics of interacting electrons in terms of

density functional theory.

  1. 1 What is a functional?

A function maps one number to another. A functional assigns a number to a function. For

example, consider all functions r(θ), 0 ≤ θ ≤ 2 π, which are periodic, i.e., r(θ + 2 π) = r(θ).

Such functions describe shapes in two-dimensions of curves which do not “double-back” on

themselves, such as in Fig. 2 .1. For every such curve, we can define the perimeter P as the

Figure 2. 1 : A 2 D curve which is generated by a function r = r(θ)

length of the curve, and the area A as the area enclosed by it. These are functionals of r(θ),

in the sense that, for a given curve, such as the ellipse

r(θ) = 1 /

√

sin

2

(θ) + 4 cos

2 (θ) ( 2 .1)

there is a single well-defined value of P and of A. We write P [r] and A[r] to indicate this

functional dependence. Note that, even if we don’t know the relation explicitly, we do know

it exists: Every bounded curve has a perimeter and an area.

For this simple example, we can use elementary trigonometry to deduce explicit formulas

for these functionals. Consider the contribution from an infinitesimal change in angle dθ, and

1 ©c 2000 by Kieron Burke. All rights reserved.

27

28 CHAPTER 2. FUNCTIONALS

integrate over the entire range of angles. The contribution to the area is that of a triangle

of base r cos(dθ) ≈ r and height r(θ) sin(dθ) ≈ rdθ, yielding

A[r] =

∫

rdθr =

∫ 2 π

0

dθ r

2 (θ) ( 2 .2)

For an abitrary r(θ) the integral above can be evaluated to give the area that is enclosed by

the curve. Thus this functional maps a real function of one argument to a number, in this

case the area enclosed by the curve. Similarly, the infinitesimal change in the perimeter is

just the line segment in polar coordinates:

δP

2 = dr

2

  • r

2 (θ)dθ. ( 2 .3)

Now, since r = r(θ), we can write dr = dθ (dr/dθ), yielding

P [r] =

∫ 2 π

0

dθ

√

r

2 (θ) + (dr/dθ)

2

. ( 2 .4)

In both cases, once we know r(θ), we can calculate the functional.

The area is a local functional of r(θ), since it can be written in the form:

A[r] =

∫ 2 π

0

dθ f (r(θ)), ( 2 .5)

where f (r) is a function of r. For the area, f = r

2 / 2. These are called local because,

inside the integral, one needs only to know the function right at a single point to evaluate

the contribution to the functional from that point. On the other hand, P is a semi-local

functional of the radius, as it depends not only on r, but dr/dθ.

We have already come across a few examples of density functionals. In the opening

chapter, the local approximation to the kinetic energy is a local functional of the density,

with f (n) = 1. 645 n

3

. On the other hand, for any one-electron system, the exact kinetic

energy is a semi-local functional, called the von Weisacker functional:

T

VW

S

[n] =

∫ ∞

−∞

dx

n

′ 2

n

where n

′

(x) = dn/dx. Later we will see some examples of fully non-local functionals.

  1. 2 Functional derivatives

When we show that the ground-state energy of a quantum mechanical system is a functional

of the density, we will then want to minimize that energy to find the true ground-state density.

To do this, we must learn how to differentiate functionals, in much the same way as we learn

how to differentiate regular functions in elementary calculus.

To begin with, we must define a functional derivative. Imagine making a tiny increase in

a function, localized to one point, and asking how the value of a functional has changed due

    1. QUESTIONS 31

of Lagrange multipliers. Following the example in the Appendix (A.1), construct a new

functional

B[r] = A[r] − μP [r], ( 2 .1 8 )

where μ is at this point an unknown constant. Then extremize the new functional B[r], by

setting its functional derivative to zero:

δB

δr

δA

δr

− μ

δP

δr

= r(θ) − μ

r

3

  • r

′ 2 ( 2 r − r

′′ )

(r

2

  • r

′ 2 )

3 / 2

A simple solution to this equation is r(θ) = μ, a constant. This tells us that the optimum

shape is a circle, and the radius of that circle can be found by inserting the solution in the

constraint, P [r = μ] = 2 πμ = l. The largest area enclosable by a piece of string of length l

is A[r = μ] = l

2

/( 4 π).

Exercise 7 Change in a functional

Suppose you know that a functional E[n] has functional derivative v(r) = − 1 /r for the

density n(r) = Z exp(− 2 Zr), where Z = 1. Estimate the change in E when Z becomes

Exercise 8 Second functional derivative

Find the second functional derivative of (a) a local functional and (b) T

VW

S

  1. 4 Questions

  2. Compare the functional derivative of T

VW

S

[n] with T

loc

S

[n] for some sample one-electron

problem. Comment.

  1. If someone just tells you a number for any density you give them, e.g., the someone might

be Mother Nature, and the number might be the total energy measured by experiment,

devise a method for deducing if Mother Nature’s functional is local or not.

  1. Is there a simple relationship between T S and

∫

dx n(x)δT S /δn(x)? First consider the

local approximation, then the Von Weisacker. Comment on your result.

  1. For fixed particle number, is there any indeterminancy in the functional derivative of a

density functional?

32 CHAPTER 2. FUNCTIONALS

Extra exercises

  1. Consider a square of side 1. Check that the circle of the same perimeter has a larger

area.

  1. For the unit square centered on the origin, check that Eqs. ( 2 .2) and ( 2 .4). are correct.

Hint: You need only do the first octant, x > y > 0.

Chapter 3

One electron

1

In this chapter, we review the traditional wavefunction picture of Schr¨odinger for one

particle, but introducing our own specific notation.

  1. 1 Variational principle

We start off with the simplest possible case, one electron in one dimension. Recall, from

basic quantum mechanics, the Rayleigh-Ritz variational principle:

E = min

φ

〈 φ |

H | φ 〉,

∫ ∞

−∞

dx |φ(x)|

2

= 1. ( 3 .1)

We will use this basic, extremely powerful principle throughout this book. This principle says

that we can use any normalized wavefunction to calculate the expectation value of the energy

for our problem, and we are guaranteed to get an energy above the true ground-state energy.

For example, we can use the same wavefunction for every 1 -d one-electron problem, and get

an upper bound on the ground-state energy.

Having learnt about functionals in Chapter ??, we may write this principle in the following

useful functional form. For example, the kinetic energy of the particle can be considered as

a functional of the wavefunction:

T [φ] =

∫ ∞

−∞

dx φ

∗

(x)

 −

d

2

dx

2

 φ(x) =

∫ ∞

−∞

dx |φ

′

(x)|

2

( 3 .2)

where the second form is gotten by integration by parts, and the prime denotes a spatial

derivative. (This second form is much handier for many calculations, as you only need take

one derivative.) Thus, for any given normalized wavefunction, there is a single number T ,

which can be calculated from it, via Eq. ( 3 .2). Similarly, the potential energy is a very simple

functional:

V [φ] =

∫ ∞

−∞

dx V (x) |φ(x)|

2

. ( 3 .3)

The kinetic energy of a given wavefunction is always the same, no matter what the prob-

lem we are applying that wavefunction to. The kinetic energy is a universal functional,

1 ©c 2000 by Kieron Burke. All rights reserved.

33

34 CHAPTER 3. ONE ELECTRON

independent of the particular problem, i.e., we apply the same operation on a given trial

wavefunction, no matter what our physical problem is. But the potential energy functional

differs in each problem; it is not universal. This is analogous to trying to find the minimum

over x of f (x, y) = x

2

/ 2 − xy. The first term is independent of y, so we could make a list

of it value for every x, and then use that same list to find the minimum for any y, without

having to evaluate it again for each value of y.

Now our variational principle can be written by writing

E = min

φ

{T [φ] + V [φ]},

∫ ∞

−∞

dx |φ(x)|

2

= 1 ( 3 .4)

We need simply evaluate the energy of all possible normalized wavefunctions, and choose the

lowest one.

  1. 2 Trial wavefunctions

Next, we put trial wavefunctions into the variational principle to find upper bounds on the

ground-state energy of a system.

Exercise 9 Gaussian trial wavefunction

An interesting potential in one-dimension is just V (x) = −δ(x), where δ is the Dirac delta

function. Using a Gaussian wavefunction, φ G (x) = π

− 1 / 4

exp(−x

2

/ 2 ), as a trial wavefunc-

tion, make an estimate for the energy, and a rigorous statement about the exact energy.

We can improve on our previous answers in two distinct ways. The first method is to

include an adjustable parameter, e.g., the length scale, into our trial wavefunction.

Exercise 10 Adjustable trial wavefunction

Repeat Ex. ( 9 ) with a trial wavefunction φ G

(αx) (don’t forget to renormalize). Find 〈 T 〉(α)

and 〈 V 〉(α) and plot their sum as a function of α. Which value of α is the best, and what

is your estimate of the ground-state energy? Compare with previous calculation.

Note that this has led to a non-linear optimization problem in α. Varying exponents in

trial wavefunctions leads to difficult optimization problems.

To see how well we did for this problem, the next exercise yields the exact answer.

Exercise 11 1 -d Hydrogen atom

Use φ E (αx), where φ E (x) = exp(−|x|) as a trial wavefunction for the problem in Ex. ( 9 ).

Find the lowest energy. This is the exact answer. Calculate the errors made in the previous

exercises, and comment.

An alternative, simpler approach to improving our trial wavefunction is to make a linear

combination with other trial wavefunctions, but not vary the length scale. Thus we write

φ trial (x) = c 0 φ 0 (x) + c 1 φ 1 (x), ( 3 .5)

    1. QUESTIONS 37

In the special case in which v(x) = Ax

p , 〈 x

dV

dx

〉 = p〈 V 〉, so that

2 T = pV ( 3 .1 6 )

This can save a lot of time when doing calculations, because one only needs either the kinetic

or the potential energy to deduce the total energy. Note that, for these purposes, the δ-fn

acts as if it had power p = − 1.

The theorem is also true for three-dimension problems, and also true for interacting prob-

lems, once the potential is interpreted as all the potential energy in the problem. Thus, for

any atom, p = − 1 , and E = −T = −V / 2 , where V is the sum of the external potential and

the electron-electron repulsion.

Exercise 14 Virial theorem for one electron

Check Eq. ( 3 .1 6 ) for the ground state of (a) the 1 d H atom, (b) the 1 d harmonic oscillator,

(c) the three-dimensional Hydrogen atom. Also check it for Ex. ( 9 ) and ( 10 ).

Some approximations automatically satisfy the virial theorem, others do not. In cases that

do not, we can use the virial theorem to judge how accurate the solution is. In cases that do,

we can use the virial theorem to check we dont have an error, or to avoid some work.

  1. 6 Questions

All the questions below are conceptual.

  1. Suggest a good trial wavefunction for a potential that consists of a negative delta function

in the middle of a box of width L.

  1. Sketch, on the same figure, the 1 d H-atom for Z = 1 / 2 , 1 , and 2. What happens as

Z → ∞ and as Z → 0?

  1. What is the exact kinetic energy density functional for one electron in one-dimension?

  2. How would you check to see if your trial wavefunction is the exact ground-state wave-

function for your problem?

  1. Consider what happens to the potential v(x) = Ax

p

as p gets large. Can the virial

theorem be applied to the particle in the box (even if it yields trivial answers)?

38 CHAPTER 3. ONE ELECTRON

Chapter 4

Two electrons

1 In this chapter, we review the traditional wavefunction picture of Schr¨odinger for two

electrons. We keep everything as elementary as possible, avoiding sophistry such as the

interaction picture, second quantization, Matsubara Green’s functions, etc. These are all

valuable tools for studying advanced quantum mechanics, but are unneccessary for the

basic logic of our presentation.

  1. 1 Antisymmetry and spin

When there is more than one particle in the system, the Hamiltonian and the wavefunction

includes one coordinate for each particle, as in Eqn. ( 1 .1) for the H 2 molecule. Furthermore,

electrons have two possible spin states, up or down, and so the wavefunction is a function both

of spatial coordinates and spin coordinates. A general principle of many-electron quantum

mechanics is that the wavefunction must be antisymmetric under interchange of any two sets

of coordinates. All this is covered in elementary textbooks. For our purposes, this implies the

2 -electron wavefunction satisfies:

Ψ(r 2 , σ 2 , r 1 , σ 1 ) = −Ψ(r 1 , σ 1 , r 2 , σ 2

The ground-states of our systems will be spin-singlets, meaning the spin-part of their wave-

function will be antisymmetric, while their spatial part is symmetric:

Ψ(r 1

σ 1

, r 2

σ 2

) = Ψ(r 1

, r 2

) χ

Singlet

(σ 1

, σ 2

where the spatial part is symmetric under exchange of spatial coordinates and the spin part

χ

Singlet (σ 1

, σ 2

1 √

2

( | ↑↓ 〉 − | ↓↑ 〉) is antisymmetric.

  1. 2 Hartree-Fock

For more than one electron, the operators in the Hamiltonian depend on all the coordinates,

but in a simple way. Both the kinetic energy and the external potential are one-body operators,

1 ©c 2000 by Kieron Burke. All rights reserved.

39

40 CHAPTER 4. TWO ELECTRONS

meaning that they are sums of terms which each depend on only one coordinate at a time:

T = −

d

2

dx

2

1

d

2

dx

2

2

V

ext

= v ext

(x 1

) + v ext

(x 2

The electron-electron repulsion operator is a two-body operator, each term depending on

two coordinates simultaneously. Note that it is this term that complicates the problem,

by coupling the two coordinates together. The interaction between two electrons in three

dimensions is Coulombic, i.e., 1 /|r − r

′

|. This is homogeneous of degree -1 in coordinate

scaling. However, 1 /|x − x

′ | in one-dimension is an exceedingly strong attraction, and we

prefer to use δ(x − x

′

), which has the same scaling property, but is much weaker and more

short-ranged.

We will now consider the problem of one-dimensional He as a prototype for two electron

problems in general. The Hamiltionian is then:

H = −

d

2

dx

2

1

d

2

dx

2

2

 − Zδ(x 1

) − Zδ(x 2

) + δ(x 1

− x 2

To find an exact solution to this, we might want to solve the Schr¨odinger equation with

this Hamiltonian, but to find approximate solutions, its much easier to use the variational

principle:

E = min

Ψ

H | Ψ 〉,

∫

dx 1 dx 2 |Ψ(x 1 , x 2

2

= 1. ( 4 .5)

The most naive approach might be to ignore the electron-electron repulsion altogether.

Then the differential equation decouples, and we can write:

Ψ(x 1

, x 2

) = φ(x 1

)φ(x 2

) (ignoring V ee

where both orbitals are the same, and satisfy the one-electron problem. We know from

chapter 3 that this yields

φ(x) =

Z exp(−Z|x|). ( 4 .7)

This decoupling of the coordinates makes it possible to handle very large systems, since we

need only solve for one electron at a time. However, we have made a very crude approximation

to do this. The contribution of the kinetic energy and the potential energy is then just twice

as big as in the single electron system:

T

s

(

Z

2

/ 2

)

V

ext

= 2 (−Z

2

) V ee

and therefore the total energy becomes

E = 2 &

0

= −Z

2

( 4 .9)

which gives for He (Z= 2 ) E = − 4. This is in fact lower than the true ground-state energy

of this problem, because we have failed to evaluate part of the energy in the Hamiltonian.