An introduction to linear response and to phonon calculations

35
An introduction to linear response and to phonon calculations P. Giannozzi Universit` a di Udine and IOM-Democritos, Trieste March 28, 2018 Reference: Phonons and related crystal properties from density-functional perturbation theory, S. Baroni, S. de Gironcoli, A. Dal Corso, and P. Giannozzi, Rev. Mod. Phys. 73, 515-562 (2001). – Typeset by Foil T E X

Transcript of An introduction to linear response and to phonon calculations

Page 1: An introduction to linear response and to phonon calculations

An introduction to linear responseand to phonon calculations

P. GiannozziUniversita di Udine and IOM-Democritos, Trieste

March 28, 2018

Reference: Phonons and related crystal properties from density-functionalperturbation theory, S. Baroni, S. de Gironcoli, A. Dal Corso, and P. Giannozzi,Rev. Mod. Phys. 73, 515-562 (2001).

– Typeset by FoilTEX –

Page 2: An introduction to linear response and to phonon calculations

Electronic screening

Consider a static perturbation δV0(r) to a system of electrons under an external(nuclear) potential V0(r). At linear order,

δn(r) =

∫χ(r, r′)δV0(r′)dr′

where χ(r, r′) is the density response of the system.

The polarization charge δn(r) produces an electrostatic field that screens theperturbing potential δV0(r):

δV (r) = δV0(r) + e2

∫δn(r′)

|r− r′|dr′

that is:

δV (r) =

∫ (δ(r− r′) + e2

∫χ(r′′, r′)

|r− r′′|dr′′)δV0(r′)dr′ ≡

∫ε−1(r, r′)δV0(r′)dr′.

ε−1(r, r′) is the dielectric response function as usually defined in electrostatics.

Page 3: An introduction to linear response and to phonon calculations

Linear Response functions

• χ(r, r′)yields the charge response to a bare (external) perturbing potential via

δn(r) =

∫χ(r, r′)δV0(r′)dr′

• ε−1(r, r′)yields the screened potential from the bare one via

δV (r) =

∫ε−1(r, r′)δV0(r′)dr′.

and is related to χ(r, r′) via

ε−1(r, r′) ≡ δ(r− r′) + e2

∫χ(r′′, r′)

|r− r′′|dr′′

These are the functions that determine electronic response. Their calculation ishowever a nontrivial many-body problem.

Page 4: An introduction to linear response and to phonon calculations

Density-Functional Linear Response

We assume that the system obeys Kohn-Sham (KS) equations:

(HKS − εi)ψi(r) = 0, HKS = − h2

2m∇2 + VKS(r)

where VKS(r) = V0(r) + VH(r) + Vxc[n(r)] and the charge is given by

n(r) =∑i

fi|ψi(r)|2

(general case of noninteger occupancy fi).

Let us add an external δV0(r) to V0(r): the potential VKS will be modified byδVKS = δV0(r)+δVH(r)+δVxc[n(r)]. Let us consider first order (linear response).We introduce the independent-particle polarizability χ0(r, r′) via

δn(r) =

∫χ0(r, r′)δVKS(r′)dr′.

Unlike χ(r, r′), this quantity can be easily calculated using perturbation theory.

Page 5: An introduction to linear response and to phonon calculations

Independent-particle polarizability

The first-order variation of KS orbitals:

δψi(r) =∑j 6=i

ψj(r)〈ψj|δVKS|ψi〉

εi − εj

and of the charge density (after some manipulations):

δn(r) =∑i

fiδψ∗i (r)ψi(r) + c.c. =

∑i,j,i 6=j

fi − fjεi − εj

ψ∗i (r)ψj(r)〈ψj|δVKS|ψi〉

Note that contribution from i, j states vanishes if both are fully occupied. For aclosed-shell (insulating) system:

δn(r) = 4Re∑v,c

ψ∗v(r)ψc(r)〈ψc|δVKS|ψv〉

εv − εc

v = filled (valence) states, c = empty (conduction) states, a factor 2 from spin.

Page 6: An introduction to linear response and to phonon calculations

Independent-particle polarizability II

We can write the independent-particle polarizability χ0(r, r′) as

χ0(r, r′) = 4Re∑v,c

ψ∗v(r)ψc(r)ψ∗c(r′)ψv(r

′)

εv − εc.

which can be recast into the form

χ0(r, r′) = 4Re∑v

ψ∗v(r)Pc1

εv −HKSPcψv(r

′)

where Pc is the projector operator over conduction states.

Note that:

• this expression is valid only if VKS ≡ VKS(r), i.e. is a local potential:

• χ0(r, r′) is a ground-state property: it yields the difference between two groundstates, even if it seems to depend on excited-state energies εc

Page 7: An introduction to linear response and to phonon calculations

Physical Response Operator

...but we need χ(r, r′), not χ0(r, r′) ! How can we get from χ0 to χ ?

In operator notations: δn = χδV0 = χ0δVKS, and δVKS = δV0+δVH+δVXC.

Screening from Hartree potential:

δVH(r) = e2

∫δn(r′)

|r− r′|dr′ ≡ vcδn, where vc(r, r

′) =e2

|r− r′|

Screening from exchange-correlation:

δVxc(r) =

∫fxc(r, r

′)δn(r′)dr′ ≡ fxcδn, where fxc(r, r′) =

δVxc(r)

δn(r′)

After some algebra (remember that these are operators!):

χ = χ0 + χ0(vc + fxc)χ

and finally

χ =(χ−1

0 − vc − fxc)−1

Page 8: An introduction to linear response and to phonon calculations

Physical Response Operator in practice

Major problem: how to invert the operators!

In solids, the response function χ0(r, r′) can be expressed in reciprocal space as amatrix, the dielectric matrix: χ0(q + G,q + G′), for the response to an externalperturbation of wavevector q. Operators become infinite matrix. By truncatingthem at an appropriate Gcut one has a practical scheme for calculating responseoperators.

Local-field effects: those due to the presence of G 6= 0 terms.

Random Phase Approximation (RPA): neglect the fxc term. Note that the additionof LDA exchange-correlation is straightforward: fxc is a local operator

fxc(r, r′) = δ(r− r′)

dVxc(n)

dn

∣∣∣∣n=n(r)

.

The dielectric matrix approach yields the response to all possible perturbations,but only local ones (i.e. δV local), and is computationally heavy. However we areoften interested to the response to a specific and/or nonlocal perturbation.

Page 9: An introduction to linear response and to phonon calculations

Self-consistent Linear Response

We consider the basic equations, to be self-consistently solved:

δVKS = δV0 + vcδn+ fxcδn

and

δn(r) = 4Re∑v,c

ψ∗v(r)ψc(r)〈ψc|δVKS|ψv〉

εv − εc= 4Re

∑v

ψ∗v(r)Pc1

εv −HKSPcδVKSψv.

The variation of the charge density can be recast into the form

δn(r) = 4Re∑v

ψ∗v(r)∆ψv(r), where ∆ψv = Pc1

εv −HKSPcδVKSψv

∆ψv can be obtained from the solution of a linear equation:

(εv −HKS)Pc∆ψv = PcδVKSψv.

The above equations define a self-consistent procedure that can be solved byiteration, much in the same way as in the solution of KS equations.

Page 10: An introduction to linear response and to phonon calculations

Linear Response to an Electric Field

If the perturbing potential represents a macroscopic electric field δE:

δV0 = −eδE0 · r

it is ill-defined in a crystal, because r is not a lattice-periodic operator! it canhowever be recast into a well-defined expression using the following trick:

〈ψc|r|ψv〉 =〈ψc|[HKS, r]|ψv〉

εc − εvfor c 6= v.

We can rewrite |ψαv 〉 = Pcrα|ψv〉 as the solution of a linear system:

(HKS − εv)|ψαv 〉 = Pc[HKS, rα]|ψv〉,

where the commutator can be calculated from the following expression:

[HKS, r] = −h2

m

∂r+[VNL, r

].

(VNL is the nonlocal term of the potential if present).

Page 11: An introduction to linear response and to phonon calculations

Macroscopic Polarization

The bare macroscopic electric field will be screened according to electrostatic:Eα0 =

∑β ε

α,β∞ Eβ, where ε∞ is the electronic (clamped-nuclei) contribution to the

dielectric tensor. This is related to the induced polarization P via E0 = E + 4πPso that

εα,β∞ = δα,β + 4πδPαδEβ

The macroscopic induced polarization can be calculated as

δPα = − e

NcΩ

∫rαδn(r)dr =

e

NcΩ

∑v

⟨ψαv |∆ψv

⟩.

(Nc is the number of cells of volume Ωc, NcΩ is the crystal volume) using thesame trick as shown before. In practical calculations, the (screened) electric fieldE is kept fixed, iteration is performed on the microscopic terms of the potential:

δVKS(r) = −eδEαrα +

∫ (e2

|r− r′|+δvxc(r)

δn(r′)

)δn(r′).

Page 12: An introduction to linear response and to phonon calculations

Linear Response and Phonons

An important advantage of the self-consistent approach to Linear Response: thetypical PW-PP technology can be straightforwardly applied. Note that the projectorover empty states can be written as

Pc = 1− Pv = 1−∑v

|ψv〉〈ψv|

so that conduction bands are never explicitly required.

Typical application: calculation of normal vibrational modes, and especially phononsin crystals. The ”perturbing potential” is in this case the displacement of a nuclearpotential (or of a group of them). Once δn(r) is (are) calculated, the dynamicalmatrix can be easily derived, along with phonon modes and frequencies. To thisend, we need to know the form of the second-order expansion term of the energy.

Such procedure is often called Density-Functional Perturbation Theory (DFPT).

(in the following, notations change: derivatives replace infinitesimal increments)

Page 13: An introduction to linear response and to phonon calculations

Density-Functional Perturbation Theory

Let us assume that the external potential depends on some parameter λ

Vλ(r) ' V (r) + λ∂V (r)

∂λ+

1

2λ2∂

2V (r)

∂λ2+ ...

(all derivatives calculated at λ = 0) and expand the charge density

nλ(r) ' n(r) + λ∂n(r)

∂λ+

1

2λ2∂

2n(r)

∂λ2+ ...

and the energy functional into powers of λ:

Eλ ' E + λ∂E

∂λ+

1

2λ2∂

2E

∂λ2+ ...

The first-order derivative ∂E/∂λ does not depend on any derivative of n(r)(Hellmann-Feynman theorem):

∂E

∂λ=

∫n(r)

∂V (r)

∂λdr

Page 14: An introduction to linear response and to phonon calculations

Energy functional expansion terms

The second-order derivative ∂2E/∂λ2 depends on the first-order derivative of thecharge density, ∂n(r)/∂λ:

∂2E

∂λ2=

∫∂V (r)

∂λ

∂n(r)

∂λdr +

∫n(r)

∂2V (r)

∂λ2dr

The result can be generalized to mixed derivatives:

∂2E

∂λ∂µ=

∫∂V (r)

∂λ

∂n(r)

∂µdr +

∫n(r)

∂2V (r)

∂λ∂µdr

(the order of derivatives can be exchanged)

In general, the (2n+ 1)−th derivative of energy depends only on derivatives up toorder n of the charge density ((2n+ 1) theorem) due to its variational character.

∂n/∂λ can be calculated either by the self-consistent procedure shown above, orby direct minimization of the 2nd-order energy, written as a functional of ∂n/∂λ.

Page 15: An introduction to linear response and to phonon calculations

Born-Oppenheimer approximation

The behavior of a system of interacting electrons r and nuclei R is determined bythe solutions of the time-dependent Schrodinger equation:

ih∂Φ(r,R; t)

∂t=

(−∑I

h2

2MI

∂2

∂R2I

−∑i

h2

2m

∂2

∂r2i

+ V (r,R)

)Φ(r,R; t)

where V (r,R) is the potential describing the coulombian interactions:

V (r,R) =∑I>J

ZiZJe2

|RI −RJ |−∑i,I

ZIe2

|ri −RI|+∑i>j

e2

|ri − rj|

≡ Vnn(R) + Vne(r,R) + Vee(r)

Born-Oppenheimer (or adiabatic) approximation (valid for MI >> m):

Φ(r,R; t) ' Φ(R)Ψ(r|R)e−iEt/h

NB: r ≡ (r1, .., rN), R ≡ (R1, ..,Rn)

Page 16: An introduction to linear response and to phonon calculations

Potential Energy Surface

The Born-Oppenheimer approximation allows to split the problem into an electronicproblem depending upon nuclear positions:(

−∑i

h2

2m

∂2

∂r2i

+ V (r,R)

)Ψ(r|R) = E(R)Ψ(r|R)

and a nuclear problem under an effective interatomic potential determined by theelectrons: (

−∑I

h2

2MI

∂2

∂R2i

+ E(R)

)Φ(R) = EΦ(R)

E(R) determines the Potential Energy Surface and the equilibrium geometry. Atequilibrium, forces FI on nuclei vanish:

FI = −∂E(R)

∂RI= 0

NB: r ≡ (r1, .., rN), R ≡ (R1, ..,Rn)

Page 17: An introduction to linear response and to phonon calculations

Normal vibrational modes in crystals and molecules

Harmonic approximation: the interatomic potential energy is expanded to 2ndorder. The resulting Hamiltonian transforms into a sum of independent oscillators.

Normal mode frequencies, ω, and displacement patterns, UαI for cartesiancomponent α of atom I, at atomic position RI, are determined by the secularequation: ∑

J,β

(CαβIJ −MIω

2δIJδαβ

)UβJ = 0,

where CαβIJ is the matrix of inter-atomic force constants (IFC), i.e. secondderivatives of the energy with respect to atomic positions:

CαβIJ ≡∂2E(R)∂RαI ∂R

βJ

.

In crystals, normal modes are classified by a wave-vector q. Phonon frequencies,ω(q), and displacement patterns, Uαs (q), are determined by the secular equation:∑

t,β

(Cαβst (q)−Msω

2(q)δstδαβ

)Uβt (q) = 0

Page 18: An introduction to linear response and to phonon calculations

Calculation of phonon spectra

Introduce monochromatic perturbation u to atomic positions RI = Rl + τττ s as

RI[us(q)] = Rl + τττ s + us(q)eiq·Rl.

(Rl =lattice vector, τττ s =equilibrium position of the s-th atom in the unit cell).

Fourier transform of force constants at q are second derivatives of the energy withrespect to such monochromatic perturbations:

Cαβst (q) ≡∑R

e−iq·RCαβst (R) =1

Nc

∂2E

∂u∗αs (q)∂uβt (q)

This can be calculated from the knowledge of the linear response ∂n(r)/∂uαs (q)and diagonalized to get phonon modes at q. Note that:

• the linear response has the same wave vector q of the perturbation: thisalgorithm will work for any q without any supercell involved

• in the spirit of adiabatic approximation, one can use static response.

Page 19: An introduction to linear response and to phonon calculations

Frozen phonon

Frozen phonons is an older and alternative way to calculate phonons. Themonochromatic perturbation is frozen in with a finite amplitude in the system,which is described by a supercell having q as reciprocal lattice vector.

Fourier transform of force constants at q are calculated from finite differences offorces induced on all the atoms of the supercell by the monochromatic perturbation.

Advantages:

• straightforward to implement

Disadvantages:

• limited to small supercells, i.e. q = G/n, where G is a reciprocal lattice vectorof the original cell, n = 2, 3, 4, ..., but in any case a small number.

Note that this is not the algorithm used by quantum ESPRESSO!What if we want the entire dispersions for all q-vectors in the Brillouin Zone?

Page 20: An introduction to linear response and to phonon calculations

Phonons and macroscopic electric fields

Polar materials in the q=0 (long-wavelength) limit: a macroscopic (finite andconstant) electric field is present. Gives raise to observable TO-LO splitting.Macroscopic electric field incompatible with Periodic Boundary Conditions! Mustbe separately treated.

Phenomenological expression for the energy as a function of atomic displacements,us, and of macroscopic electric field, E (Born and Huang long-wavelength limit):

E(u,E) =1

2

∑st

∑αβ

us · anCst · ut −Ω

8πE · εεε∞ · E− e

∑s

us · Z?s · E,

(anCst force constants, εεε∞ dielectric tensor, Z?s Born effective charge tensor).

Under which circumstances is an electric field E generated by atomic displacementsu? Which consequences does it have? The answer comes from electrostatics.

Page 21: An introduction to linear response and to phonon calculations

Phonons and macroscopic electric fields (2)

Let us consider electric induction D = E + 4πP (where P is the polarization):

D = E + Pel + Pion = εεε∞ · E +4π

Ωe∑s

us · Z?s

Maxwell equations tell us q · D = 0 and q× E = 0 =⇒ E = q(q · E), hence

E = −4πe

Ω

∑t

q(q · Z?tut)q · ε∞ · q

and

E(u) =1

2

∑st

∑αβ

us · Cst · ut, Cst = anCst + naCst

wherenaCst =

Ω

(q · Z?s)α (q · Z?t)βq · ε∞ · q

A ”non-analytical” term has appeared in the force constants!

Page 22: An introduction to linear response and to phonon calculations

Effective charges and dielectric tensor

Effective charges Z? are related to polarization P induced by a lattice distortion:

Z?αβs =Ω

e

∂Pα

∂uβs (q = 0).

Dielectric tensor εαβ∞ are related to polarization induced by an electric field E:

εαβ∞ = δαβ + 4π∂Pα∂Eβ

∣∣∣∣us(q=0)=0

.

One can observe that such quantities are second derivatives of the energy as well:

Z?αβs = Zsδαβ −1

Nc

∂2E

∂Eα∂uβs (q = 0)

,

(Nc number of cells in crystal)

εαβ∞ = δαβ +1

Nc

∂2E

∂Eα∂Eβ.

Page 23: An introduction to linear response and to phonon calculations

Calculation of effective charges

Polarization induced by an atomic displacement:

∂Pα

∂uβs (q = 0)= − e

NcΩ

∫r

∂n(r)

∂us(q = 0)dr +

e

ΩZsδαβ.

Integral is ill-defined for a crystal with Periodic Boundary Conditions! Can use atrick:

〈ψm|r|ψn〉 =〈ψm|[HSCF , r]|ψn〉

εm − εn, ∀ m 6= n

(in fact, only non-diagonal matrix elements are needed). The commutator is welldefined:

[HSCF , r] = −h2

m

∂r+ [VNL, r]

(momentum operator, plus a contribution from nonlocal pseudopotentials). Let usdefine |ψαn〉 = rα|ψn〉 the solution of linear system:

(HSCF − εn)|ψαn〉 = Pc[HSCF , rα]|ψn〉

(Pc is the projector over condution states).

Page 24: An introduction to linear response and to phonon calculations

Calculation of effective charges (2)

Effective charges are then given by:

Z?αβs = Zs +4

Nc

N/2∑n=1

⟨ψαn

∣∣∣∣ ∂ψn∂uβ(q = 0)

⟩.

using the linear response to an atomic perturbation.

Alternatively, effective charges are given by the force linearly induced on an atomby an electric field:

Z?αβs = Zs +4

Nc

N/2∑n=1

⟨ψn

∣∣∣∣ ∂V

∂uβ(q = 0)

∣∣∣∣ ∂ψn∂Eα

⟩.

using the linear response to an electric field (this is so because the Z? are mixedsecond derivatives of the energy). quantum ESPRESSO can do both types ofcalculations (they yield the same result within numerical accuracy!)

Page 25: An introduction to linear response and to phonon calculations

Calculation of dielectric tensor

The linear response to a macroscopic electric field can be calculated using the sametrick as above. In fact, V (r) = eE · r is ill-defined but we need only non-diagonalmatrix elements. The convenient way to solve the linear-response equations is toiterate over VSCF (r) while keeping E fixed:

∂VSCF (r)

∂E=∂V (r)

∂E+

∫ (e2

|r− r′|+δvxc(r)

δn(r′)

)∂n(r′)

∂Edr′.

Finally:

εαβ∞ = δαβ −16πe

NcΩ

N/2∑n=1

⟨ψαn

∣∣∣∣∂ψn∂Eβ

⟩.

In the end, all we need to properly deal with LO-TO splitting in phonons are threeadditional linear-response calculations to an electric field

Final note: alternative techniques based on the modern theory of polarizability(Berry’s phase) exist for the calculation of effective charges (also implemented inquantum ESPRESSO)

Page 26: An introduction to linear response and to phonon calculations

Inter-atomic force constants in real space

Inter-atomic force constants in real space, Cαβst (R), are obtained by

• calculating Cαβst (q) on a discrete (n1, n2, n3) grid of q-vectors:

qijk =i− 1

n1G1 +

j − 1

n2G2 +

k − 1

n3G3, i = 1, .., n1, and the like for j, k;

• Fourier-transforming to the corresponding real-space grid:

C(qijk)⇐⇒ C(Rlmn), Rlmn = lR1 +mR2 + nR3

l = −n1/2, ..., n1/2 and the like for m,n.

The denser the grid of q-vectors, the larger the vectors Rlmn for which theinter-atomic force constants are calculated. For non polar system, inter-atomicforce constants are short-ranged and require a moderate number of calculations atdifferent q.

Page 27: An introduction to linear response and to phonon calculations

Inter-atomic force constants in real space (2)

In simple semiconductors like Si and Ge, q-point grids like 4× 4× 4 already yieldrather converged force constants in real space. Symmetry is used to reduce thenumber of needed linear-response calculations.

Once inter-atomic force constants are known, the entire phonon dispersion at anyq can be straightforwardly calculated.

References: Phonons and related crystal properties from density-functionalperturbation theory, S. Baroni, S. de Gironcoli, A. Dal Corso, and P. Giannozzi,Rev. Mod. Phys. 73, 515-562 (2001).

Density-Functional Perturbation Theory, P. Giannozzi and S. Baroni, in Handbookof Materials Modeling, Vol.1: “Methods and Models”, Editor S. Yip, VolumeEditors: E. Kaxiras, N. Marzari, and B. Trout (Springer, 2005), p.195-214

Thermal Properties of Materials from ab-initio Quasi-Harmonic Phonons, S. Baroni,P. Giannozzi, and E. Isaev, Rev. Mineral. Geochem. 71, 39-57 (2010)

Page 28: An introduction to linear response and to phonon calculations
Page 29: An introduction to linear response and to phonon calculations

Interatomic force constants in polar materials

For materials having a TO-LO splitting (e.g.: polar semiconductors), the non-analytic term in the force constants makes inter-atomic force constants in realspace no longer short-ranged. Fourier-interpolation is no longer possible. Solution:

• Subtract from Cαβst (qijk) a term that has the same q → 0 limit of the non-

analytic term naCαβst (q) (and that is easy to calculate)

• Fourier-transform from reciprocal to real space as for the non-polar case: forceconstants in real space are now short-ranged.

• When force constants at a general q are re-calculated from those in real space,re-add the term removed before the Fourier transform.

quantum ESPRESSO uses the same term as the one described in:X. Gonze et al., Phys. Rev B 50, 13035 (1994)

Page 30: An introduction to linear response and to phonon calculations
Page 31: An introduction to linear response and to phonon calculations

Calculation of IR and Raman Intensities

Infrared Intensities:

IIR(ν) =∑α

∣∣∣∣∣∣∑sβ

Z?αβs Uβs (ν)

∣∣∣∣∣∣2

can be calculated directly from effective charges and phonon displacement patterns.

Non-resonant Raman intensities:

IStokes(ν) ∝ (ωi − ων)4

ωνrαβ(ν), rαβ(ν) =

∣∣∣∣ ∂χαβ∂U(ν)

∣∣∣∣2where χ is the electric polarizability of the system.

Raman coefficients are third-order derivatives of the energy that can be calculatedin various ways. The most convenient way is to use second-order response toan electric field: M.Lazzeri and F.Mauri, Phys. Rev. Lett. 90, 036401 (2003).Implemented (but not for USPP or PAW) in quantum ESPRESSO.

Page 32: An introduction to linear response and to phonon calculations

Superconducting Tc and electron-phonon interaction

Electron-phonon interaction λ:

λ =∑qν

λqν =∑qν

γqνπhN(εF )ω2

where N(εF ) is the DOS at the Fermi level, and for phonon mode ν at wavevectorq:

γqν = 2πωqν

∑ij

∫d3k

ΩBZ|gqν(k, i, j)|2δ(εq,i − εF )δ(εk+q,j − εF ),

gqν(k, i, j) =

(h

2Mωqν

)1/2

〈ψi,k|∂VSCF∂U (ν)(q)

|ψj,k+q〉.

U(ν) is a displacement along phonon ν. This quantity can be easily calculatedusing DFPT. McMillan formula for Tc:

Tc =ΘD

1.45exp

[−1.04(1 + λ)

λ(1− 0.62µ∗)− µ∗

]

Page 33: An introduction to linear response and to phonon calculations

Practical phonon calculation in quantum ESPRESSO

First step: scf calculation at equilibrium positions (performed by pw.x)

• Single phonon calculation at finite wave-vector q

– Generate ψk,v and ψk+q,v in the Irreducible Brillouin Zone relative to thesmall group of q; Calculate C(q), diagonalize, produce ω(q) and U(q) (codeph.x)

• Single phonon calculation at Γ wave-vector (q=0)

– Calculate C(q = 0), diagonalize, produce ω(q = 0) and U(q = 0) (codeph.x)For polar materials: calculate non-analytical terms that are missing fromC(q = 0) (LO-TO splitting are absent from ω(q = 0)): specify optionepsil=.true. to ph.x (will calculate and store in output file Z∗ and ε∞).

– Impose Acoustic Sum Rule (ASR), add the nonanalytic LO-TO splitting,calculate cross sections (code dynmat.x)

Sample input files in examples phon.tar.gz

Page 34: An introduction to linear response and to phonon calculations

Practical phonon dispersions calculationFirst step as before: scf calculation at equilibrium positions (performed by pw.x)

• Perform many single-phonon calculations on a uniform grid of wave-vectors qi,including q = 0 (if system is polar, calculate in the latter case Z∗ and ε∞); saveall C(qi) (and Z∗, ε∞) (code ph.x with option ldisp=.true.)

• Perform inverse FFT of the C(qi), obtain interatomic force constants in realspace C(R). For polar materials: a term having the same behaviour for q→ 0as the non-analytic term is subtracted from C(qi) before the Fourier Transformand re-added to C(R), so that no problem related to non-analytic behaviourand related long-rangeness arises in the Fourier Transform (code q2r.x)

• Calculate phonons at any wave-vector, diagonalizing the dynamical matrix:

Dαβst (q) =

1√MsMt

∑R

Cαβst (R) exp(iq ·R)

using code matdyn.x

Sample input files in examples disp.tar.gz

Page 35: An introduction to linear response and to phonon calculations

Fast algorithm for specific cases

A simplified, faster algorithm exists if i) you sample the Brillouin Zone with onlythe Γ point (e.g. molecules, large unit cells), ii) you need phonon modes only atΓ, and iii) you use only norm-conserving pseudopotentials (no USPP or PAW).

• Perform the scf calculation at equilibrium positions with Γ−point tricks: codepw.x with input cardK POINTS gamma

• use specialized code phcg.x to find C(q = 0); specify option epsil=.true.

to calculate Z∗ and ε∞.

• Impose Acoustic Sum Rule (ASR), add the nonanalytic LO-TO splitting,calculate IR cross sections with code dynmat.x

Nonlinear quantities (e.g. Raman) not implemented.