Professional Documents
Culture Documents
Marsman
Hybrid functionals
Hartree-Fock in PAW
Marsman
A system of N electrons
1
2
i +
i
H(r
1 , ..., rN ) = E(r1 , ..., rN )
1
(r1 , ..., rN ) = E(r1 , ..., rN )
V (ri ) +
|ri rj |
i=j
(#grid points)
Map onto one-electron theory
Marsman
(r1 , ..., rN ) =
N
Y
i (ri )
(r) =
N
X
|i (r)|2
EH [] =
1
2
ZZ
(r)(r )
drdr
|r r |
Exchange-Correlation
Exc [] =???
z
L
4pi/L
b1
b2
a2
b1
b2
y
a1
a3
y
x
x
b3
b3
b1 =
2
a2 a 3
b2 =
2
a3 a 1
= a1 a2 a3
Marsman
b3 =
2
a1 a 2
ai bj = 2ij
1
BZ
BZ
fnk are the occupation numbers, i.e., the number of electrons that
occupy state nk.
Exploiting the fact that the wave functions at k-points that are
close together will be almost identical, one may approximate the
integration over k by a weighted sum over a discrete set of points
(r) =
n
Marsman
Marsman
Monkhorst-Pack meshes
2rqr 1
r
2qr
= 1, 2, . . . , qr
bi reciprocal lattice-vectors
qr determines number of
k-points in r-direction
Marsman
Example
r
b
quadratic 2-dimensional lattice
q1 = q2 = 4 16 k-points
only 3 inequivalent k-points ( IBZ)
4 k1 =
4 k2 =
8 k3 =
1
BZ
BZ
( 18 ,
( 38 ,
( 38 ,
1
8)
3
8)
1
8)
1 =
2 =
3 =
IBZ
BZ
1
4
1
4
1
2
Marsman
k
k
k! r
b
Algorithm
Algorithm:
calculate equally spaced-mesh
shift the mesh if desired
apply all symmetry operations of Bravais lattice to all k-points
extract the irreducible k-points ( IBZ)
calculate the proper weighting
Common meshes: Two choices for the center of the mesh
centered on ( belongs to mesh).
centered around . (can break symmetry !!)
Marsman
shifted to G
>
>
>
r
>
r
>
Marsman
Marsman
XX
n
wk fnk nk |
1
|nk
2
ZZ
eZ (r)eZ (r )
1
EH [, {R, Z}] =
dr dr
2
|r r |
P
where eZ (r) = (r) + i Zi (r Ri )
The electronic charge density
XX
wk fnk |nk (r)|2 dk,
(r) =
n
unk (r) =
1
1/2
CGnk eiGr
G
G eiGr
(r) =
nk (r) =
1
1/2
VG eiGr
V (r) =
CGnk ei(G+k)r
FFT
real space
reciprocal space
G
cut
b2
0
N1 0
5 4 3 2 1 0 1 2 3 4 5
b1
N/2+1
x =n /N
1
1 1
g = n 2 /
1
1
1
FFT
Crnk =
G
N/2
1
NFFT
Crnk eiGr
r
FFT
real space
reciprocal space
G
cut
b2
0
N1 0
5 4 3 2 1 0 1 2 3 4 5
b1
N/2+1
x =n /N
1
1 1
g = n 2 /
1
1
1
FFT
Crnk =
G
N/2
1
NFFT
Crnk eiGr
r
FFT
real space
reciprocal space
G
cut
b2
0
N1 0
5 4 3 2 1 0 1 2 3 4 5
b1
N/2+1
x =n /N
1
1 1
g = n 2 /
1
1
1
FFT
Crnk =
G
N/2
1
NFFT
Crnk eiGr
r
FFT
real space
reciprocal space
G
cut
b2
0
N1 0
5 4 3 2 1 0 1 2 3 4 5
b1
N/2+1
x =n /N
1
1 1
g = n 2 /
1
1
1
FFT
Crnk =
G
N/2
1
NFFT
Crnk eiGr
r
FFT
real space
reciprocal space
G
cut
b2
0
N1 0
5 4 3 2 1 0 1 2 3 4 5
b1
N/2+1
x =n /N
1
1 1
g = n 2 /
1
1
1
FFT
Crnk =
G
N/2
1
NFFT
Crnk eiGr
r
Marsman
Evaluation of H|nk
1
+ V (r) nk (r)
2
1 i(G+k)r
e
G + k|nk = CGnk
1/2
Kinetic energy:
G + k|
1
1
|nk = |G + k|2 CGnk
2
2
NNPLW
4 e2
G2
FFT
V
G
3G cut
G cut
add
FFT
R
G
Marsman
(residual vector)
INCAR tags
PREC=(N)ormal | (A)ccurate
Sets the precision with which densities and potentials are represented (the amount of aliasing one allows, if any),
and the plane wave basis set kinetic energy cutoff (when ENCUT is not set explicitly).
ENCUT (or ENMAX) = [real]
Plane wave basis set kinetic energy cutoff for WFs.
DFT
Introduction to DFT, DFT in depth Lectures from the VASP workshop in Vienna (2003).
Marsman
rc
Marsman
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000 0000
1111
0000
1111
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000 1111
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
1111
0000
Al
Al
111111
000000
000000
111111
000000
111111
000000
111111
000000
111111
000000
111111
000000
111111
000000
111111
effective Al atom
111111111
000000000
2p
1s
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
wave-function
2.5
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
2.0
1.5
Marsman
: E= -0.576 R c=1.9
1.0
111111111
000000000
0.5
000000000
111111111
p : E= -0.205 R c=1.9
000000000
111111111
000000000
111111111
000000000
111111111
000000000
111111111
000000000
111111111
0.0
000000000
111111111
000000000
111111111
1
2
3
4
0
000000000
111111111
000000000
111111111
R (a.u.)
000000000
111111111
000000000
111111111
000000000
111111111
000000000
111111111
000000000
111111111
pseudopotential
PAW Al atom
3p
3s
2p and 1s are
nodeless !!!!
nodal structure
is retained
|n = |n +
(|i |i ) pi |n
veff veff
Marsman
pi |j = ij
ij
|pi Dij pj | |k = k 1 +
ij
|pi Qij pj | |k
Marsman
1st s-channel: 1
Mn 4s bound state
2nd s-channel: 2
Mn s non-bound state
1.5
1
0.5
0
-0.5
-1
-1.5
0
1.5
1
0.5
0
-0.5
-1
-1.5
0
rc
rm
rc
rm
v (r) =
i
v (r) =
i
Marsman
ai |i (r)|2
ai |i (r)|2
|n
Marsman
|n
|n
|i pi |n
Marsman
|n
|n
|i pi |n
|n
|i pi |n +
|i pi |n
Marsman
|n
|n
|lm clm +
11111
00000
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
00000
11111
00000
11111
00000
11111
00000 1111
11111
0000
00000
11111
0000
00000 1111
11111
0000
1111
00000
11111
0000
00000 1111
11111
0000
1111
0000
1111
0000
1111
|lm clm
11111
00000
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
AE
pseudo
+
pseudo-onsite
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
00000
11111
00000
11111
00000
11111
00000 1111
11111
0000
00000
11111
0000
00000 1111
11111
0000
1111
00000
11111
0000
00000 1111
11111
0000
1111
0000
1111
0000
1111
AE-onsite
Wavefunctions
Charge density
Marsman
fn n |
1
|n
2
X
(|i |i ) pi |n
i
E
1 + E 1 (assuming completeness)
=E
XX
XX
1
1
1
ij i | |j +
ij i | |j
fn n | |n
2
2
2
site (i,j)
site (i,j)
{z
} |
{z
} |
{z
}
1
E
Marsman
E1
X
A = A +
|
pi
i |A|j i |A|j
pj |
ij
so that
e A|
e
|A| = |
X
|r r| +
|
pi
i |r r|j i |r r|j
pj |
ij
=
=
e
|r
r|e +
X
ij
e pi
|
i |r r|j i |r r|j
pj |e
AE
11111
00000
00000
11111
0000
00000 1111
11111
1111
0000
00000
11111
0000
00000 1111
11111
0000
00000 1111
11111
0000
1111
00000
11111
0000
1111
0000
1111
0000
1111
00000
11111
00000
11111
00000
11111
00000 1111
11111
0000
00000
11111
0000
1111
00000
11111
0000
00000 1111
11111
0000
1111
00000 1111
11111
0000
0000
1111
0000
1111
E
1 + E1
Hartree energy becomes: EH = E
EH [
+ ]
EH [1 ]
EH [
1 + 1 ] +
sites
sites
1 one-center compensation
=
n
1
+ + c ] +
fn n | |n + Exc [
2
EH [
+ ] +
1
E
=
sites
(i,j)
vH [
Zc ] (
(r) + (r)) d3 r + U (R, Zion )
1
1 + + c ] +
ij i | |j + Exc [
2
vH [
Zc ] 1 (r) + (r) d3 r
EH [
1 + ] +
r
E1
=
sites
(i,j)
1
ij i | |j + Exc [1 + c ] +
2
vH [Zc ]1 (r) d3 r
EH [1 ] +
r
Marsman
fn n n
these terms correct for the shape difference between the pseudo and
AE wavefunctions.
No cross-terms between plane wave part and radial grids exist.
Marsman
ij
ij
|pi Qij pj | |n
1
1
1
1
Dij = i | + veff
[1v ]|j i | + veff
[1v ]|j
2
2
1v (r) =
ij
ij i |r r|j
ij =
n
1v (r) =
ij
ij i |r r|j
fn n |pi pj |n
If the partial waves form a complete basis within the PAW spheres,
then the all-electron wave functions |n are orthogonal to the core
states!
Marsman
Accuracy
PBE(G03)-PBE(V)
PBE0(G03)-PBE0(V)
-8
-10
LiH
SO
Si2H6
CH
H2O
SiH4 C2H4 HCN CH3OH P2
BeH
SO2
CN
H2CO CO2
SiO
ClO
CH4
SiH3 C2H2
Accuracy
Relative PBE bond lengths of Cl2 , ClF, and HCl for various GTO basis
sets specified with respect to plane-wave results:
|n = |n +
lm
Marsman
11111
00000
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
0000 1111
1111
0000
0000 1111
1111
0000
1111
0000
1111
0000
0000 1111
1111
0000
1111
0000
1111
0000
1111
AE
11111
00000
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
00000
11111
1111
0000
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
1111
0000
0000 1111
1111
0000
0000 1111
1111
0000
1111
0000
1111
0000
0000 1111
1111
0000
1111
0000
1111
0000
1111
Marsman
Marsman
Hartree-Fock Theory
1 (r1 ) 1 (r1 )
1 (r2 ) 2 (r2 )
1
(r1 , ..., rN ) =
..
..
N!
.
.
1 (rN ) 2 (rN )
Slater determinant
N (r1 )
N (r2 )
..
.
N (rN )
1
(r1 , r2 ) = 1 (r1 )2 (r2 ) 1 (r2 )2 (r1 )
2
Pauli exclusion principle: (r1 , r2 ) = 0 for 1 = 2
1
+ VZ (r) + VH [n](r) i (r) + VX (r, r )i (r )dr = i i (r)
2
Orbital dependent:
N
j (r)j (r ) compare to DFT: Vxc [n](r)i (r)
VX (r, r ) =
|r r |
j
No electronic correlation!
Marsman
1 HF 3 PBE
E + Ex
+ EcPBE
4 x
4
non-empirical: justified using the adiabatic connection formula.
PBE0
Exc
=
HSE03:
HSE03
Exc
=
3
1 HF,SR
E
() + ExPBE,SR () + ExPBE,LR () + EcPBE
4 x
4
Marsman
B3LYP
EX
LDA
HF
B88
0.8EX
+ 0.2EX
+ 0.72EX
B3LYP
EC
VWN3
LYP
0.19EC
+ 0.81EC
Marsman
Computational aspects
ExHF
d3 rd3 r kn
(r)qm (r)K(r, r )qm
(r )kn (r )
kn,qm
with
K(r, r ) =
1
erfc(|r r |)
or
|r r |
|r r |
(r )kn (r )}
(G) = FFT{qm
division by Laplace operator and FFT to real space
V (G) =
evaluate
4e2
|G|2 (G),
kn
(r)qm (r)V (r)d3 r
ExHF
d3 rd3 r kn
(r)qm (r)K(r, r )qm
(r )kn (r )
kn,qm
Effort:
(Nbands Nk )(Nbands Nq ) NFFT ln NFFT
Bulk: Nbands Natoms , Nk 1/Natoms
NFFT ln NFFT Natoms
Molecular systems: Nk = 1
3
Nbands Nbands NFFT ln NFFT Natoms
Marsman
0
-15
-30
-45
-60
-75
-90
-105
-120
HSE03
[meV]
-15
Ex
Ex
PBE0
[meV]
PBE0
-30
-45
-60
-75
-90
-105
-120
24 12
nq
24 12
nq
Example: Al (fcc)
Short(er) range in real space = Reduced BZ sampling
Marsman
Downsampling cont.
L
1 band
2 k-points
2L
2 bands
1 k-point
unit cells
1
n
Marsman
k-points
n
1
VASP Workshop: Day 1
This equivalent to the description one obtains using a single unit cell and
an equidistant 2m sampling of the 1st BZ.
Ergo: reducing the range of the Fock exchange interaction in the HSE
functional allows for the representation of the Fock potential on a courser
grid of k-points.
Marsman
d3 rd3 r
|r r |
The representation of the corresponding short-range Fock potential in
reciprocal space
`
X Cqm
(G G )Cqm (G G )
4e2 X
2wq fqm
mq
|k q + G |2
G
2
2
1 e|kq+G | /4 .
Full q-grid:
{q} = {
m1
m2
m3
b1 +
b2 +
b3 |mi = 0, ..., Ni 1}
N1
N2
N3
Downsampled q-grid:
{q}k = {k +
3
X
i=1
mi
Ni
Ci
bi |mi = 0, ...,
1}
Ni
Ci
Marsman
10
-10
-20
-30
EXP-PBE(V)
EXP-PBE0(V)
LiH
CH
H2O SiH4 C2H4 HCN CH3OH P2
SO Si2H6
BeH CH4 SiH3 C2H2
CN H2CO CO2
SiO
ClO
SO2
PBE
PBE0
PBE
PBE0
ME
PAW
GTO
+6.43 +6.85
1.47 1.04
0.42 . . .
0.42 . . .
MAE
PAW GTO
8.57 8.79
3.65 3.42
0.46 . . .
0.49 . . .
3 , 1000 eV cutoff
PAW calculations: only, 101112 A
GTO calculations: aug-cc-pV5Z basis set
J. Paier, R. Hirschl, M. Marsman, and G. Kresse, J. Chem. Phys. 122, 234102 (2005).
Marsman
Marsman
1.5
1
0.5
0
-0.5
GaAs MgO
Na
Al
Rh
Marsman
Solid
a0
...
...
C
3.574
Si
5.469
GaAs 5.752
MgO 4.258
Na
4.200
Al
4.040
Rh
3.830
...
...
All systems:
ME
0.039
MAE 0.045
No metals:
ME
0.048
MAE 0.048
HSE03
a0
B
...
...
3.550 466
5.439
96.5
5.696
69.5
4.212 168
4.225
8.45
4.025
81.1
3.786 285
...
...
a0
...
3.549
5.433
5.672
4.211
4.229
4.012
3.785
...
B
...
467
99.0
72.9
169
8.22
86.0
291
...
12.3
12.4
0.012
0.024
2.6
8.6
0.007
0.022
0.1
7.9
...
...
...
...
13.4
13.4
0.010
0.022
0.4
5.7
0.003
0.019
1.9
5.4
...
...
...
...
B
...
431
87.8
59.9
149
7.80
76.6
254
...
PBE0
Exp.
Values given in
A and GPa, respectively.
Marsman
a0
...
3.567
5.430
5.648
4.207
4.225
4.032
3.798
...
B
...
443
99.2
75.6
165
7.50
79.4
269
...
4.0
PBE
PBE0
HSE03
B3LYP
3.0
2.0
1.0
0.0
-1.0
-2.0
Na
Al
Li
Rh
Cu
Ag
Pd
Si
GaAs GaP
GaN
BP
SiC
C
BN
NaF
NaCl
LiF
MgO
LiCl
Figure 4. Relative error in the PBE, PBE0, HSE03, and B3LYP lattice constants with respect to experiment.
Marsman
16
DFT
HSE
LiF
Theory (eV)
C BN
2
AlP
Ne
Ar
MgO
ZnS
SiC GaN
CdS
PbTe Si
0.5
ZnO
GaAs
0.25
PbSe
0.5
PbS
1
4
Experiment (eV)
Marsman
16
-10
-20
-30
PBE
HSE03
B3LYP
-40
-50
ME
MAE
Na
Mg
Pd
PBE
0.045
0.134
Ag
BP
Si
PBE0
0.228
0.286
HSE03
0.184
0.252
B3LYP
0.590
0.590
in eV/atom.
Marsman
Marsman
Heats of formation
10
-10
-20
PBE
PBE0
HSE03
-30
B3LYP
-40
SiC
NaF
NaCl
MgO
LiCl
LiF
t2g
Expt
t2g eg
eg
eg
Theory
-10
-8
-6
-4
-2
10
Intensity (arb.)
2
0
2
1
0
-1
-2
2
1
0
-1
-2
0.8
Mn1, d
t2g
eg
t2g
Mn2, d
eg
O, p
PBE0
PBE+U
PBE
0.4
0
-10
-8
-6
-4
-2
Energy (eV)
C. Franchini, V. Bayer, R. Podloucky, J. Paier, and G. Kresse, Phys. Rev. B 72, 045132 (2005).
Marsman
10
MnO
LDA
HSE03
exp.
A)
a0 (
4.31
4.44
4.45
FeO
LDA
HSE03
exp.
4.17
4.33
4.33
3.26
3.63
3.32/4.2
2.2
2.4
CoO
LDA
HSE03
exp.
4.10
4.26
4.25
2.23
2.67
3.35/4.0
3.4
2.5
NiO
LDA
HSE03
exp.
4.06
4.18
4.17
1.06
1.65
1.64
0.4
4.2
4.0
Marsman
Ms (B )
4.14
4.52
4.58
(eV)
0.4
2.8
3.9
Marsman
PBE
PBE0
HSE03
exp.
top
0.709
0.606
0.561
0.46-0.52
fcc
0.874
0.579
0.555
hcp
0.862
0.565
0.535
0.165
0.027
0.006
Rh(111)
PBE
PBE0
HSE03
exp.
1.870
2.109
2.012
1.43-1.65
1.906
2.024
1.913
1.969
2.104
1.996
0.099
0.005
0.016
Pt(111)
PBE
PBE0
HSE03
exp.
1.659
1.941
1.793
1.43-1.71
1.816
1.997
1.862
1.750
1.944
1.808
0.157
0.056
0.069
Marsman
Marsman
Conclusions
Implementation:
Only small discrepancies between the PAW and GTO atomization
energies for molecular systems at the PBE and hybrid functional
level.
For solid state systems the PAW and GTO results already differ at
the PBE level; probably basis set related inaccuracies in the GTO
calculations. PAW results validated through a comparison with
FLAPW calculations.
Range decomposition of the Coulomb kernel in the HSE functional
allows for a reduced Brillouin zone sampling in the representation of
the Fock potential; the HSE results remain similar to the PBE0
results.
Marsman
Conclusions cont.
Solid state systems:
The PBE0 and HSE hybrid functionals provide an improved
description of the structural (lattice constants and bulk moduli) and
electronic (band gap) properties of systems with a small/medium
sized band gap.
PBE0, HSE, and B3LYP atomization energies are in overall worse
agreement with experiment than those obtained using the semi-local
PBE density functional, in case of B3LYP even drastically so. This
is mainly due to a worse description of metallic systems.
CO adsorption on d-metal (111) surfaces: hybrid funtionals reduce
the tendency to stabilize adsorption at the hollow sites w.r.t. the
top site.
Marsman
A. V. Krukau , O. A. Vydrov, A. F. Izmaylov, and G. E. Scuseria, J. Chem. Phys. 125, 224106 (2006).
Marsman
of Physics, Royal Institute of Technology, AlbaNova University Center, SE-106 91 Stockholm, Sweden
2
Computational Materials and Molecular Biology MS 1110, Sandia National Laboratories, Albuquerque,
New Mexico 87185-1110, USA
PBEsol
PRL 100, 136406 (2008)
week ending
4 APRIL 2008
Department of Physics and Quantum Theory Group, Tulane University, New Orleans, Louisiana 70118, USA
2
Department of Chemistry, Budapest University of Technology and Economics, H-1521 Budapest, Hungary
3
Department of Chemistry, Rice University, Houston, Texas 77005, USA
4
Donostia International Physics Center, E-20018, Donostia, Basque Country
5
Departments of Chemistry and of Physics, University of California, Irvine, Irvine, California 92697, USA
(Received 13 July 2007; published 4 April 2008)
Lattice constants
PHYSICAL REVIEW B 79, 155107 2009
CSONKA et al.
TABLE I. Statistical data for the equilibrium lattice constants of the 18 test solids of Ref. 38 at 0 K calculated from the SJEOS. The
Murnaghan EOS yields identical results within the reported number of decimal places. Experimental low temperature 550 K lattice
constants are from Ref. 56 Li, Ref. 57 Na, K, Ref. 58 Al, Cu, Rh, Pd, Ag, and Ref. 59 NaCl. The rest are based on room temperature
values from Ref. 60 C, Si, SiC, Ge, GaAs, NaF, LiF, MgO and Ref. 57 LiCl, corrected to the T = 0 limit using the thermal expansion from
Ref. 58. An estimate of the zero-point anharmonic expansion has been subtracted out from the experimental values cf. Table II. The
calculated values are precise to within 0.001 for the given basis sets, although GAUSSIAN GTO1 and GTO2 basis-set incompleteness limits
the accuracy to 0.02 . GTO1: the basis set used in Ref. 38. GTO2: For C, Si, SiC, Ge, GaAs, and MgO, the basis sets were taken from
Ref. 41. For the rest of the solids, the GTO1 basis sets and effective core potentials from Ref. 38 were used. The best theoretical values are
in boldface. The LDA, PBEsol, and PBE GTO2 results are from Ref. 14. The SOGGA GTO1 results are from Ref. 15.
MEa
MAEb
MREc %
MAREd %
LDA
LDA
PBEsol
PBEsol
PBEsol
AM05
SOGGA
PBE
PBE
PBE
GTO2
VASP
GTO2
BAND
VASP
VASP
GTO1
GTO2
VASP
BAND
BAND
0.047
0.050
1.07
1.10
0.055
0.050
1.29
1.15
0.022
0.030
0.45
0.67
0.010
0.023
0.19
0.52
0.012
0.023
0.24
0.52
0.029
0.036
0.58
0.80
0.009
0.024
0.19
0.50
0.075
0.076
1.62
1.65
0.066
0.069
1.42
1.48
0.063
0.067
1.35
1.45
0.048
0.052
0.99
1.10
Mean error.
Marsman
TPSS
INCAR tags
GGA= AM | PS Select the AM05 or PBEsol GGA functional.
Marsman
Electronic optimization
Direct minimization of the DFT functional (Car-Parrinello, modern)
Start with a set of wavefunctions {n (r)|n = 1, .., Ne /2} (random
numbers) and minimize the value of the functional (iteration)
2
Gradient: Fn (r) =
2me
2me
n = 1, ..., Ne /2
n
|n (r)|2 and a
energy
n=1,2,4,8
log 10 E-E 0
-6
self.consistent
|
0
-4
n=1
-6
n=8
n=1
self.consistent
-1
-2
-3
-4
direct
CarParrinello
-8
1
log 10 |F-F 0 |
n=1
n=4
-2
direct
CarParrinello
-4
-8
1
log 10 |F-F
11
00
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
L 11
00
11
n=8
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
0
11
0
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
log 10 E-E 0
-2
10
15
iteration
20
-1
-2
-3
-4
forces
10
20
30
iteration
40
X1
X
n +
Hnm (fn fm )|m
|m m | H|
|gn = fn 1
2
m
m
n .
where Hnm = m |H|
unoccupied
charge
occupied
potential
n = n +sm m
= m sn
VH (r) =
2s 4e2
Re ei2kr
|2k|2
The smallest |k| 1/L where L is the largest dimension of the supercell.
the response of the potential VH L2 stable step size s 1/L2
Marsman
H = G|H[]|G
diagonalize H {i , i } i = 1, .., NFFT
Self-consistency
0 H0 1 = f (0 , ) H1 ...
iterate until =
3
BUT: we do not need NFFT one-electron orbitals, at a cost of O(NFFT
) ...
we only need the Nb lowest eigenvectors of H
Marsman
fn |n (r)|2
two subproblems
optimization of
{n } and in
refinement of
density:
DIIS algorithm
P. Pulay, Chem. Phys. Lett.
73, 393 (1980)
no
<
refinement of
wavefunctions:
DIIS or Davidson
algorithm
Marsman
with
nm = n |H|
m
H
m
Snm = n |S|
P
The Nb eigenvalues/eigenvectors app
and |k = m Bmk |m are the
k
within the
best approximation to the exact Nb lowest eigenvalues of H
subspace spanned by the one-electron orbitals m .
and
with app =
Marsman
n
n |H|
n
n |S|
occupied
|R[in ]| min
DIIS algorithm is used for the optimization of the norm of the residual vector.
Linearization of R[in ] around sc (linear response theory)
R[] = J( sc )
with the charge dielectric function J
leads to
J = 1 |{z}
U
4e2
q2
Marsman
4e2
q2
Marsman
AMIX
0.3
0.2
0.1
G1q
2
AMIX
, AMIN)
max( qq2 +BMIX
AMIN
0
3
2
G (1/A )
Marsman
1
+ Veff [](r) + Vext (r) n (r) = n n (r)
2
DFT-Hartree-Fock Hybrid functional depends explicitly on the wave functions
Z
occ
X
m (r )n (r )
1
+ Veff [](r) + Vext (r) n (r)+C
dr = n n (r)
m (r)
2
|r r |
m
so density-mixing will not work (reliably).
Unfortunately we know direct optimization schemes are prone to charge
sloshing for metals and small-gap systems.
Marsman
Mixed scheme
The gradient of the wave functions is given by
X1
X
n +
|m m | H|
|gn = fn 1
Hnm (fn fm )|m
2
m
m
n
with Hnm = m |H|
A search direction towards the groundstate w.r.t. unitary transformations
between the orbitals within the subspace spanned by wave functions can
be found from perturbation theory
Unm = nm s
Hnm
Hmm Hnn
Marsman
where H[]
= T + Vext + Veff [] + VXnl [{}, {f }]
kl
Determine the subspace rotation matrix V that diagonalizes H
Recompute the (partial) occupancies {f }
P
The transformed orbitals l Vnl l and partial occupancies {f } define a
Hsc
nm = m |H[sc ]|n defines the optimal subspace rotation
Unm = nm s
Hsc
nm
Hsc
nn
Hsc
mm
Marsman
This loop is repeated until the change in the free energy from one
iteration to the next drops below the required convergence threshold
Ethr (usually 104 eV).
Marsman
It works: fcc Fe
2
10
1 cell
2 cells
4 cells
10
10
-1
log10 | E-E0|
10
-2
10
-3
10
-4
10
-5
10
-6
10
-7
10
-8
10 0
10
20
30
Iteration
The convergence behaviour of HSE03 calculations using the improved direct minimization procedure (solid lines)
and a standard conjugate gradient algorithm (dotted lines). Calculations on single, double, four times, and eight
times repeated cells are marked with circles (
Marsman
INCAR tags
ALGO The INCAR tag that sets which algorithm is used for the electronic minimization.
IALGO and LDIAG Same as above, but more to choose from (ALGO is the preferred tag). For the direct optimizers
(ALGO =All | Damped) LDIAG = .TRUE. swithches on the density mixer in the determination of the subspace
rotation matrix.
Mixing tags The VASP manual chapter on the settings for the density mixer.
TIME Time step in the direct optimization method ALGO = Damped, and trial time step for the conjugate
gradient direct optimizer ALGO = All.
Electronic optimization Lecture from the VASP workshop in Vienna (2003).
Marsman
at.ref
r|
vX |i
a (r)
a
a (r )i (r )
dr
|r r |
and
1
cv
1
HF
1
1
i | + vH
[1v ] + vH
[HF
Zc ] + vX [{ij }] + vX [{c }]|j
2
1
1
1
1
[1v ] + vH
[Zc ] + vX
[{ij }]|j
i | + vH
2
Qij = i |j i |j
1
1
HF
The most important step is in this scheme: vH
[DFT
Zc ] vH [Zc ].
Marsman
Valence electrons
As
4s2 4p1
3d10 4s2 4p1
3p6 3d10 4s2 4p1
4s2 4p3
4s2 4p3
3d10 4s2 4p3
3 )
GaAs: 0 (A
PAW
HF-PAW
46.06
47.07
47.74
48.79
47.80
47.80
Valence electrons
Si
3 )
Si: 0 (A
PAW
HF-PAW
3s2 3p2
2s2 2p6 3s2 3p2
41.44
41.91
3s
3p
3s2 3p2
PAW
HF-PAW
-15.967
-15.918
-2.761
-2.756
-13.205
-13.161
Marsman
HF ref.
-15.906
-2.760
-13.147
41.86
41.93
i (r) pi |n
n (r) =
i
i (r) pi |n
The point where the Hartree potentials arising from the all-electron
and pseudo ionic cores match moves into regions where the
one-center expansions are not good. This is bound to happen to
1
1
HF
some degree since we adjust vH
[DFT
Zc ] vH [Zc ] and leave
1
vH [Zc ] fixed.
Marsman
Marsman
0.12
0.10
0.08
0.06
0.04
0.02
0.00
0.0
PS PW
PS one center
0.5
1.0
1.5
2.0
2.5
3.0
ij
en |e
pi i |r r|j pej |en =
1 = 1HF
0.12
0.10
0.08
0.06
0.04
0.02
0.00
0.0
0.12
0.10
2 0.08
|ref
HF (r)|
0.06
0.04
0.02
0.00
0.0
Marsman
PS PW
PS one center
0.5
1.0
1.5
2.0
2.5
3.0
HF ref
AE one center
0.5
1.0
1.5
2.0
2.5
3.0
ij
en |e
pi i |r r|j pej |en =
1 = 1HF
e e +
0.12
0.10
0.08
0.06
0.04
0.02
0.00
0.0
0.12
0.10
2 0.08
|ref
HF (r)|
0.06
0.04
0.02
0.00
0.0
1HF
Marsman
0.12
0.10
0.08
0.06
0.04
0.02
0.00
0.0
PS PW
PS one center
0.5
1.0
1.5
2.0
2.5
3.0
HF ref
AE one center
0.5
1.0
1.5
2.0
2.5
3.0
HF ref
PAW AE total
0.5
1.0
1.5
2.0
2.5
3.0
INCAR tags
LRHFATM = .TRUE. Changes the DFT AE core charge density (1 ) to a Hartree-Fock one.
Marsman
Handson sessions
Handson
Handson
Handson
Handson
Session
Session
Session
Session
1
2
3
4
Lectures
SESSION
SESSION
SESSION
SESSION
SESSION
SESSION
SESSION
SESSION
SESSION
SESSION
SESSION
SESSION
1:
2:
3:
4:
5:
6:
7:
8:
10:
11:
12:
13:
Marsman
Some literature
and J. G. Angy
an, J. Chem. Phys. 124, 154709 (2006); Erratum to the previous, J. Chem. Phys. 125, 249901
(2006).
Why does the B3LYP hybrid functional fail for metals, J. Paier, M. Marsman, and G. Kresse, J. Chem. Phys.
127, 024103 (2007).
Hybrid functionals applied to extended systems, M. Marsman, J. Paier, A. Stroppa, and G. Kresse, J. Phys.:
Condens. Matter 20, 064201 (2008).
Marsman