Computer lab: Density functional perturbation theory. theory for lattice dynamics



Similar documents
= N 2 = 3π2 n = k 3 F. The kinetic energy of the uniform system is given by: 4πk 2 dk h2 k 2 2m. (2π) 3 0

First Step : Identifying Pseudopotentials

The Application of Density Functional Theory in Materials Science

0.1 Phase Estimation Technique

Lecture 3: Linear methods for classification

The Quantum ESPRESSO Software Distribution

Review of Statistical Mechanics

THE NUMBER OF GRAPHS AND A RANDOM GRAPH WITH A GIVEN DEGREE SEQUENCE. Alexander Barvinok

Exact Inference for Gaussian Process Regression in case of Big Data with the Cartesian Product Structure

Electrostatic Fields: Coulomb s Law & the Electric Field Intensity

Basic Concepts in Nuclear Physics

A DISCRETE TIME MARKOV CHAIN MODEL IN SUPERMARKETS FOR A PERIODIC INVENTORY SYSTEM WITH ONE WAY SUBSTITUTION

An Introduction to Hartree-Fock Molecular Orbital Theory

Portfolio Distribution Modelling and Computation. Harry Zheng Department of Mathematics Imperial College

State of Stress at Point

Dimensional Analysis

Teoretisk Fysik KTH. Advanced QM (SI2380), test questions 1

Scientific Software Development at Democritos

Web-based Supplementary Materials for Bayesian Effect Estimation. Accounting for Adjustment Uncertainty by Chi Wang, Giovanni

Proper Definition of Spin Current in Spin-Orbit Coupled Systems

Section 3: Crystal Binding

Analysis, post-processing and visualization tools


Examination paper for TMA4205 Numerical Linear Algebra

Lecture 9: Introduction to Pattern Analysis

POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS

Lecture 3 Fluid Dynamics and Balance Equa6ons for Reac6ng Flows

Analysis of Bayesian Dynamic Linear Models

Accuracy of the coherent potential approximation for a onedimensional array with a Gaussian distribution of fluctuations in the on-site potential


NMR - Basic principles

Influences in low-degree polynomials

Simulation of infrared and Raman spectra

5. Orthogonal matrices

Variance Reduction. Pricing American Options. Monte Carlo Option Pricing. Delta and Common Random Numbers

1 Variational calculation of a 1D bound state

Frustrated magnetism on Hollandite lattice

Computations of Magnetic Resonance Parameters for Crystalline Systems: Principles

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

Statistical Machine Learning from Data

DFT in practice : Part I. Ersen Mete

Group Theory and Chemistry

Supporting Information

Sucesses and limitations of dynamical mean field theory. A.-M. Tremblay G. Sordi, D. Sénéchal, K. Haule, S. Okamoto, B. Kyung, M.

Numerical Analysis Lecture Notes

A Beginner s Guide to Materials Studio and DFT Calculations with Castep. P. Hasnip (pjh503@york.ac.uk)

Quantum Time: Formalism and Applications

Some probability and statistics

F en = mω 0 2 x. We should regard this as a model of the response of an atom, rather than a classical model of the atom itself.

Computer Physics Communications

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

Introduction to General and Generalized Linear Models

5.61 Physical Chemistry 25 Helium Atom page 1 HELIUM ATOM

Section 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.

Statistical Machine Learning

Credit Risk Models: An Overview

arxiv:hep-lat/ v1 30 Oct 1992

CHAPTER 24 GAUSS S LAW

14. Nonlinear least-squares

Isotropic Entanglement

Pearson's Correlation Tests

Quantum Computing with NMR

Sample Size Calculation for Longitudinal Studies

Linear Algebra: Determinants, Inverses, Rank

Time domain modeling

CONCEPT OF DETERMINISTIC ION IMPLANTATION AT THE NANOSCALE

Logistic Regression. Jia Li. Department of Statistics The Pennsylvania State University. Logistic Regression

FIELD THEORY OF ISING PERCOLATING CLUSTERS

Point Biserial Correlation Tests


arxiv:hep-th/ v1 25 Jul 2005

PHY4604 Introduction to Quantum Mechanics Fall 2004 Practice Test 3 November 22, 2004

Basic Concepts in Nuclear Physics. Paolo Finelli

6.2 Permutations continued

Analysis of Multi-Spacecraft Magnetic Field Data

Mutual Inductance and Transformers F3 3. r L = ω o

Plate waves in phononic crystals slabs

Lecture 8 February 4

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

Free Electron Fermi Gas (Kittel Ch. 6)

Solid State Detectors = Semi-Conductor based Detectors

1 Introduction to Matrices

N 1. (q k+1 q k ) 2 + α 3. k=0

Outline. Topic 4 - Analysis of Variance Approach to Regression. Partitioning Sums of Squares. Total Sum of Squares. Partitioning sums of squares

Linear Threshold Units

Nonlinear Algebraic Equations Example

19 LINEAR QUADRATIC REGULATOR

Introduction to SME and Scattering Theory. Don Colladay. New College of Florida Sarasota, FL, 34243, U.S.A.

Fundamentals of Plasma Physics Waves in plasmas

SOME EXAMPLES OF INTEGRAL DEFINITE QUATERNARY QUADRATIC FORMS WITH PRIME DISCRIMINANT KI-ICHIRO HASHIMOTO

Well-Separated Pair Decomposition for the Unit-disk Graph Metric and its Applications

Transcription:

Computer lab: density functional perturbation theory for lattice dynamics SISSA and DEMOCRITOS Trieste (Italy)

Outline 1 The dynamical matrix 2 3 4 5

Dynamical matrix We want to write a small computer program that calculates the dynamical matrix of a solid: D sαs β(q) = + Ω Ω d 3 2 V loc (r) r u sα(q) u s β(q) ρ(r) I 1 ( ) ( ) d 3 V loc (r) ρ(r) r I 2 u sα (q) u s β(q) + D Ewald sαs β (q) I 3. We need three routines: dynmat0, drhodv and d2ionq to calculate I 1, I 2 and I 3 respectively.

dynmat0 I 1 can be calculated using the charge density only. It is calculated in reciprocal space. Writing: V loc (r) = µ,s = vloc s (k)eik r e ik Rµ e ik ds e ik uµ,s, µ,s k where vloc s (k) = 1 V d 3 r vloc s (r)e ik r is the Fourier transform of (r), we have that: v s loc v s loc (r R µ d s u µ,s ) 2 V loc (r) u sα(q) u s β(q) = δ s,s ṽloc s (G)e ig ds G α G β e ig r, where ṽloc s (G) = 1 Ω d 3 r vloc s (r)e ig r. G

dynmat0 - I Writing the charge density in Fourier series: ρ(r) = G ρ(g)e ig r, I 1 is: I 1 = δ s,s Ω G ρ(g)ṽ s loc (G) e ig ds G α G β. dynmat0 calculates this sum using the fact that ṽloc s (G) is real and this integral is also real. So I 1 = δ s,s Ω ] ṽloc s (G)G αg β [Rρ(G)cos(G d s ) Iρ(G)sin(G d s ). G

dynmat0 - II Note that we will calculate the phonon frequencies of Si using the Appelbaum and Hamann pseudo-potential so: Ωṽ s loc where k 2 (k) = e 4α { 4πZ ve 2 k 2 + ( π α Z v = 4 v 1 = 3.042 Ha v 2 = 1.372 Ha α = 0.6102 1/(a.u.) 2 ) 3 [ 2 v 1 + v ( )]} 2 3 α 2 k 2 4α

To calculate I 2 we need the periodic part of the bare perturbation V loc (r) u sα(q). We have: V loc (r) u sα (q) = µ e iq Rµ V loc(r) u µsα = i G ṽ s loc (q + G)(q + G) αe i(q+g) ds e i(q+g) r. Therefore the periodic part has Fourier components: V loc (q + G) = iṽloc s u sα (q) (q + G)(q + G) αe i(q+g) ds. This expression is calculated by the routine compute_dvloc.

Charge density response Then we need the lattice-periodic part of the induced charge density which is: ρ(r) u s β(q) = 2 kv u kv (r)pk+q c u kv (r) u s β(q). The routine incdrhoscf calculates this expression after the calculation of Pc k+q u kv (r) u s β (q). Note that if each band is occupied by 2 electrons, in the nonmagnetic case, we need another factor of 2 for spin degeneracy. The sum over k is done as in the calculation of the charge density.

P k+q c u kv (r) u s β (q) is the solution of the linear system: [H k+q + Q ɛ kv ] P k+q c u kv (r) u s β(q) = Pk+q c V KS (r) u s β(q) u kv(r). This linear system is solved by an iterative conjugate gradient algorithm that requires a routine that applies the left hand side to an arbitrary function and a routine that computes the right hand side. The left hand side is applied by the routine ch_psi_all, while the right hand side is calculated from the induced Kohn and Sham potential.

ch_psi_all - II The operator Q = v α u k+qv u k+qv vanishes when applied to Pc k+q so it will not change the solution. If α > max(ɛ kv ɛ k+qv ) it makes the operator H k+q + Q ɛ kv nonsingular and the linear system well defined. We take α = 2(max(ɛ kv ) min(ɛ kv )) and the same α is used for all k points.

is given by: V KS (r) u s β(q) = V loc (r) u s β(q) + d 3 r 1 r) ρ(r ) r r eiq(r u s β(q) + V xc(r) ρ(r) ρ u s β(q). The first term is calculated by compute_dvloc, while the other two terms are calculated by dv_of_drho.

dv_of_drho The induced exchange and correlation potential is calculated in real space. Vxc(r) ρ is calculated at the beginning of the run by phq_init and dmxc by numerical differentiation: [ ] V xc (r) = V xc (r, ρ + ) V xc (r, ρ ) /2, ρ and the induced exchange and correlation potential is calculated in real space: V xc (r) ρ ρ(r) u s β(q).

dv_of_drho - II The induced Hartree potential is calculated in reciprocal space, and a Fourier transform is later used to calculate it in real space. We have: d 3 r 1 r) ρ(r ) r r eiq(r u s β(q) = e iq r ρ(q + G) d 3 r 1 ei(q+g) r u s G β(q) r r = e ig r ρ(q + G) u s G β(q) 4π 1 q + G 2, ρ(q+g) where u s β (q) is calculated by a Fourier transform of ρ(r) u s β (q).

Putting all together: solve_linter We need a driver to solve the self-consistent linear system. The driver is solve_linter. This routine allocates space for the V loc (r) input and output induced potential, apply u s β (q) (using dvqpsi) and the input induced potential to u kv (r), and apply the projector Pc k+q to prepare the right hand side of the linear system. Then it calls cgsolve_all to solve the linear system and incdrhoscf to calculate the contribution of the k point to the induced charge density. These steps are repeated for all k points and then dv_of_drho is used to calculate the output induced potential. Finally a mixing routine checks if self-consistency has been achieved. If not the mixing routine provides the input induced potential for the next iteration.

drhodv After the self-consistent solution of the linear system we obtain ρ(r) the self-consistent induced charge density u s β (q). After a V Fourier transform of loc (q+g) V u sα(q) we get loc (r) u and sα(q) I 2 = ( ) ( ) Ω V loc (r i ) ρ(r i ), N 1 N 2 N 3 u sα (q) u s β(q) i where the sum is over all the points of the real space mesh and N 1, N 2 and N 3 are the dimensions of the mesh.

d2ionq Rev. Mod. Phys. 73, 515 (2001).

dyndia Finally we need a driver for the diagonalization of the dynamical matrix. The driver is dyndia. It divides the dynamical matrix by the masses, it forces it to be exactly Hermitian, it calls the routine cdiagh to diagonalize it and writes on output the frequencies. Imaginary frequencies are written with a minus sign.

Bibliography 1 S. Baroni, P. Giannozzi, and A. Testa, Phys. Rev. Lett. 58, 1861 (1987); P. Giannozzi, S. de Gironcoli, P. Pavone, and S. Baroni, Phys. Rev. B 43, 7231 (1991). 2 S. Baroni, S. de Gironcoli, A. Dal Corso, and P. Giannozzi, Rev. Mod. Phys. 73, 515 (2001). 3 A. Dal Corso, Phys. Rev. B 64, 235118 (2001). 4 A. Dal Corso, Phys. Rev. B 76, 054308 (2007). 5 A. Dal Corso, Phys. Rev. B 81, 075123 (2010).