Javier Junquera Code structure: calculation of matrix elements of H and S. Direct diagonalization José M. Soler = N  N N  1.

Slides:



Advertisements
Similar presentations
Non-degenerate Perturbation Theory
Advertisements

A brief introduction D S Judson. Kinetic Energy Interactions between of nucleons i th and j th nucleons The wavefunction of a nucleus composed of A nucleons.
0 Jack SimonsJack Simons, Henry Eyring Scientist and Professor Chemistry Department University of Utah Electronic Structure Theory Session 7.
Modelling of Defects DFT and complementary methods
Quantum Theory of Solids
Introduction to PAW method
Molecular Quantum Mechanics
Introduction to Molecular Orbitals
Chapter 3 Electronic Structures
§5.6 §5.6 Tight-binding Tight-binding is first proposed in 1929 by Bloch. The primary idea is to use a linear combination of atomic orbitals as a set of.
Single Particle Energies
20_01fig_PChem.jpg Hydrogen Atom M m r Potential Energy + Kinetic Energy R C.
Large-Scale Density Functional Calculations James E. Raynolds, College of Nanoscale Science and Engineering Lenore R. Mullin, College of Computing and.
Ground State of the He Atom – 1s State First order perturbation theory Neglecting nuclear motion 1 - electron electron 2 r 1 - distance of 1 to nucleus.
Introduction to run Siesta
Javier Junquera Exercises on basis set generation Increasing the angular flexibility: polarization orbitals.
Philippe Ghosez Lattice dynamics Andrei Postnikov Javier Junquera.
Physical Chemistry 2 nd Edition Thomas Engel, Philip Reid Chapter 21 Many-Electrons Atom.
Network for Computational Nanotechnology (NCN) Purdue, Norfolk State, Northwestern, MIT, Molecular Foundry, UC Berkeley, Univ. of Illinois, UTEP DFT Calculations.
Physics “Advanced Electronic Structure” Pseudopotentials Contents: 1. Plane Wave Representation 2. Solution for Weak Periodic Potential 3. Solution.
Lectures Introduction to computational modelling and statistics1 Potential models2 Density Functional.
Computational Solid State Physics 計算物性学特論 第4回 4. Electronic structure of crystals.
Norm-conserving pseudopotentials and basis sets in electronic structure calculations Javier Junquera Universidad de Cantabria.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : DFT Plane Wave Pseudopotential versus Other Approaches CASTEP Developers’
Javier Junquera Code structure: calculation of matrix elements of H and S. Direct diagonalization José M. Soler = N  N N  1.
Physics “Advanced Electronic Structure” LMTO family: ASA, Tight-Binding and Full Potential Methods Contents: 1. ASA-LMTO equations 2. Tight-Binding.
Calculation of matrix elements José M. Soler Universidad Autónoma de Madrid.
MODULE 8 APPROXIMATION METHODS I Once we move past the two particle systems, the Schrödinger equation cannot be solved exactly. The electronic inter-repulsion.
How to run SIESTA Víctor García Suárez (thanks to J. Junquera and J. Ferrer)
Norm Conserving Pseudopotentials and The Hartree Fock Method Eric Neuscamman Mechanical and Aerospace Engineering 715 May 7, 2007.
Development of a full-potential self- consistent NMTO method and code Yoshiro Nohara and Ole Krogh Andersen.
Tuesday, Sept. 13, 2011PHYS , Fall 2011 Dr. Jaehoon Yu 1 PHYS 1444 – Section 003 Lecture #7 Tuesday, Sept. 13, 2011 Dr. Jaehoon Yu Chapter 22.
1 Complex Images k’k’ k”k” k0k0 -k0-k0 branch cut   k 0 pole C1C1 C0C0 from the Sommerfeld identity, the complex exponentials must be a function.
The eggbox effect: converging the mesh cutoff Objectives - study the convergence of the energy and the forces with respect to the real space grid.
1 MODELING MATTER AT NANOSCALES 4. Introduction to quantum treatments The variational method.
Comp. Mat. Science School 2001 Lecture 21 Density Functional Theory for Electrons in Materials Richard M. Martin Bands in GaAs Prediction of Phase Diagram.
TBPW: A Modular Framework for Pedagogical Electronic Structure Codes Todd D. Beaudet, Dyutiman Das, Nichols A. Romero, William D. Mattson, Jeongnim Kim.
Fundamentals of DFT R. Wentzcovitch U of Minnesota VLab Tutorial Hohemberg-Kohn and Kohn-Sham theorems Self-consistency cycle Extensions of DFT.
Density Functional Theory A long way in 80 years L. de Broglie – Nature 112, 540 (1923). E. Schrodinger – 1925, …. Pauli exclusion Principle.
Quantum Mechanical Cross Sections In a practical scattering experiment the observables we have on hand are momenta, spins, masses, etc.. We do not directly.
Why do bonds form? Energy of two separate H atoms Lennard-Jones potential energy diagram for the hydrogen molecule. Forces involved: We understand that.
Physics “Advanced Electronic Structure” Lecture 1. Theoretical Background Contents: 1. Historical Overview. 2. Basic Equations for Interacting Electrons.
Chemistry 700 Lectures. Resources Grant and Richards, Foresman and Frisch, Exploring Chemistry with Electronic Structure Methods (Gaussian Inc., 1996)
Physics “Advanced Electronic Structure”
Last hour: Electron Spin Triplet electrons “avoid each other”, the WF of the system goes to zero if the two electrons approach each other. Consequence:
Quantum Methods For Adsorption
1 MODELING MATTER AT NANOSCALES 6. The theory of molecular orbitals for the description of nanosystems (part II) Perturbational methods for dealing.
Introduction to the SIESTA method SUMMER SCHOOL ON COMPUTATIONAL MATERIALS SCIENCE University of Illinois at Urbana-Champaign, June 13-23, 2005 Some technicalities.
Lecture 5. Many-Electron Atoms. Pt
3.3 Separation of Variables 3.4 Multipole Expansion
Javier Junquera How to compute the projected density of states (PDOS)
The Hydrogen Atom The only atom that can be solved exactly.
Start. Technische Universität Dresden Physikalische Chemie Gotthard Seifert Tight-binding Density Functional Theory DFTB an approximate Kohn-Sham DFT.
MODELING MATTER AT NANOSCALES 4. Introduction to quantum treatments Eigenvectors and eigenvalues of a matrix.
Restricted and Unrestricted Hartree-Fock method Sudarshan Dhungana Phys790 Seminar (Feb15,2007)
© copyright 2011 William A. Goddard III, all rights reservedCh121a-Goddard-L14 Periodic Boundary Methods and Applications: Ab-initio Quantum Mechanics.
©2011, Jordan, Schmidt & Kable Lecture 13 Lecture 13 Self-consistent field theory This is how we do it.
Lecture 9. Many-Electron Atoms
Electron density: Probability of finding one electron of arbitrary spin within a volume element dr 1 (other electrons may be anywhere). Properties of electron.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : Linear response theory CASTEP Developers’ Group with support from.
Computational Physics (Lecture 7) PHY4061. Eigen Value Problems.
2/23/2015PHY 752 Spring Lecture 171 PHY 752 Solid State Physics 11-11:50 AM MWF Olin 107 Plan for Lecture 17: Reading: Chapter 10 in MPM Ingredients.
Ch.1. Elementary Quantum Chemistry
Structure of Presentation
Non-degenerate Perturbation Theory
Stationary Perturbation Theory And Its Applications
Electronic Structure Theory
Quantum Two.
Orbitals, Basis Sets and Other Topics
Quantum One.
Presentation transcript:

Javier Junquera Code structure: calculation of matrix elements of H and S. Direct diagonalization José M. Soler = N  N N  1

Most important reference followed in this lecture

Goal: solve the one-particle Kohn-Sham Schrödinger-like equation Introducing the expansion into the Kohn-Sham equation, we arrive to the secular equation Expansion of the eigenvectors in a basis of localized atomic orbitals where the coefficients, and are the dual orbital of :

Derivation of the secular equation at Gamma Inserting the expansion of the eigenvector into the Kohn-Sham equation Multiplying by at the left in both sides and integrating over all space Transposing everything to the left hand side term

The one-particle Kohn-Sham hamiltonian The standard Kohn-Sham one-electron hamiltonian might be written as Kinetic energy operatorExchange-correlation potential (Assume LDA approach) Hartree potential Transforming the semilocal pseudopotential form into the fully nonlocal separable Kleinman-Bylander form

Electronic charge density = sum of spherical atomic densities + deformation charge density (bonding) Populate basis function with appropriate valence atomic charges exactly vanishes beyond

The local part is screened by the potential generated by an atomic electron density Neutral atom potential Vanishes exactly ar r c CORE VALENCE Potential outside the sphere vanishes (Gauss theorem  generated by the total charge inside the sphere = 0 if neutral atom)

The hamiltonian computed in SIESTA, combination of two and three center matrix elements KB pseudopotential projector Two center integrals Computed in reciprocal space and tabulated Basis orbitals Non self-consistent Three center integrals Three-dimensional real space grid Self-consistent

KB pseudopotential projector Basis orbitals Non-overlap interactions with 1 and 2 2 with 1,2,3, and 5 3 with 2,3,4, and 5 4 with 3,4 and 5 5 with 2,3,4, and 5 S  and H  are sparse   is not strictly sparse but only a sparse subset is needed Order-N methods rely heavily on the sparsity of the Hamiltonian and overlap matrices Sparse  many entrances of the matrix are zero 1N basis 1

Two center integrals are calculated in Fourier space can be seen as a convolution: in 1D Arfken, Mathematical Methods for Physicist, Ch 15.5 Take the Fourier transform of one of the functions The Fourier transform of a convolution in real space is a product in reciprocal space Two center integrals (i. e. the overlap) have a form like might be atomic orbitals, KB projectors or other functions centered on atoms

Two center integrals are calculated in Fourier space For each pair of functions they are calculated and stored in a fine radial grid (2500 Ry) as a function of, up to the maximum distance The value at arbitrary distances can be obtained by accurate cubic spline interpolation (once obtained, the fine grid does not suppose a penalty in execution time, since interpolation effort is independent of the number of grid points).

We use real spherical harmonics for computational efficiency Associated Legendre polynomialsNormalization factors l = 0 m = 0 l = 1 m = -1 m = 0 m = +1 Pictures courtesy of Victor Luaña

The density matrix, a basic ingredient of SIESTA The electron density is given by Occupation of state Control convergence SCF Restart calculations Inserting the expansion into the definition of the density where, with, the density matrix is defined Expansion of the eigenvectors in a basis of localized atomic orbitals where the coefficients, and are the dual orbital of :

Three dimensional grid to compute Hartree, exchange correlation and neutral atom potentials Find all the atomic orbitals that do not vanish at a given grid point (in practice, interpolate the radial part from numerical tables) Once the density is known, we compute the potentials EVERYTHING O(N)

The Poisson equation is solved in the real space grid by FFTs FFT scales as N log(N) However is cost is negligible and has no influence on the overall scaling properties. Multigrid techniques (by Oswaldo Diéguez) coming soon Since the unit cell is periodic (naturally or atifically), we can expand the density in a Fourier series In reciprocal space, the differential Poisson equation is nothing else than a division Once the coefficients of the potential are known in reciprocal space, Fourier transform back to real space

Generalized Gradient Approximation, the derivative of the charge computed numerically Density gradient need not be provided, since they are calculated numerically using the density at the grid points A finer grid is required for GGA L. C. Balbás et al., Phys. Rev. B 64, (2001)

Three dimensional grid to compute Hartree, exchange correlation and neutral atom potentials Volume per grid point Finally, we add together all the grid contributions and perform the integral

Fineness of the grid controlled by a single parameter, the “MeshCutoff” E cut : maximum kinetic energy of the plane waves that can be represented in the grid without aliasing xx In the grid, we represent the density  grid cutoff not directly comparable with the plane wave cutoff to represent wave functions (Strictly speaking, the density requires a value four times larger)

Convergence of the results with the grid cutoff

The grid breaks traslation symmetry, the “eggbox” effect E x Grid points Orbital/atom Affects more to forces than to energy Solutions: - Increase cutoff (computational effort in time and memory) - “Grid-cell sampling” - Filter the atomic orbitals [E. Anglada et al. Phys. Rev. B 73, (2006)]

Once the hamiltonian and the overlap matrices are build, we have to solve the Schrodinger equation = Order-NOrder-N 3 Minimization of an energy functional Not valid for metals or “dirty” gap systems Standard diagonalization techniques Both eigenvectors and eigenvalues available N (# atoms) CPU load ~ 100 Early 90’s ~ N ~ N 3

If diagonalization, the generalized eigenvalue problem is solved using standard mathematical libraries Serial: BLAS LAPACK Parallel: BLACS SCALAPACK Freely available in Most machine vendors have their own implementations available for their own platforms (acml, mkl,…). = N  N N  1

The one-particle eigenstates are filled following the “Aufbau” principle: from lower to higher energies Occupation numbers The ground state has one (or two if spin independent) in each of the orbitals with the lowest eigenvalues A smearing of the electronic occupation might be done: Fermi-Dirac (OccupationFunctionFD) ElectronicTemperature Methfessel Paxton (OccupationFunctionMP)

The Kohn-Sham equations must be solved self-consistently The potential (input) depends on the density (output) Initial guess Calculate effective potential Solve the KS equation Compute electron density No Output quantities Energy, forces, stresses … Yes Self-consistent?

The Kohn-Sham total energy can be written as a sum of the band structure (BS) energy + ‘double-count’ corrections Functionals of the electron density and atomic positions After SCF Eigenvectors of the Hamiltonian

Kohn-Sham energy in SIESTA + Sum extra terms if a net charge (Emadel), an external electric field (DUext), Order-N solver (eta*DQ) are used, or if the nuclei are moving (Ekinion) Ekin Enl Eions DEna DUscf Exc Ena

Atomic forces computed using the Hellmann-Feynman force theorem Since The force conjugate to any parameter describing a system, such as the position of a nucleus, can be written as The derivative can be written using first-order perturbation theory

Atomic forces computed using the Hellmann-Feynman force theorem At the exact ground state solution the energy is extremal with respecto to all possible variations of the wavefunction The only non-zero terms come from the explicit dependence of the nuclear positions unperturbed density

Atomic forces and stresses obtained by direct diferentiation of the energy expression “One piece of energy  one piece of force and stress” Calculated only in the last self-consistent step Pulay corrections, related with the dependency of the basis set on atomic positions, automatically included Calculated as the analytical derivatives of the energy

Recap: schematic flowchart of SIESTA Read and digest input Solve Schrödinger equation for the isolated atom (generate the basis set) Compute forces, stresses… Self consistent cycles Compute efficiently always done in Order-N Two and three center integrals Solve the secular equation Order-N (insulators) Order-N 3

Suplementary information

Fourier transform of the atomic orbitals The Fourier transform of a convolution in real space is a product in reciprocal space The goal now is to compute the Fourier coefficients of the atomic functions Introducing the plane wave expansion in spherical harmonics and operating