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

Similar documents
Coarse-Grained Models!

Polymer Simulations with Pruned-Enriched Rosenbluth Method I

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission.

Classical Monte Carlo Simulations

The Monte Carlo Method in Condensed Matter Physics

Computational Physics. J. M. Thijssen

3.320 Lecture 18 (4/12/05)

André Schleife Department of Materials Science and Engineering

Metropolis Monte Carlo simulation of the Ising Model

Physics 127c: Statistical Mechanics. Application of Path Integrals to Superfluidity in He 4

Polymer Solution Thermodynamics:

Computer simulations as concrete models for student reasoning

MONTE CARLO METHODS IN SEQUENTIAL AND PARALLEL COMPUTING OF 2D AND 3D ISING MODEL

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

CE 530 Molecular Simulation

Monte Carlo and cold gases. Lode Pollet.

Evaluation of Wang-Landau Monte Carlo Simulations

Introduction to molecular dynamics

Optimized statistical ensembles for slowly equilibrating classical and quantum systems

8.334: Statistical Mechanics II Problem Set # 4 Due: 4/9/14 Transfer Matrices & Position space renormalization

Phase Transition in a Bond. Fluctuating Lattice Polymer

(a) Write down the total Hamiltonian of this system, including the spin degree of freedom of the electron, but neglecting spin-orbit interactions.

Phase transitions and finite-size scaling

Numerical Analysis of 2-D Ising Model. Ishita Agarwal Masters in Physics (University of Bonn) 17 th March 2011

Metropolis, 2D Ising model

Monte Caro simulations

Random Walks A&T and F&S 3.1.2

The XY-Model. David-Alexander Robinson Sch th January 2012

There are self-avoiding walks of steps on Z 3

Phase Transitions of Random Binary Magnetic Square Lattice Ising Systems

Physics 562: Statistical Mechanics Spring 2002, James P. Sethna Prelim, due Wednesday, March 13 Latest revision: March 22, 2002, 10:9

Scaling Theory. Roger Herrigel Advisor: Helmut Katzgraber

Example questions for Molecular modelling (Level 4) Dr. Adrian Mulholland

The Quantum Heisenberg Ferromagnet

Monte Carlo Simulation of Spins

CHEMISTRY Topic #1: Bonding What Holds Atoms Together? Spring 2012 Dr. Susan Lait

A Monte Carlo Implementation of the Ising Model in Python

Monte Carlo Methods in High Energy Physics I

Monte Carlo (MC) Simulation Methods. Elisa Fadda

Born-Oppenheimer Approximation

Conical Intersections. Spiridoula Matsika

Swelling and Collapse of Single Polymer Molecules and Gels.

Quantum mechanics can be used to calculate any property of a molecule. The energy E of a wavefunction Ψ evaluated for the Hamiltonian H is,

Cluster Algorithms to Reduce Critical Slowing Down

Rare event sampling with stochastic growth algorithms

Chap. 2. Polymers Introduction. - Polymers: synthetic materials <--> natural materials

J ij S i S j B i S i (1)

Self-learning Monte Carlo Method

4. Cluster update algorithms

Multiple time step Monte Carlo

Quantum Metropolis Sampling. K. Temme, K. Vollbrecht, T. Osborne, D. Poulin, F. Verstraete arxiv:

510 Subject Index. Hamiltonian 33, 86, 88, 89 Hamilton operator 34, 164, 166

Topological defects and its role in the phase transition of a dense defect system

Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles. Srikanth Sastry

CHEMISTRY 4021/8021 MIDTERM EXAM 1 SPRING 2014

Markov Chain Monte Carlo Method

Introduction to the Renormalization Group

The Phase Transition of the 2D-Ising Model

Filippo Tramonto. Miniworkshop talk: Quantum Monte Carlo simula9ons of low temperature many- body systems

3.320: Lecture 19 (4/14/05) Free Energies and physical Coarse-graining. ,T) + < σ > dµ

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Physics 115/242 Monte Carlo simulations in Statistical Physics

THE DETAILED BALANCE ENERGY-SCALED DISPLACEMENT MONTE CARLO ALGORITHM

Statistical Thermodynamics Solution Exercise 8 HS Solution Exercise 8

Accelerated Monte Carlo simulations with restricted Boltzmann machines

Markov Chain Monte Carlo The Metropolis-Hastings Algorithm

Critical Dynamics of Two-Replica Cluster Algorithms

Amorphous Polymers: Polymer Conformation Laboratory 1: Module 1

On the Dynamics and Disentanglement in Thin and Two-Dimensional Polymer Films

Simulation of the two-dimensional square-lattice Lenz-Ising model in Python

Autocorrelation Study for a Coarse-Grained Polymer Model

AGuideto Monte Carlo Simulations in Statistical Physics

Mean end-to-end distance of branched polymers

CHEM3023: Spins, Atoms and Molecules

Kinetic Monte Carlo (KMC)

ORIGINS. E.P. Wigner, Conference on Neutron Physics by Time of Flight, November 1956

Clusters and Percolation

Advanced Monte Carlo Methods Problems

Phase transitions and critical phenomena

Time-Dependent Statistical Mechanics 1. Introduction

An Introduction to Computer Simulation Methods

Second Lecture: Quantum Monte Carlo Techniques

Monte Carlo Simulation of the Ising Model. Abstract

Monte Carlo Simulations of the Hyaluronan-Aggrecan Complex in the Pericellular Matrix

Physics 211B : Problem Set #0

PHASE TRANSITIONS IN SOFT MATTER SYSTEMS

Modeling & Simulation of Glass Structure

Introduction to Theory of Mesoscopic Systems

Lecture 19: Building Atoms and Molecules

Introduction to Computational Chemistry

2 Electronic structure theory

Complex Systems Methods 9. Critical Phenomena: The Renormalization Group

Outline for Fundamentals of Statistical Physics Leo P. Kadanoff

CS 273 Prof. Serafim Batzoglou Prof. Jean-Claude Latombe Spring Lecture 12 : Energy maintenance (1) Lecturer: Prof. J.C.

S j H o = gµ o H o. j=1

Bayero Journal of Pure and Applied Sciences, 3(1): Received: September, 2009 Accepted: May, 2010

M04M.1 Particles on a Line

Guiding Monte Carlo Simulations with Machine Learning

Monte Carlo Study of Planar Rotator Model with Weak Dzyaloshinsky Moriya Interaction

EXAM I COURSE TFY4310 MOLECULAR BIOPHYSICS December Suggested resolution

Transcription:

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below Introduction In statistical physics Monte Carlo methods are considered to have started in the Manhattan project (1940 s) during which J. von Neumann, S. Ulam, N. Metropolis and R. Feynman used random numbers to estimate neutron scattering and absorption rates in materials. The Metropolis method originated in the paper: Equation of state calculations by very fast computing machines, by N. Metropolis, A.W. Rosenbluth, M.N. Rosenbluth, M. Teller and E. Teller, J. Chem. Phys. 21. 1087 (1953). A recent retrospective Marshall Rosenbluth and the Metropolis algorithm, Physics of Plasmas 12, 57303 (2005) describes some of the history and makes it clear that Metropolis actually had little to do with the development of what is now called the Metropolis method. The credit should really go to Rosenbluth and Teller. The Metropolis method is the most widely used Monte Carlo method. Monte Carlo methods can be considered to be improvements or variations on other random sampling methods such as importance sampling, which have a longer history. A few examples of the use of Monte Carlo methods in physics are: (i) Thermodynamic quantities in statistical and many body physics (ii) Multiple integrals in mathematics and analysis (iii) Reaction-diffusion problems in chemical engineering and geophysics (iv) Polymer or protein conformations (v) Particle showers in Nuclear and HEP Note that MC methods do not replace a theoretical understanding of the problem. Instead a deep theoretical understanding is required before the correct MC simulation can be set up. Actually the literature is full of incorrect simulations, due to either poor input physics or poor quality data analysis. MC methods could take up an entire course in any one of the areas listed above and there are a large number of special purpose MC codes. The mathematics of the method has also attracted a lot of effort where the Metropolis method is often called Markov chain MC. Monte Carlo methods can be used to find the average properties of classical or quantum mechanical many body systems. In quantum mechanics, the average value of an operator Ô is found 1

using < Ô >= tr(ôe βĥ ) tr(e β Ĥ ) (1) where Ĥ is the Hamiltonian and β = 1/(k B T) with k B Boltzmann s constant and T the temperature. In classical physics, the operator is diagonal and the trace (tr) reduces to a sum over the energies or eigenvalues of the system leading to the classical expression, where c labels a configuration or eigenfunction of the system. < O >= c O c e βh(c) c e βh(c) (2) ICCP project 2 has three options covering different advanced MC methods. These options are outlined below. You (and your Dutch collaborators) can choose any one of the following three Monte Carlo projects. Moreover for each project there are two possible algorithms. The MSU participant could do one algorithm while the dutch group could do the other. It would be good to compare the results and algorithms for each project. Problem (i) Classical Monte Carlo simulation of a coarse grained polymer chain model. For this project the two algorithms are: (a) Rosenbluth/PERM algorithm; (b) Pivot algorithm. You will calculate the radius of gyration and end-to-end distance of the chain as a function of the number of monomers in the chain (N), and as a function of temperature (T). At low temperatures the chain is a globule while at high temperatures it is a coil. It is also possible to use MD for this problem so one person could extend their MD code to this problem and compare with the MC results. Problem (ii) Classical Cluster Monte Carlo simulation of the phase transition in spin half ferromagnetic Ising models. For this project the two algorithms are: (a) Swensden-Wang algorithm; (b) Wolff algorithm. You will calculate the magnetization, susceptibility and specific heat as a function of temperature and compare to the results of the simple Metropolis approach. You can extract the critical exponent for the magnetization near the phase transition for Ising models on square and cubic lattices. Problem (iii) Quantum Monte Carlo simulation of the Helium atom and/or Hydrogen molecule. The two algorithmic ap- proaches used here are: (a) The variational method (Hydrogen molecule); (b) Diffusion Monte Carlo (Helium atom). For the variational approach a Monte Carlo method is used to evaluate an integral arising in the problem. In this calculation you will find the total electronic energy of 2

the system, the probabibility density. For the probability density you can compare with the noninteracting electron model to see the effects of Coulomb interactions. More details are given below. Option 1: Pivot and Rosenbluth-PERM MC simulation of Polymers [1] MC simulation of polymers is difficult due to the fact that most local MC moves do not change the polymer configuration much as many local moves are rejected due to overlap with other parts of the polymer chain [1]. Rosenbluth and Rosenbluth invented a method to overcome this difficulty and PERM [1] is a further advance in the method. A second approach, the pivot algorithm was invented later and is best for extended systems. MD methods are also often used and are also but enable simulation of polymer collapse at low temperature. To begin we need a model for the polymer chain [1]. Note that similar ideas apply to proteins and DNA, but the potentials used are more complex. The model we use for a polymer chain is the so-called bead-spring model that is a standard in polymer physics. The model consists of beads connected to each other by springs. The location of each bead is r i, where i = 1...N labels the N beads in the polymer chain. The springs have the Hooke law restoring force k( r i r i+1 l 0 ) 2 where l 0 is the bond length characteristic of the polymer of interest e.g. for alkanes l = 1.54Angstrom. In many cases this restoring force is much stronger than all other forces in the problem, so the bond lengths along the chain are set to l 0. In addition in polymers there is a bond angle force that favors certain bond angles, for example for alkanes it is about 108 degrees, we take this to be θ 0. The restoring force for these angles is taken to be α(θ θ 0 ) 2. Finally the beads along the chain also interact through so-called non-bonded interactions such as the van der Waals or Lennard-Jones interaction and the Coulomb interaction. Here we just consider the Lennard-Jones interaction, V LJ (r) = 4ɛ[( σ r )12 ( σ r )6 ] (3) We take the value of σ l 0 as is physically reasonable and it also prevents crossing of the polymer chain through the strong repulsion of LJ at distances below σ. The Rosenbluth method grows polymer chains and during this growth calculates the overall probability of the chain in the ensemble average. This can then be used to calculate averages of physical quantities. The growth procedure starts with one atom and adds a second at a distance 3

l 0 from the first atom and at a randomly chosen angle. Note that in three dimensions the angle must be chosen with the correct weight. In two dimensions it is chosen randomly on [0, 2π]. The probability associated with the chosen angle is P i = w i (θ i ) = exp[ βe(θ i )]/Z i, where Z i is the local partition function Z i = i w i and is the sum of the weights due to all possible angles for the i th bead. Typically six or so possible angles are allowed as we don t want to calculate the energy at every angle. Once the chain growth is complete, the probability of the chain is i P i. Quantities of interest in polymer physics include the end-to-end distance, R, of the chain, or its radius of gyration R g. For a random walk model where the chain does not interact with itself these quantities have a diffusive behavior R R g N 1/2. However the hard core repulsion of the chain with itself makes real polymer chains expand, and the Flory prediction for the real chain is R R g N 3/(d+2), where d is the spatial dimension. For two dimensions R R g N 3/4. A log-log plot of the radius of gyration of your chains as a function of the number beads used N should see the difference between the Gaussian chain model and the Flory prediction. Note that the Flory prediction is observed in experiments on single chains in solution, however in dense melts the Gaussian chain form is observed. Beautiful neutron scattering experiments using dilute deuterated chains revealed this in the 1970 s. The pivot algorithm in its naive form is simply a method where a monomer is chosen at random and then MC moves at that site are chosen randomly for one edge while keeping all other bonds fixed. The energy of the move is calculated and a Metropolis test is used. To make the procedure efficient, it is important to quickly decide if a pivot leads to unphysical collisions or crossing configurations (see[1]) below. [1] J Baschnagel, J. Wittmer and H. Meyer, in Proceedings of Von Neuman conference, vol 23, 83-110 (2004) [2] P. Grassberger, Pruned-enriched Rosenbluth method: Simulations of polymers of chain length up to 1 000 000. Phys. Rev. E 56, 3682-3693 (1997). Option 2: Wolff cluster algorithm for spin half Ising model [1] The Ising model was invented to provide an understanding of phase transitions in ferromagnets, where it is known that mangetism is lost for T > T c where T c, is the Curie temperature. The behavior near T c is complicated and co-operative so that there is actually a singular behavior in 4

many physical properties at T c. In addition the geometry of the magnetic domains at T c is fractal. All of these properties can be deduced by using the Monte Carlo method to find the average properties of Ising magnets. The Hamiltonian of a spin 1/2 Ising magnet in a magnetic field is given by, H = J <ij> where J > 0 is a ferromagnetic exchange constant, S i S i S j h S i (4) i = ±1 is a spin variable, and the sum is over nearest neighbor sites on a lattice. We take the square lattice as our example (you can choose another lattice if you want). Our detailed analysis will focus upon the magnetization, m = ( i < S i >)/N. Other interesting things to calculate include the internal energy, the susceptibility and the specific heat. The project is to use the cluster (Wolff) Monte Carlo method to find the average value of these quantities as a function of temperature and by fitting to the expression magnetization expression m (T c T) β to obtain an estimate of β. You should also compare the convergence of the cluster algorithm to the standard Metroplis MC method for this problem. Another intersting thing to calculate is m versus h for fixed T < T c to demonstrate the magnetization jump at h = 0. The Wolff algorithm [1] was developed after the Swendsen-Wang algorithm and is more convenient. The way it works is as follows: (i) Start with a random spin configuration; (ii) Choose a spin at random in this configuration; (iii) Starting from this seed spin, grow a cluster by using the Wolff cluster growth procedure that works as follows. a) Find a neighoring spin with the same orientation as the seed (if one exists). b) draw a bond to that spin with probability p = 1 exp( βδe). If a bond is drawn, add this spin to the cluster. c) Continue growing the cluster until no further growth is possible. d) Flip the spin of the cluster. This process leads to a sequence of spin configurations that are used for averaging in the usual way. In your writeup you should demonstrate that this procedure satisfies detailed balance. The Swensden-Wang algorithm is quite similar - Google it and compare with the Wolff algorithm. [1] Collective Monte Carlo Updating for Spin Systems. Ulli Wolff, Phys. Rev. Lett. 62, 361 (1989) 5

Option 3: Variational QMC for the Hydrogen molecule Quantum problems provide an added complexity for Monte Carlo methods and many approaches have been developed. Here we use the variational method where we use a wavefunction form that is inspired by the physics and minimize the energy with respect to the parameters in the wavefunction. This approach requires good physical insight to find a good variational form for the wavefunction. This is possible for the Hydrogen molecule (and many other molecules) where we know the basic structure of the electronic orbitals. The mathematical form seems simple: we write a variational wavefunction Ψ and we find the energy E = < Ψ H Ψ > < Ψ Ψ >, where E E G (5) where E G is the ground state energy of the molecule. Of course we get equality if we find the exact ground state. All other wavefunctions give higher energy - this is the variational principle. The Hamiltonian of the Hydrogen molecule, in the Born-Openhiemer approximation where we assume that the nuclear motion is negligible, includes the kinetic and potential energies of the two electrons as well as their interaction. The positions of the two atomic nuclei are assumed to be symmetrically located and on the x-axis at positions s/2, s/2. The nuclei are thus a distance s apart. The positions of the two electrons are r 1 and r 2. The Hamiltonian is then H = h2 2m ( 2 1 + e 2 2) [ 2 r 1 + 2î s + e 2 r 1 2î s + e 2 r 2 + 2î s + e 2 r 2 2î s ] + e 2 r 1 r 2 (6) where the first part is the kinetic energy of the two electrons, the second part (square brackets) is the four attraction terms between the two electrons and the two nulcei and the last term is the Coulomb repulsion between the two electrons. The variational wavefunction is given by, Ψ( r 1, r 2 ) = φ( r 1 )φ( r 2 )ψ( r 1, r 2 ) (7) where φ( r) = e ( r s 2 î)/a + e ( r+ s 2 î)/a (8) 6

where a is a variational parameter. Note that we could take a = a 0 the Bohr radius, but allowing a to vary gives my variational freedom. The key new thing here is the assumption of an form for the interaction term ψ. A form that is very useful is (see Jos Thijssen s book, Equation 12.9 of the first edition), r ψ( r 1, r 2 ) = exp[ 1 r 2 )] (9) α(1 + β r 1 r 2 The first step is to find convenient expressions for the energy E given above using the variational wavefunction and Hamiltonian above. This is quite laborious but interesting exersize. The resulting expressions are six dimensional integrals in the electron co-ordinates r 1 and r 2. The MC part of the project is to used a diffusion method to approximate these integrals. The method should be carried out to find the energy E as a function of the interatomic separation s to find the ground state size of the hydrogen molecule. The electron density minus the electron density of the non-interacting H atoms at the same separation should also be plotted to illustrate the effect of the e-e Coulomb repulsion on the electronic configuration. Compare with the reference below [1]. Diffusion MC uses the fact that the Schrodinger equation looks like a diffusion equation so we can sample the wavefunction using random walks. Of course we have to keep track of the complex weights which makes it more difficult, but not excessively so. [1] L. Wolniewicz. Nonadiabatic energies of the ground state of the hydrogen molecule J. Chem. Phys. 103, 1792 (1995). 7