Linear scaling electronic structure methods in chemistry and physics Computing in Science & Engineering, vol. 5, issue 4, 2003 (1) Stefan Goedecker, Gustavo.

Slides:



Advertisements
Similar presentations
Introduction to Computational Chemistry NSF Computational Nanotechnology and Molecular Engineering Pan-American Advanced Studies Institutes (PASI) Workshop.
Advertisements

Wave function approaches to non-adiabatic systems
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
CHE Inorganic, Physical & Solid State Chemistry Advanced Quantum Chemistry: lecture 4 Rob Jackson LJ1.16,
Molecular Quantum Mechanics
Introduction to Molecular Orbitals
Boris Altshuler Columbia University Anderson Localization against Adiabatic Quantum Computation Hari Krovi, Jérémie Roland NEC Laboratories America.
Introduction to the very basic computational aspects of the modern Quantum Chemistry for Software Engineers Alexander A. Granovsky The PC GAMESS/Firefly.
CHEMISTRY 2000 Topic #1: Bonding – What Holds Atoms Together? Spring 2008 Dr. Susan Lait.
Large-Scale Density Functional Calculations James E. Raynolds, College of Nanoscale Science and Engineering Lenore R. Mullin, College of Computing and.
Lecture 9: Advanced DFT concepts: The Exchange-correlation functional and time-dependent DFT Marie Curie Tutorial Series: Modeling Biomolecules December.
Density Functional Theory And Time Dependent Density Functional Theory
Ch 23 pages Lecture 15 – Molecular interactions.
Monte Carlo Methods: Basics
Lectures Introduction to computational modelling and statistics1 Potential models2 Density Functional.
Monte Carlo Simulation of Interacting Electron Models by a New Determinant Approach Mucheng Zhang (Under the direction of Robert W. Robinson and Heinz-Bernd.
Practical quantum Monte Carlo calculations: QWalk
Algorithms and Software for Large-Scale Simulation of Reactive Systems _______________________________ Ananth Grama Coordinated Systems Lab Purdue University.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : DFT Plane Wave Pseudopotential versus Other Approaches CASTEP Developers’
Order(N) methods in QMC Dario Alfè 2007 Summer School on Computational Materials Science Quantum Monte Carlo: From Minerals and Materials.
Javier Junquera Code structure: calculation of matrix elements of H and S. Direct diagonalization José M. Soler = N  N N  1.
F.F. Assaad. MPI-Stuttgart. Universität-Stuttgart Numerical approaches to the correlated electron problem: Quantum Monte Carlo.  The Monte.
Calculation of matrix elements José M. Soler Universidad Autónoma de Madrid.
Density Functional Theory (DFT) DFT is an alternative approach to the theory of electronic structure; electron density plays a central role in DFT. Why.
Essentials of College Physics --Serway/Vuille
Scalable Symbolic Model Order Reduction Yiyu Shi*, Lei He* and C. J. Richard Shi + *Electrical Engineering Department, UCLA + Electrical Engineering Department,
One-sided Communication Implementation in FMO Method J. Maki, Y. Inadomi, T. Takami, R. Susukita †, H. Honda, J. Ooba, T. Kobayashi, R. Nogita, K. Inoue.
Coupling between the lattice and internal nuclear degrees of freedom Peter Hagelstein 1 and Irfan Chaudhary 2 1 Massachusetts Institute of Technology 2.
PA4311 Quantum Theory of Solids Quantum Theory of Solids Mervyn Roy (S6) www2.le.ac.uk/departments/physics/people/mervynroy.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : Computational Materials Science: an Overview CASTEP Developers’ Group.
Quantum Physics II.
NCN nanoHUB.org Wagner The basics of quantum Monte Carlo Lucas K. Wagner Computational Nanosciences Group University of California, Berkeley In collaboration.
Comp. Mat. Science School 2001 Lecture 21 Density Functional Theory for Electrons in Materials Richard M. Martin Bands in GaAs Prediction of Phase Diagram.
Linear scaling fundamentals and algorithms José M. Soler Universidad Autónoma de Madrid.
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 Richard M. Martin University of Illinois
Comp. Mat. Science School Linear Scaling ‘Order-N’ Methods in Electronic Structure Theory Richard M. Martin University of Illinois Acknowledgements:
Density Functional Theory A long way in 80 years L. de Broglie – Nature 112, 540 (1923). E. Schrodinger – 1925, …. Pauli exclusion Principle.
TURBOMOLE Lee woong jae.
Quantum Mechanical Cross Sections In a practical scattering experiment the observables we have on hand are momenta, spins, masses, etc.. We do not directly.
Linear scaling solvers based on Wannier-like functions P. Ordejón Institut de Ciència de Materials de Barcelona (CSIC)
MODELING MATTER AT NANOSCALES 6.The theory of molecular orbitals for the description of nanosystems (part II) The density matrix.
Thomas Halverson and Bill Poirier Texas Tech University Department of Physics
Chapter 1 Introduction. Theories and Experiments The goal of physics is to develop theories based on experiments A theory is a “guess,” expressed mathematically,
Javier Junquera Introduction to atomistic simulation methods in condensed matter Alberto García Pablo Ordejón.
Interacting Molecules in a Dense Fluid
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
Materials Process Design and Control Laboratory ON THE DEVELOPMENT OF WEIGHTED MANY- BODY EXPANSIONS USING AB-INITIO CALCULATIONS FOR PREDICTING STABLE.
4. One – and many electronic wave functions (multplicty) 5. The Hartree-Fock method and its limitations (Correlation Energy) 6. Post Hartree-Fock methods.
Lecture 8. Chemical Bonding
MODELING MATTER AT NANOSCALES 4. Introduction to quantum treatments Eigenvectors and eigenvalues of a matrix.
Advanced methods of molecular dynamics 1.Monte Carlo methods 2.Free energy calculations 3.Ab initio molecular dynamics 4.Quantum molecular dynamics 5.Trajectory.
D. M. Ceperley, 2000 Simulations1 Neighbor Tables Long Range Potentials A & T pgs , Today we will learn how we can handle long range potentials.
Linear Scaling Quantum Chemistry Richard P. Muller 1, Bob Ward 2, and William A. Goddard, III 1 1 Materials and Process Simulation Center California Institute.
Computational Physics (Lecture 22) PHY4061. In 1965, Mermin extended the Hohenberg-Kohn arguments to finite temperature canonical and grand canonical.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : Linear response theory CASTEP Developers’ Group with support from.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
Comp. Mat. Science School Electrons in Materials Density Functional Theory Richard M. Martin Electron density in La 2 CuO 4 - difference from sum.
Computational Physics (Lecture 7) PHY4061. Eigen Value Problems.
Production of an S(α,β) Covariance Matrix with a Monte Carlo-Generated
Generalized DMRG with Tree Tensor Network
Linear scaling solvers based on Wannier-like functions
Density Functional Theory (introduced for many-electron systems)
Srinivasan S. Iyengar Department of Chemistry, Indiana University
Algorithms and Software for Large-Scale Simulation of Reactive Systems
OSU Quantum Information Seminar
Algorithms and Software for Large-Scale Simulation of Reactive Systems
Car Parrinello Molecular Dynamics
Presentation transcript:

Linear scaling electronic structure methods in chemistry and physics Computing in Science & Engineering, vol. 5, issue 4, 2003 (1) Stefan Goedecker, Gustavo E. Scuseria Linear Scaling Density Functional Calculations with Gaussian Orbitals Journal of Physical Chemistry A, vol. 103, no. 25, 1999 (2) Gustavo E. Scuseria Linear Scaling Electronic Structure Methods Reviews of Modern Physics, Vol 71, No. 4, July 1999 (3) Stefan Goedecker DFT Journal Club METU Physics Department Nazım Dugan M ail.com Linear scaling electronic structure methods

Stefan Goedecker is a professor of computational physics at the University of Basel. His research interests include linear scaling algorithms for electronic structure calculations and other atomistic simulation methods. He received a PhD from the Swiss Federal Institute of Technology in Lausanne. Contact him at Gustavo E. Scuseria is the Robert A. Welch Professor of Chemistry at Rice University. His research interests include the development of low-order scaling electronic structure methods and their application to molecules and solids. His undergraduate and PhD degrees are in physics from the University of Buenos Aires. He is a member of the American Chemical Society and a Fellow of the American Physical Society, the American Association for the Advancement of Science, and the Guggenheim Foundation. Contact him at DFT Journal Club METU Physics Department

Exposition of the problem Strategies for linear scaling Benchmark Calculations DFT Journal Club METU Physics Department Outline

Exposition of the problem DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations

Complexity of algorithms T CPU = const N k complexity O( N k ) Linear scaling means O(N) DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Most physical quantities are extensive - that is, they grow linearly with system size. We might therefore expect that the computational effort will grow linearly with system size as well. An even slower increase in computing time is certainly not possible unless we ignore the basic physics of the electronic system. (1)

Two body interactions in many particle systems (electrons, atoms, planets) combinations of particles Computation time (quadratic) In DFT even though the complexity of finding ground state energy has linear scaling DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations

DFT Journal Club METU Physics Department Why do we make approximations One electron system  Matrix (2D) Evaluation of elements ~ N 2 Matrix diagonalization ~ N 3 2 electron system  4 th rank Tensor In General Dimensionality of Hamiltonian = 2Ne Evaluation of elements ~ Ne 2Ne Diagonalization method not known Exposition of the problem Strategies for linear scaling Benchmark Calculations

DFT Journal Club METU Physics Department Scaling of other electronic structure methods Full configuration interaction exponential Coupled-cluster O( N 6 ) Quantum Monte Carlo O( N 3 ) Exposition of the problem Strategies for linear scaling Benchmark Calculations

Origin of cubic scaling in DFT Coulomb and XC potential evaluation ~ N 2 Matrix diagonalization to solve Kohn-Sham equation ~ N 3 Orthonormalization of Kohn-Sham orbitals N*(N-1)/2 orbital pairs cost of each integral is proportional to N N*N*(N-1)/2 ~ N 3 T CPU = c c N 2 + c x N 2 + c m N 3 + c o N 3 DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations

Applicability of cubic scaling methods 10 electrons ~ 1 seconds 100 electrons ~ 16 minutes 1000 electeons ~ 11.5 days electrons ~ 32 years With linear scaling methods up to atoms on 24 nodes of Earth Simulator DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations

DFT Journal Club METU Physics Department Crossover point Cubic scaling T CPU = c 3 N 3 Linear scaling T CPU = c 1 N José M. Soler Universidad Autónoma de Madrid Exposition of the problem Strategies for linear scaling Benchmark Calculations

DFT Journal Club METU Physics Department Strategies for linear scaling Exposition of the problem Strategies for linear scaling Benchmark Calculations

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Well known low complexity algorithms Fast Fourier Transform (FFT) FT O(N 2 )  FFT O(N log(N) ) Cooley and Tukey algorithm published in 1965 Quick Sort Bubble Sort O(N 2 )  QS O(N log(N) ) Divide and Conquer !!!

DFT Journal Club METU Physics Department Locality (Nearsightedness) in QM makes it possible to apply CUTOFF W. Kohn, Phys. Rev. Lett. 76, 3168(1996) Because the extended eigenorbitals diagonalizing the independent particle Hamiltonian, usually referred to as canonical orbitals, do not reflect this locality principle, they are not suitable as the basic quantities in O(N) calculations. Linear scaling also rules out the use of basis functions extending over the whole computational volume, such as plane waves. (1) Blip Functions: E Hernández, MJ Gillan, CM Goringe, Phys Rev B 55, 13485(1997) Exposition of the problem Strategies for linear scaling Benchmark Calculations

Two-body problem DFT Journal Club METU Physics Department Neighborhood Keep neighbor information for each particle Calculate interactions with neigbors only ( O(N) ) Update neighbors ( O(N 2 ) ) Mesh technique Divide space into subspaces Calculate interactions only with particles of owner and neighbor subspaces ( O(N) ) Check subspace of particles ( O(N) ) Exposition of the problem Strategies for linear scaling Benchmark Calculations

DFT Journal Club METU Physics Department Tree-code and the Fast Multipole Method (FMM) - Search starting from the root of the tree - If the particle is far enough to a goup of particles, treat the group as a single particle at the center of mass (monopole approximation). - If it is not, go one step further in the tree and check again. - Use FMM for Far Field only Exposition of the problem Strategies for linear scaling Benchmark Calculations Tancred Lindholm, N-body Algorithms, 1999

DFT Journal Club METU Physics Department Traditional sequence DM sequence Density Matrix approach in DFT Eigenvectors of the effective Hamiltonian which are obtained through the diagonalization step are in practice only needed to construct the density matrix. However, this is not the only way of obtaining the density matrix, and one can instead adopt direct search methods like CGDMS. (2) W. Kohn, Phys. Rev. Lett. 76, 3168(1996) Exposition of the problem Strategies for linear scaling Benchmark Calculations

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Density Matrix Minimization E Hernandez, MJ Gillan, CM Goringe, Phys. Rev. B 55, 7147(1996) - Express Total Energy in terms of density matrix - Minimize wrt density matrix

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Sparse Density MatrixIn this regard, the size of the HOMO-LUMO gap is connected to “localization” and, consequently, sparsity in the system. It is well known that systems showing metallic character (i.e., small HOMO- LUMO gap) yield denser Hamiltonians and density matrices than insulators. (2) Insulaters – exponential decay Metals at finite temperature – exponential decay Metals at zero temperature – algebraic decay Progressive convergence Dynamical adjustment of treshold

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Divide and conquer method The idea is to calculate certain regions of the density matrix by considering subvolumes and then to generate the full density matrix by adding up these parts with the appropriate weights. (3) W. Yang, Phys. Rev. Lett. 66, 1438(1991)

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations The Chebyshev Fermi operator expansion The rational Fermi operator expansion The desired linear scaling can be obtained by introducing a localization region for each column, outside of which the elements are negligibly small. For the k th column, this localization region will be centered on the k th basis function. (3)

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Benchmark Calculations

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations System : Water clusters in two and three dimensions Size : Up to 1152 molecules in 2D, 1000 moelcules in 3D Functionals : LSDA – Becke 88 exchange, Lee-Yang-Parr correlation (BLYP) GGA – Perdew-Burke-Erznehof (PBE) Software : Gaussian 99 (Development version) Basis sets : 3-21G and 6-31G** (up to basis functions) Hardware : SGI Origin MHz 4 MB cache Up to 10 GB disk space, 180 megawords RAM

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Energies (Hartrees) and CPU Times (min) per SCF Cycle Obtained by Conjugate Gradient Density Matrix Search (CGDMS) and Diagonalization in a Series of Two- Dimensional Water Cluster Calculations at the LSDA/3-21G Level of Theory

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations 2D 3-21-G 2D 6-31-G** 3D 3-21-G 3D 6-31-G** CPU Time (min) number of basis functions

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations RNA fragment 1026 atoms, 6767 basis function LSDA/3-21G... all three DFT steps for the RNA piece are computationally more expensive than those for the water clusters, especially CGDMS which is about 5 more costly than the 3D cluster case. These results simply indicate that typical biomolecules may have density matrices and Hamiltonians which are denser than 3D water clusters, but they are still amenable to efficient treatment by the methods and algorithms discussed in this work.

DFT Journal Club METU Physics Department Exposition of the problem Strategies for linear scaling Benchmark Calculations Concluding Remarks Significant factors: dimensionality, HOMO-LUMO gap, desired accuracy, basis set The more compact a molecular system is, the less sparse all matrices are, and the more demanding the O(N) DFT calculation will turn out to be. (larger prefactor)... if DFT fails to deliver a next generation of significantly more accurate functionals, it would then be reasonable to assume that much work will be devoted to developing fast (i.e., small prefactor) O(N) wave function methods... Linear scaling DFT codes: SIESTA, CONQUEST, ONETEP, GAUSSIAN

DFT Journal Club METU Physics Department References Practical Methods for Ab Initio Calculations on Thousands of Atoms D.R. Bowler, I.J. Bush, M.J. Gillan International Journal of Quantum Chemistry, Vol. 77, 831–842 (2000) Large-Scale Electronic Structure Calculations Using Linear Scaling Methods G. Galli Physica Status. Solidi (b) 217, 231 (2000) Recent progress in linear scaling ab initio electronic structure techniques D.R. Bowler, T. Miyazaki, M.J. Gillan Journal Of Physics: Condensed Matter, 14 (2002) 2781–2798 ONETEP: linear-scaling density-functional theory with plane-waves P.D. Haynes, A.A. Mostofi, C.K. Skylaris, M.C. Payne Journal of Physics: Conference Series 26 (2006) 143–148

“We may regard the present state of the universe as the effect of its past and the cause of its future. An intellect which at any given moment knew all of the forces that animate nature and the mutual positions of the beings that compose it, if this intellect were vast enough to submit the data to analysis, could condense into a single formula the movement of the greatest bodies of the universe and that of the lightest atom; for such an intellect nothing could be uncertain and the future just like the past would be present before its eyes.“ Marquis Pierre Simon de Laplace, 1814 DFT Journal Club METU Physics Department