Random Estimates in QMC

Similar documents
QMC dissociation energy of the water dimer: Time step errors and backflow calculations

Wave Function Optimization and VMC

Orbital-dependent backflow transformations in quantum Monte Carlo

Methods for calculating forces within quantum Monte Carlo

All-electron quantum Monte Carlo calculations for the noble gas atoms He to Xe

QMC dissociation energies of three-electron hemibonded radical cation dimers... and water clusters

Van der Waals Interactions Between Thin Metallic Wires and Layers

Continuum variational and diffusion quantum Monte Carlo calculations

Quantum Monte Carlo backflow calculations of benzene dimers

Fixed-Node quantum Monte Carlo for Chemistry

Quantum Mechanical Simulations

I. QUANTUM MONTE CARLO METHODS: INTRODUCTION AND BASICS

Quantum Monte Carlo methods

Kevin Driver 1 Shuai Zhang 1 Burkhard Militzer 1 R. E. Cohen 2.

Quantum Monte Carlo study of the ground state of the two-dimensional Fermi fluid

Metropolis/Variational Monte Carlo. Microscopic Theories of Nuclear Structure, Dynamics and Electroweak Currents June 12-30, 2017, ECT*, Trento, Italy

Optimization of quantum Monte Carlo wave functions by energy minimization

Phase Diagram of the Two-Dimensional Homogeneous Electron Gas

Computational Physics Lectures: Variational Monte Carlo methods

Optimization of quantum Monte Carlo (QMC) wave functions by energy minimization

Recent advances in quantum Monte Carlo for quantum chemistry: optimization of wave functions and calculation of observables

Quantum Variational Monte Carlo. QVMCApp

BEC-BCS Crossover in Cold Atoms

Coulomb finite-size effects in quasi-two-dimensional systems

Ab-initio molecular dynamics for High pressure Hydrogen

Chapter 6. Convergence. Probability Theory. Four different convergence concepts. Four different convergence concepts. Convergence in probability

Introduction to Path Integral Monte Carlo. Part I.

Methods of Fermion Monte Carlo

Noncollinear spins in QMC: spiral Spin Density Waves in the HEG

Size-extensive wave functions for QMC A linear-scaling GVB approach

Convergence of many-body wavefunction expansions using a plane wave basis: From the homogeneous electron gas to the solid state

arxiv: v1 [cond-mat.mes-hall] 10 Feb 2010

Two-parameter Study of the 1s2s Excited State of He and Li + - Hund's Rule

ii PREFACE This dissertation is submitted for the degree of Doctor of Philosophy at the University of Cambridge. It contains an account of research ca

Random vectors X 1 X 2. Recall that a random vector X = is made up of, say, k. X k. random variables.

COMBINING VARIABLES ERROR PROPAGATION. What is the error on a quantity that is a function of several random variables

Introduction to Quantum Monte Carlo Methods Applied to the Electron Gas

DIRECT AND INDIRECT LEAST SQUARES APPROXIMATING POLYNOMIALS FOR THE FIRST DERIVATIVE FUNCTION

Lecture 2: Review of Probability

UQ, Semester 1, 2017, Companion to STAT2201/CIVL2530 Exam Formulae and Tables

The Binomial distribution. Probability theory 2. Example. The Binomial distribution

Statistics and Data Analysis

" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2

the abdus salam international centre for theoretical physics

Multivariate Statistics

1: PROBABILITY REVIEW

Confidence Intervals, Testing and ANOVA Summary

Economics 583: Econometric Theory I A Primer on Asymptotics

Biostatistics in Dentistry

Diffusion Monte Carlo

exp{ (x i) 2 i=1 n i=1 (x i a) 2 (x i ) 2 = exp{ i=1 n i=1 n 2ax i a 2 i=1

The QMC Petascale Project

High throughput QMC. Can we make CASINO more automatic..? Mike Towler

Quantum Monte Carlo. QMC methods in the continuum

physica status solidi REPRINT basic solid state physics The quantum Monte Carlo method

Kernel-based density. Nuno Vasconcelos ECE Department, UCSD

STAT Chapter 5 Continuous Distributions

Efficient multivariate normal distribution calculations in Stata

A Probability Review

Lecture 3: Statistical sampling uncertainty

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below

Development and application of statistical and quantum mechanical methods for modelling molecular ensembles

MATH Notebook 5 Fall 2018/2019

Spin-Singlet Resonance State in Proton-Embedded Metals: Discovery of novel high-t K system leading to high-t c superconductivity

Negative Association, Ordering and Convergence of Resampling Methods

Quantum Monte Carlo wave functions and their optimization for quantum chemistry

Computational methods: Coupled Electron Ion Monte Carlo Path Integral Monte Carlo Examples: Electron gas Hydrogen

Department of Physics and NCSA University of Illinois, Urbana-Champaign, IL, 61801, USA

Inferring from data. Theory of estimators

Lecture Notes 5 Convergence and Limit Theorems. Convergence with Probability 1. Convergence in Mean Square. Convergence in Probability, WLLN

Primer on statistics:

ME 597: AUTONOMOUS MOBILE ROBOTICS SECTION 2 PROBABILITY. Prof. Steven Waslander

Introduction to Error Analysis

Physics 403. Segev BenZvi. Propagation of Uncertainties. Department of Physics and Astronomy University of Rochester

Quantum Monte Carlo for excited state calculations

8 Laws of large numbers

Petascale computing opens new vistas for quantum Monte Carlo

Multiconfiguration wave functions for quantum Monte Carlo calculations of first-row diatomic molecules

STA205 Probability: Week 8 R. Wolpert

Physics 403. Segev BenZvi. Numerical Methods, Maximum Likelihood, and Least Squares. Department of Physics and Astronomy University of Rochester

Statistical Methods in Particle Physics

Let X and Y denote two random variables. The joint distribution of these random

on t0 t T, how can one compute the value E[g(X(T ))]? The Monte-Carlo method is based on the

Representation of inhomogeneous, non-separable covariances by sparse wavelet-transformed matrices

Course on Inverse Problems

6.1 Moment Generating and Characteristic Functions

Course on Inverse Problems Albert Tarantola

Quantum Monte Carlo calculations of two neutrons in finite volume

Reduction of Variance. Importance Sampling

MFin Econometrics I Session 4: t-distribution, Simple Linear Regression, OLS assumptions and properties of OLS estimators

The Overhauser Instability

Explicitly correlated wave functions

CHEM3023: Spins, Atoms and Molecules

Electrochemistry project, Chemistry Department, November Ab-initio Molecular Dynamics Simulation

Chapter 4: Continuous Random Variables and Probability Distributions

Quantum Monte Carlo Study of a Positron in an Electron Gas

CLASS NOTES Models, Algorithms and Data: Introduction to computing 2018

1 Characteristic functions

Multiple Random Variables

Yingwei Wang Computational Quantum Chemistry 1 Hartree energy 2. 2 Many-body system 2. 3 Born-Oppenheimer approximation 2

Transcription:

Page 1 Random Estimates in QMC J.R. Trail and R.J. Needs Theory of Condensed Matter Group, Cavendish Laboratory, University of Cambridge, UK February 2007

Page 2 Numerical Integration Unkown function, r sample points 1 1 f(x) 0.5 f(x) 0.5 0 0 0.5 1 x 0 0 0.5 1 x Evenly sampled grid: 1 0 f(x)dx a n f(x n ), ǫ p ( 1 r) p/d Points sampled randomly, with PDF P(x): 1 0 f(x)dx 1 r f(xn )/P(x n ), e 1 r

Page 3 Sample 3N dimensional space with PDF P(R) Quantum Monte Carlo (VMC) Est[E tot ] = ψ 2 E L /P ψ2 /P = ψ Ĥ ψ + Y ψ ψ + X where E L = ψ 1 Ĥψ. Simplest case is Standard Sampling : Choose P(R) = Aψ(R) 2, then Est[E tot ] = 1 r EL = ψ Ĥ ψ ψ ψ + W W is the random error in a sum of random variables, so what is its distribution? IF the CLT is valid then it is Gaussian with mean 0, and variance σ/r 1/2.

Page 4 3N 1 dimension Why?: Easier to deal with the general case analytically A change of the random variable from spatial to energy: E tot = = V ψ 2 E L d 3N R/ P ψ 2(E)EdE V ψ 2 d 3N R with P ψ 2(E) = E=E L P(R) R E L d3n 1 R A histogram of E L approximates the seed PDF P ψ 2 R E L results from curvilinear co-ordinates and change of variables. Useless numerically, but useful analytically.

Page 5 What can we say about P ψ 2? Singularities in the local energy: E L (R) = 1 2 2 Rψ ψ + i<j 1 r ij i Z r i E L (R) = E tot if the trial wavefunction, ψ, is exact Enforce Kato cusp conditions no Coulomb singularities Nodal surface is ψ = 0, and is 3N 1 dimensional Kinetic energy part gives singularity on a 3N 1 dimensional surface Singularities provide information about P ψ 2 for large E

Page 6 What can we say about P ψ 2? P ψ 2(E) = E=E L P(R) R E L d3n 1 R S ˆn nodal surface ψ = a 1 S +... E L = b 1 S 1 +... P(R)/ E L = c 4 S 4 +... P ψ 2(E) = d 4 E 4 +... or more completely P ψ 2(E) = (E E 0 ) 4 (e 0 + ) e 1 (E E 0 ) +... E E 0

Page 7 Jastrow + 48 determinants + backflow: Example: All-electron isolated Carbon atom ψ = e J(R) m a m D m (R )D m (R ) with R = R (R) 10 0 σ P ψ 2(EL) 10 3 10 6 93% correlation energy at VMC level 10 9-100 -50 0 50 100 (E L µ)/σ Estimated seed probability density function Also shown is 2 π σ 3 σ 4 +(E µ) 4, and a Normal distribution

Page 8 Random error in total energy estimate Est[E tot ] = 1 r (E 1 +... + E r ) Product of probability of r samples energies that add up to re tot convolution integrals P r=2 (2E tot ) = P r (re tot ) = P ψ 2 P ψ 2... P ψ 2 Take Fourier transform of P ψ 2(E) Take the r th power P ψ 2(E 1 )P ψ 2(E 2 )δ(e 1 + E 2 2E tot )de 1 de 2 = P ψ 2 P ψ 2 Take the inverse Fourier transform Rescale some variables to get the PDF of averages instead of sum P r (y) = [ 1 1 + η d 3 ( ) ] [ 1 λ 2π r dy + O e y2 /2 + 3 r 3π 1 d 3 ( ) ( y 1 r dy 3D + O 2 r) ] y = (E tot µ)/σ

Page 9 PDF of estimate of Total energy 10 0 σ/ r Pr(Etot) 10 3 10 6-10 -5 0 (E tot µ) 5 10 r/σ Approximate PDF from 10 4 estimates of total energy, with r = 10 3 For small E, PDF is dominated by 1 2π e x2 /2 For large E, PDF is dominated by CLT is true in its weakest form 2 π λ r 1/x 4 (λ 1 for Carbon trial wavefunction)

Page 10 PDF of estimate of the Residual Variance, v Optimisation of wavefunctions using the residual variance, v (Ĥ Etot ) ψ = δ = (EL E tot )ψ v = δ 2 dr 0, and zero for exact ψ To optimise the wavefunction v is usually minimised Analyse effect of tails, as before: P r (v) = [ ] 3 1 v σ 2 2 [ exp v σ 2 π 2γ 2γ 2γ [ sgn ] v σ 2 K 1/3 v σ 2 2γ with the width of the PDF decided by the magnitude of the tails γ = [ 6λ 2 πr ] 3 3 + K 2/3 v σ 2 2γ 3 ] 1/3 σ 2 (1)

Page 11 PDF of estimate of the Residual Variance, v 10 0 2γ Pr(v) 10 3 10 9 6 0 50 (v σ 2 )/(2γ) Approximate PDF from 10 4 estimates of residual variance, with r = 10 3 Small v, e x3. Large v 1/x 5/2 PDF has no variance, γ has no vigorous statistical estimate and is r 1/3

Page 12 CLT is valid in its weakest form for the total energy CLT not valid for residual variance CLT is likely to be invalid for estimates of other physical quantites Because: ψ 2 samples E L rarely where it is largest, at the nodal surface Can the CLT be reinstated?

Page 13 Residual sampling Instead of sampling with P = Aψ 2, sample with P = Aψ 2 /w, then and the residual variance, Est[E tot ] = wel w = ψ Ĥ ψ + Y ψ ψ + X Est [ ] δ 2 dr = w(el E tot ) 2 w = ψ 2 (E L E tot ) 2 dr + Y ψ2 dr + X Choose the weighting function w(e L ) = ǫ 2 (E L E 0 ) 2 + ǫ 2 to interpolate beween sampling the numerator and denominator perfectly. No singularities, and no power law tails Quotient of two correlated random variables, each a sum of random variables

Page 14 Fieller s Theorem 5 µ2 0 0 0.5 1 1.5 µ 1 (µ 2, µ 1 ) that give Est = µ 2 /µ 1

Page 15 Fieller s Theorem 5 µ2 0 0 0.5 1 1.5 µ 1 (µ 2, µ 1 ) that give Est = µ 2 /µ 1 Ellipse containing 39% of probability from covariance matrix and bivariate CLT

Page 16 Fieller s Theorem 5 µ2 0 0 0.5 1 1.5 µ 1 (µ 2, µ 1 ) that give Est = µ 2 /µ 1 Ellipse containing 39% of probability from covariance matrix Wedge that contains 68.3% of probability m 1 < µ 2 /µ 1 < m 2 with confidence 68.3%

Page 17 Estimate of total energy 50 25 0-37.86-37.84-37.82 Est[E tot ] Histogram of 10 3 total energy estimates, each total energy estimate from 10 3 configurations. Residual sampling (filled) and standard sampling (unfilled) are not significantly different Residual sampling reduces error by 30% For other systems standard sampling may give power law outliers (depending on λ) For all systems residual sampling does not give power law outliers

Page 18 Estimate of residual variance 1000 100 10 1 0.1 0 0.05 0.1 0.15 0.2 0.25 Est[v] Histogram of 10 3 residual variance estimates, each estimated from 10 3 configurations. Residual sampling and standard sampling are very different Standard sampling shows the v 5/2 tails and outliers expected Residual sampling gives well defined confidence limits for estimate via the bivariate CLT Standard sampling does not

Page 19 Optimisation 1) Take samples using wavefunction with parameter α 0, {R} r 2) These define random sample from a distribution of Optimisation functions, O(α) 3) Find the minimum of O(α), at α = α min 4) set α 0 = α min, and return to 1) What is the distribution of O(α)? O(α) = a 0 + a 1 (α α 0 ) +... b 0 + b 1 (α α 0 ) +... For each type of sampling/optimisation this expansion gives statistics of random error For Standard Sampling error is not normal unless the nodes are suppressed by introducing a weight function into O(α) solely for this purpose (eg g(e L )δ 2 d 3N R). For Residual sampling the error is always normal

Page 20 Optimisation r = 10 5 configurations. Total energy Residual variance -37.82 0.1 Etot/(a.u.) -37.83-37.84 Std. Res. Var δ 2 0.05 Std. Res. E exp 1 2 3 4 5 no. cycle. 0 1 2 3 4 5 no. cycle. Std. - standard sampling with nodal surface suppressed (93% E corr ) Res. - residual sampling of residual variance (95% E corr ) New sampling provides lower total energy and a lower residual variance than standard sampling with nodal surface suppressed

Page 21 Conclusions We cannot assume the CLT is true for estimates in standard sampling QMC r large enough must be shown to be true for each estimate in standard sampling QMC The CLT can be reinstated by using an alternative sampling strategy Random functions whose minimum gives optimum wavefunctions are not generally normally distributed. Some do not converge as r The residual sampling strategy can guarantee that the CLT is valid for estimates and optimisation functions, as long as they exist With residual sampling optimisation functions can be chosen on physical grounds - to give a good wavefunction at the nodal surface and small fixed node error in DMC Acknowledgements Financial support was provided by the Engineering and Physical Sciences Research Council (EPSRC), UK, and computational resources were provided by the Cambridge-Cranfield High Performance Computing Facility.