Monte Caro simulations

Similar documents
3.320 Lecture 18 (4/12/05)

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

Guiding Monte Carlo Simulations with Machine Learning

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

Their Statistical Analvsis. With Web-Based Fortran Code. Berg

Self-learning Monte Carlo Method

Markov Chain Monte Carlo Simulations and Their Statistical Analysis An Overview

Fig. 1 Cluster flip: before. The region inside the dotted line is flipped in one Wolff move. Let this configuration be A.

Classical Monte Carlo Simulations

Lecture V: Multicanonical Simulations.

Physics 115/242 Monte Carlo simulations in Statistical Physics

Phase transitions and finite-size scaling

Monte Carlo Methods in High Energy Physics I

Quantum Annealing in spin glasses and quantum computing Anders W Sandvik, Boston University

LECTURE 10: Monte Carlo Methods II

Markov Processes. Stochastic process. Markov process

Advanced Monte Carlo Methods Problems

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

Monte Carlo Simulation of the Ising Model. Abstract

Monte Carlo study of the Baxter-Wu model

Phase Transitions in Spin Glasses

Directional Ordering in the Classical Compass Model in Two and Three Dimensions

Critical Dynamics of Two-Replica Cluster Algorithms

Metropolis Monte Carlo simulation of the Ising Model

Parallel Tempering Algorithm in Monte Carlo Simulation

Kinetic Monte Carlo (KMC) Kinetic Monte Carlo (KMC)

Hanoi 7/11/2018. Ngo Van Thanh, Institute of Physics, Hanoi, Vietnam.

Quantum and classical annealing in spin glasses and quantum computing. Anders W Sandvik, Boston University

Monte Carlo and cold gases. Lode Pollet.

8 Error analysis: jackknife & bootstrap

Quantum spin systems - models and computational methods

Cluster Algorithms to Reduce Critical Slowing Down

4. Cluster update algorithms

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

Graphical Representations and Cluster Algorithms

Random Walks A&T and F&S 3.1.2

Markov Chain Monte Carlo Method

A New Algorithm for Monte Carlo Simulation of king Spin Systems* A. B. BORTZ M. H. KALOS J. L. LEBOWITZ

Is there a de Almeida-Thouless line in finite-dimensional spin glasses? (and why you should care)

The Monte Carlo Algorithm

A = {(x, u) : 0 u f(x)},

GPU-based computation of the Monte Carlo simulation of classical spin systems

Spin waves in the classical Heisenberg antiferromagnet on the kagome lattice

arxiv: v2 [cond-mat.stat-mech] 13 Oct 2010

Computational Physics (6810): Session 13

Irreversible Markov-Chain Monte Carlo methods

Progress toward a Monte Carlo Simulation of the Ice VI-VII Phase Transition

Monte Carlo importance sampling and Markov chain

Stochastic series expansion (SSE) and ground-state projection

Spontaneous Symmetry Breaking

Observation of topological phenomena in a programmable lattice of 1800 superconducting qubits

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

Generalized Ensembles: Multicanonical Simulations

L échantillonnage parfait: un nouveau paradigme des calculs de Monte Carlo

Wang-Landau sampling for Quantum Monte Carlo. Stefan Wessel Institut für Theoretische Physik III Universität Stuttgart

Quantum Monte Carlo. Matthias Troyer, ETH Zürich

PY 502, Computational Physics, Fall 2017 Monte Carlo simulations in classical statistical physics

Janus: FPGA Based System for Scientific Computing Filippo Mantovani

Monte-Carlo simulation of small 2D Ising lattice with Metropolis dynamics

Effective theories for QCD at finite temperature and density from strong coupling

Typical quantum states at finite temperature

Monte Carlo Simulation of Spins

Improvement of Monte Carlo estimates with covariance-optimized finite-size scaling at fixed phenomenological coupling

Paul Karapanagiotidis ECO4060

Sampling Methods (11/30/04)

Paramagnetic phases of Kagome lattice quantum Ising models p.1/16

Rensselaer Polytechnic Institute, 110 8th Street, Troy, NY , USA. Florida State University, Tallahassee, Florida , USA

Advanced Sampling Algorithms

VSOP19, Quy Nhon 3-18/08/2013. Ngo Van Thanh, Institute of Physics, Hanoi, Vietnam.

Phase Transitions in Spin Glasses

INTRODUCTION TO MARKOV CHAIN MONTE CARLO SIMULATIONS AND THEIR STATISTICAL ANALYSIS

Wang-Landau Monte Carlo simulation. Aleš Vítek IT4I, VP3

Local persistense and blocking in the two dimensional Blume-Capel Model arxiv:cond-mat/ v1 [cond-mat.stat-mech] 4 Apr 2004.

André Schleife Department of Materials Science and Engineering

Matrix-Product states: Properties and Extensions

CS 781 Lecture 9 March 10, 2011 Topics: Local Search and Optimization Metropolis Algorithm Greedy Optimization Hopfield Networks Max Cut Problem Nash

A Monte Carlo Implementation of the Ising Model in Python

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

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

Markov Chain Monte Carlo The Metropolis-Hastings Algorithm

Computational Statistical Physics

3. General properties of phase transitions and the Landau theory

Efficiency of Parallel Tempering for Ising Systems

Introduction to the Renormalization Group

Lab 70 in TFFM08. Curie & Ising

Multiple time step Monte Carlo

Classical Monte-Carlo simulations

Monte Carlo Simulation of the 2D Ising model

Markov Chains and MCMC

E = <ij> N 2. (0.3) (so that k BT

Variational Autoencoders for Classical Spin Models

Monte Carlo simulation calculation of the critical coupling constant for two-dimensional continuum 4 theory

Phase Transitions of Random Binary Magnetic Square Lattice Ising Systems

Answers and expectations

Binder Cumulants for the Ising Model using Worm algorithms

Evaporation/Condensation of Ising Droplets

Wang-Landau algorithm: A theoretical analysis of the saturation of the error

SIMULATED TEMPERING: A NEW MONTECARLO SCHEME

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

Today: Fundamentals of Monte Carlo

Transcription:

Monte Caro simulations Monte Carlo methods - based on random numbers Stanislav Ulam s terminology - his uncle frequented the Casino in Monte Carlo Random (pseudo random) number generator on the computer Less glamorous than roulette tables or cards, but faster... >10 9 random numbers per second Monte Carlo simulations in statistical physics normally refers to importance sampling of configurations (e.g., spins) generating configurations with probability equal to the Boltzmann probability MC simulations show clearly how phase transitions can happen when N 30

Monte Carlo simulation of the Ising model The Metropolis algorithm [Metropolis, Rusenbluth, Rosenbluth, Teller, and Teller, Phys. Rev. 1953] Generate a series of configurations (Markov chain); C1 C2 C3 C4... Cn+1 obtained by modifying (updating) Cn changes satisfy the detailed-balance principle P change (A B) P change (B A) = W (B) W (A) = e E(A)/T W (A) Starting from any configuration, such a stochastic process leads to configurations distributed according to W the process has to be ergodic - any configuration reachable in principle it takes some time to reach equilibrium Metropolis algorithm for the Ising model. For each update perform: select a spin i at random; consider flipping it σi -σi compute the ratio R=W(σ1,...-σi,...,σN)/W(σ1,...σi,...,σN) - for this we need only the spins neighboring i generate random number 0<r 1; accept flip if r<r (go back to old config else) P change (A B) =P select (B A)P accept (B A) P select =1/N, P accept = min[w (B)/W (A), 1] These probabilities satisfy detailed balance 31

Symmetry breaking (magnetic phase transition) for h=0 A magnetized state, <m> 0, breaks a symmetry (E invariant under all σi -σi) strictly, mathematically we must have <m>=0 symmetry breaking (phase transition) can take place when N how can we understand the symmetry breaking for N large but finite? Time series of simulation data; magnetization vs simulation time for T<Tc M N = m = 1 N N i=1 σ i There is a characteristic reversal time between m>0 and m<0 configurations reversal time diverges for N the symmetry can be broken on practical time scales for finite (large) N also mechanism of phase transitions in real magnets (and other systems) 32

Another way to look at it: magnetization distribution probability distrubution (histogram) of m during the simulation m = 1 N N i=1 σ i single-peak distribution for T>Tc double-peak distribution for T<Tc peaks become sharper for increasing N no probability to fluctuate between m<0 and m>0 peaks for N - have to go through low-probability m 0 configurations Why this peak structure? balance between large number of m 0 configurations with high energy small number of m 1 configuration with low energy entropy dominates at hight T, internal energy at low T F = E ST 33

Binder ratios and cumulants Consider the dimensionless ratio R 2 = m4 m 2 2 We can compute R2 exactly for N for T<Tc: P(m) δ(m-m*)+δ(m+m*) m*= peak m-value R2 1 for T>Tc: P(m) exp[-m 2 /a(n)] a(n) N -1 R2 3 (properties of Gaussian integrals) The Binder cumulant is defined as (n-component order parameter; n=1 for Ising) U 2 = 3 ( n +1 n ) { 1, T < 2 3 3 R Tc 2 0, T > T c 2D Ising model; MC results Curves for different L normally cross each other close to Tc Extrapolate crossing for sizes L and 2L to infinite size converges faster than single-size Tc defs. 34

Computing expectation values and their statistical errors Definition: Monte Carlo sweep = N spin-flip attempts a natural unit of simulation time measure observables after every (or every n) sweep Boltzmann probability accounted for at sampling stage Q = 1 N s N s i=1 Q i, N s = number of samples is the estimate for the true expectation value; Q Q, (N s ) Statistical errors (error bars): Q = Q ± σ Q the measurements are not statistically independent independent only after a number of sweeps >> autocorrelation time Divide the simulation into B bins, M sweeps in each bin; Ns=BM bin averages: Qb,b=1,..., B Q = 1 B Q b, σ 2 1 B Q = ( B B(B 1) Q b Q) 2 b=1 If M is sufficiently large (>> autocorrelation time) the average and error are statistically sounds (corresonding to independent Gaussian-distributed data) probability of true value being inside the error bars 2/3 b=1 35

Autocorrelation functions characterization of how measurements become statistically independent A Q (t) = Q(i + t)q(i) Q 2 Q 2 Q 2, ( e t/θ,t ) the autocorrelation time Θ grows as T Tc (diverges for N, T Tc) T/J=3.0 > Tc! T/J = 2.269 = Tc! This problem can be largely overcome by using cluster algorithms for standard Ising, XY, Heisenberg,... but not in all cases, e.g., in the presence of external fields, frustrated systems,... 36