14. TMMC, Flat-Histogram and Wang-Landau Method

Slides:



Advertisements
Similar presentations
PRAGMA – 9 V.S.S.Sastry School of Physics University of Hyderabad 22 nd October, 2005.
Advertisements

APRIL 2010 AARHUS UNIVERSITY Simulation of probed quantum many body systems.
Review Of Statistical Mechanics
Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
Modern Monte Carlo Methods: (2) Histogram Reweighting (3) Transition Matrix Monte Carlo Jian-Sheng Wang National University of Singapore.
CS774. Markov Random Field : Theory and Application Lecture 16 Kyomin Jung KAIST Nov
1 Cluster Monte Carlo Algorithms & softening of first-order transition by disorder TIAN Liang.
Monte Carlo Simulation of Ising Model and Phase Transition Studies
Continuous Time Monte Carlo and Driven Vortices in a Periodic Potential V. Gotcheva, Yanting Wang, Albert Wang and S. Teitel University of Rochester Lattice.
Introduction to Monte Carlo Methods D.J.C. Mackay.
Monte Carlo Simulation of Ising Model and Phase Transition Studies By Gelman Evgenii.
Relating computational and physical complexity Computational complexity: How the number of computational steps needed to solve a problem scales with problem.
Classical and Quantum Monte Carlo Methods Or: Why we know as little as we do about interacting fermions Erez Berg Student/Postdoc Journal Club, Oct
Monte Carlo Simulation of Interacting Electron Models by a New Determinant Approach Mucheng Zhang (Under the direction of Robert W. Robinson and Heinz-Bernd.
F.F. Assaad. MPI-Stuttgart. Universität-Stuttgart Numerical approaches to the correlated electron problem: Quantum Monte Carlo.  The Monte.
Lecture 11: Ising model Outline: equilibrium theory d = 1
F.F. Assaad. MPI-Stuttgart. Universität-Stuttgart Numerical approaches to the correlated electron problem: Quantum Monte Carlo.  The Monte.
Outline Review of extended ensemble methods (multi-canonical, Wang-Landau, flat-histogram, simulated tempering) Replica MC Connection to parallel tempering.
1 Worm Algorithms Jian-Sheng Wang National University of Singapore.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points.
9. Convergence and Monte Carlo Errors. Measuring Convergence to Equilibrium Variation distance where P 1 and P 2 are two probability distributions, A.
Monte Carlo Methods in Statistical Mechanics Aziz Abdellahi CEDER group Materials Basics Lecture : 08/18/
Mixture Models, Monte Carlo, Bayesian Updating and Dynamic Models Mike West Computing Science and Statistics, Vol. 24, pp , 1993.
Physics Fluctuomatics / Applied Stochastic Process (Tohoku University) 1 Physical Fluctuomatics Applied Stochastic Process 9th Belief propagation Kazuyuki.
The Ising Model Mathematical Biology Lecture 5 James A. Glazier (Partially Based on Koonin and Meredith, Computational Physics, Chapter 8)
Two Temperature Non-equilibrium Ising Model in 1D Nick Borchers.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 14 Some materials adapted from Prof. Keith E. Gubbins:
8. Selected Applications. Applications of Monte Carlo Method Structural and thermodynamic properties of matter [gas, liquid, solid, polymers, (bio)-macro-
Time-dependent Schrodinger Equation Numerical solution of the time-independent equation is straightforward constant energy solutions do not require us.
Exploring the connection between sampling problems in Bayesian inference and statistical mechanics Andrew Pohorille NASA-Ames Research Center.
1 Cluster Monte Carlo Algorithms: Jian-Sheng Wang National University of Singapore.
Schematic representation of ‘Microstates’. Integretion over a Markovian Web. G. C. Boulougouris, D. Frenkel, J. Chem. Theory Comput. 2005, 1,
Collective diffusion of the interacting surface gas Magdalena Załuska-Kotur Institute of Physics, Polish Academy of Sciences.
13. Extended Ensemble Methods. Slow Dynamics at First- Order Phase Transition At first-order phase transition, the longest time scale is controlled by.
7. Metropolis Algorithm. Markov Chain and Monte Carlo Markov chain theory describes a particularly simple type of stochastic processes. Given a transition.
Monte Carlo method: Basic ideas. deterministic vs. stochastic In deterministic models, the output of the model is fully determined by the parameter values.
An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA
Javier Junquera Importance sampling Monte Carlo. Cambridge University Press, Cambridge, 2002 ISBN Bibliography.
Network Science K. Borner A.Vespignani S. Wasserman.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points non-Boltzmann sampling.
Monte Carlo Simulation of Canonical Distribution The idea is to generate states i,j,… by a stochastic process such that the probability  (i) of state.
Computational Physics (Lecture 10) PHY4370. Simulation Details To simulate Ising models First step is to choose a lattice. For example, we can us SC,
Monte Carlo Simulation of the Ising Model Consider a system of N classical spins which can be either up or down. The total.
10 October, 2007 University of Glasgow 1 EM Algorithm with Markov Chain Monte Carlo Method for Bayesian Image Analysis Kazuyuki Tanaka Graduate School.
Systematic errors of MC simulations Equilibrium error averages taken before the system has reached equilibrium  Monitor the variables you are interested.
The Monte Carlo Method/ Markov Chains/ Metropolitan Algorithm from sec in “Adaptive Cooperative Systems” -summarized by Jinsan Yang.
Uncertainty quantification in generic Monte Carlo Simulation: a mathematical framework How to do it? Abstract: Uncertainty Quantification (UQ) is the capability.
Introduction to Sampling based inference and MCMC
8. Selected Applications
Computational Physics (Lecture 10)
Statistical-Mechanical Approach to Probabilistic Image Processing -- Loopy Belief Propagation and Advanced Mean-Field Method -- Kazuyuki Tanaka and Noriko.
Overview of Molecular Dynamics Simulation Theory
Monte Carlo: A Simple Simulator’s View
11. Cluster Algorithms.
10. Quantum Monte Carlo Methods
12. Reweighting Methods.
Monte Carlo Methods in Scientific Computing
Intermittency and clustering in a system of self-driven particles
Unfolding Problem: A Machine Learning Approach
Ising Model of a Ferromagnet
Presented by Rhee, Je-Keun
Monte Carlo Methods in Scientific Computing
DIAGRAMMATIC MONTE CARLO:
Physical Fluctuomatics 7th~10th Belief propagation
Common Types of Simulations
Unfolding with system identification
Thermodynamics and Statistical Physics
Generating Random Variates
Computational approaches for quantum many-body systems
Presentation transcript:

14. TMMC, Flat-Histogram and Wang-Landau Method

Transition Matrix (in energy) We define transition matrix which has the property h(E) T(E->E ’) = h(E ’) T(E ’->E) h(E) is energy distribution or exact energy histogram.

Transition Matrix Monte Carlo Compute T(E->E ’) with any valid MC algorithms that have micro-canonical property that configuration with “equal energy has equal probability” Obtain h(E), or equivalently n(E) from energy detailed balance equation The transition matrix Monte Carlo was proposed in J.-S. Wang, T. K. Tay, and R. H. Swendsen, Phys Rev Lett 82 (1999) 476. See also, J.-S. Wang and R. H. Swendsen, J Stat Phys 106 (2002) 245.

Example for Ising Model Using single-spin-flip dynamics, the transition matrix W in spin configuration space is The diagonal term is from Σσ’ W(σ->σ’) = 1. The factor 1/N means we pick a site at random. N = Ld is the number of sites.

Transition Matrix for Ising model where <N (σ,E ’-E )>E is micro-canonical average of number of ways that the system goes to a state with energy E ’ given the current energy is E.

The Ising Model - - + - + - - - - + + - + + - - - + + - + + + - + + - Total energy is E(σ) = - J ∑<ij> σi σj sum over nearest neighbors, σ = ±1 N(s,DE) is the number of sites, such that flip spin costs energy DE. - - - + + - + + - - - + + - + + + - + + - - - - DE=-8J In 1925, physicist W. Lenz asked his student E. Ising to solve a statistical mechanics problem relevant to the magnetic properties of matter. Ising was able to solve it on a one-dimensional lattice. Almost twenty years were passed before L. Onsager found analytic solution to the two-dimensional version of the problem. The three-dimensional Ising model which is most relevant in the physical world has denied any serious attempt. Thus, any information we have is from approximations and numerical simulations. Ising model and its generalizations are extremely important in our understanding of the properties of matter, especially the phenomena of phase transitions. Ising model is still actively used in various ways to model systems in condensed matter physics. + + - - + - σ = {σ1, σ2, …, σi, … }

Broad Histogram Equation n(E)<N(σ,E ’-E)>E = n(E ’)<N(σ’,E-E ’)>E ’ This equation is used to determine density of states This equation was first proposed by P. M. C de Oliveira et al, Braz J Phys 26 (1996) 677.

Flat Histogram Algorithm Pick a site at random Flip the spin with probability Where E is current and E ’ is new energy Accumulate statistics for <N(σ,E ’-E)>E See J-S Wang, Eur Phys J B 8 (1999) 287. Since <N(σ, E’-E)>E is both the quantity that we are going to collect statistics and input to the algorithm, we can not do it without approximation. In real simulation, we replace the exact micro-canonical average by running average.

Histograms Histograms for 2D Ising 32x32 with 107 Monte Carlo steps. Insert is a blow-up of the flat-histogram. From J-S Wang and L W Lee, Computer Phys Comm 127 (2000) 131. Flat-histogram Broad histogram The program tmmc_n_conv.c was used to calculate and compare density of states n(E). Canonical

2D Ising Result Specific heat of a 256x256 2D Ising model, using flat-histogram/multi-canonical method. Insert shows relative error. From J-S Wang, “Monte Carlo and Quasi-Monte Carlo Methods 2000,” K-T Fang et al, eds. The Wang-Landau method was able to do similar calculations.

Wang-Landau Method Work directly with n(E), starting with some initial guess, n(E) ≈ const, f = f0 > 1 (say 2.7) Flip a spin according to acceptance rate min[1, n(E)/n(E ’)] And also update n(E) by n(E) <- n(E) f Reduce f by f <-f 1/2 after certain number of MC steps, when the histogram H(E) is “flat”. See F. Wang and D. P. Landau, Phys Rev Lett 86 (2001) 2050.

Comparison Errors in 2D Ising density of states εn = (1/N)Σ|n(E)/nexact (E)-1|. Two-stage is flat-histogram pass plus a multi-canonical pass, all have 106 Monte Carlo sweeps. From J S Wang and R H Swendsen, J Stat Phys 106 (2002) 245.