SlideShare a Scribd company logo
1 of 45
Download to read offline
Wang-Landau Monte Carlo
simulation
Aleš Vítek
IT4I, VP3
PART 1
Classical Monte Carlo Methods
Outline
1. Statistical thermodynamics, ensembles
2. Numerical evaluation of integrals, crude Monte Carlo (MC)
3. MC methods for statistical thermodynamics, Markov chains
4. Variants of MC methods
Statistical thermodynamics
microscopic description
(positions, momenta, interactions)
Statistical thermodynamics
microscopic description
(positions, momenta, interactions)
macroscopic description
(pressure, density, temperature)
Statistical thermodynamics
microscopic description
(positions, momenta, interactions)
macroscopic description
(pressure, density, temperature)
Statistical Thermodynamics
Statistical thermodynamics
time averages  Molecular Dynamics methods


 
 
0
0
1
lim ( ( ), ( )) d
t
K K
t
B b b r t p t t
Statistical thermodynamics
ensemble averages  Monte Carlo methods
 
 
 
 


1
1
1
( , ) ( , ; , , ) d
, ,
( , ; , , ) d
K K K K n
n
K K n
b r p r p A A
B A A b
r p A A
Statistical thermodynamics
Statistical (Gibbs) ensembles
 microstate (m-state): positions and momenta
 macrostate (m-state): macroscopic variables (A1, … )
 1 m-state = many m-states  Gibbs ensemble
 probability distribution in system’s phase space,  1( , ; , , )K K nr p A A
Statistical thermodynamics
Examples of statistical (Gibbs) ensembles
 micro-canonical: N, V, E
 canonical: N, V, T
 grand-canonical: m, V, T
 isobaric-isothermic: N, P, T
 etc.
Statistical thermodynamics
 
 
  
 B
( , ; )
, ; , , exp N K K
K K
H r p V
r p N V T
k T
Canonical Gibbs ensemble

 
2
1
( , ; ) ( ; )
2
N
K
N K K K
K K
p
H r p V W r V
M
Statistical thermodynamics
 
 
 
 


1
1
1
( , ) ( , ; , , ) d
, ,
( , ; , , ) d
K K K K n
n
K K n
b r p r p A A
B A A b
r p A A
Statistical thermodynamics as a mathematical
problem
 3 3 3 3
1 13
1
d d d ...d d
!h N NN
r p r p
N
Statistical thermodynamics
 

 



con con 1 1
1 kin
con 1 1
( ) ( ; , , ) d d
, ,
( ; , , ) d d
K K n N
n
K n N
b r r A A r r
B A A B
r A A r r
Statistical thermodynamics as a mathematical
problem
Canonical ensemble
 
 
  
 
con
B
( ; )
; , , exp N K
K
W r V
r N V T
k T
Numerical evaluation of integrals
 
  
     1 1
( ) d ( ) ( )
b n n
j
j ja
b a b a b a
f x x f a j f x
n n n
1D – rectangular, trapezoid, Simpsonian, …
Numerical evaluation of integrals
 
  
     1 1
( ) d ( ) ( )
b n n
j
j ja
b a b a b a
f x x f a j f x
n n n
1D – rectangular, trapezoid, Simpsonian, …
1D – crude Monte Carlo


  1
( ) d ( )
b n
j
ja
b a
f x x f x
n
xj randomly distributed over [a,b]
Numerical evaluation of integrals

0
sin dx xExample
Numerical evaluation of integrals
Localized functions
 ( ) ( )d
b
a
f x x x
Numerical evaluation of integrals
Localized functions
 ( ) ( )d
b
a
f x x x
Solution: Sampling from (x).
Numerical evaluation of integrals
Localized functions
 ( ) ( )d
b
a
f x x x
Solution: Sampling from (x).
How? Markov chains.
Markov chains
 (e) (e)
1 , , n
Simplified example – finite number of microstates
 microstates: s1, …, sn
 probability distribution: 1 = (s1), …, n = (sn)
 equilibrium PD:
Markov chains
Simplified example – finite number of microstates
 Markov chain: s(1)  s(2)  …  s(N)  …
s(K) is from {s1, …, sn}
 transition probabilities: ik = ik
(stochastic matrix)
1
0 1
1
ik
n
ik
k 
  
 
Markov chains


   ( 1) ( )
1
n
N N
k i ik
j
Simplified example – finite number of microstates
 PD function evolution:

   ( 1) ( )N N
 equilibrium PD function:

   (e) (e)
1
n
k i ik
j
    (e) (e)
Markov chains
Simplified example – finite number of microstates
Theorem:
Let s(1), s(2), …, s(N), … be an infinite Markov chain of microstates generated using a
stochastic matrix ik . Then the generated microstates are distributed over the state
space of the system in congruence with the equilibrium PD function of the used
stochastic matrix.
Remarks:
The Markov chain does not represent any physical time evolution.
From the statistical thermodynamics point of view, only the equilibrium PD function
is physically relevant. (Not, e. g., the stochastic matrix.)
Markov chains
Construction of an appropriate stochastic matrix
(e) (e)
1 1
, 1
n n
k j jk jk
j k 
      
Mathematically
 2n linear algebraic equations for n2 variables
 many (infinite number of) solutions
Markov chains
Construction of an appropriate stochastic matrix
(e) (e)
1 1
, 1
n n
k j jk jk
j k 
      
Mathematically
 2n linear algebraic equations for n2 variables
 many (infinite number of) solutions
Detailed balance
(e) (e)
k kj j jk    
Markov chains
Decomposition of the stochastic matrix
 ik ik ikp a
pik … probability of proposing a particular transition
aik … probability of accepting the proposed transition
Metropolis solution [1]

  
      
  
  
  
  
(e)
(e) (e)
(e
(e)
(e))
mi min 1, ,n 1
ki ikp p
k ki
k ki ki i ik ik ik
ik
k
ik
ii
p
p
ap a p a a
[1] N. Metropolis, A. Rosenbluth, M. Rosenbluth, A. Teller, E. Teller, J. Chem. Phys. 21 (1953) 1087.
Markov chains
Decomposition of the stochastic matrix
 ik ik ikp a
pik … probability of proposing a particular transition
aik … probability of accepting the proposed transition
Metropolis solution [1]

  
      
  
  
  
  
(e)
(e) (e)
(e
(e)
(e))
mi min 1, ,n 1
ki ikp p
k ki
k ki ki i ik ik ik
ik
k
ik
ii
p
p
ap a p a a
[1] N. Metropolis, A. Rosenbluth, M. Rosenbluth, A. Teller, E. Teller, J. Chem. Phys. 21 (1953) 1087.
Notice that the PD function need not be normalized!
Metropolis algorithm
… for evaluating configuration integrals of statistical
thermodynamics (canonical ensemble)


 


B
B
( )
con 1
kin ( )
1
( )e d d
e d d
K
K
W r
k T
K N
W r
k T
N
b r r r
B B
r r
and, consequently,
   
   
    

( ) ( )( ) ( )( )
B B B B
( ) (e)
(e)
(e)
e e e e
k ii i ki
K
W WW WW r
k T k T k T k Tk
i
i
Metropolis algorithm
 from the configuration generated in the preceding step,
r(i), generate a new one using an algorithm obeying
that the probability for old  new is the same as for
new  old (usually isotropic translation and/or
rotation)
 if W (new)<W (i) then r (i+1) = r (new)
 if W (new)>W (i) then
 r (i+1) = r (new) with probability
 r (i+1) = r (i) with probability
 repeat until “infinity” (convergence)

 ( new)
B/
e
i
W k T



( new)
B/
1 e
i
W k T
Metropolis algorithm
Then

 

 

B
B
( )
con 1 ( )
con( )
1
1
( )e d d 1
lim ( )
e d d
K
K
W r
k T
n
K N i
KW r n
ik T
N
b r r r
b r
n
r r
Metropolis algorithm
Then

 

 

B
B
( )
con 1 ( )
con( )
1
1
( )e d d 1
lim ( )
e d d
K
K
W r
k T
n
K N i
KW r n
ik T
N
b r r r
b r
n
r r
Canonical (or NVT or isochoric-isothermic)
Monte Carlo
A general sketch of an MC simulation
 propose an initial configuration
 employ the Metropolis algorithm to generate as many as
possible further configurations
 collect necessary data along the MC path to evaluate
ensemble averages
 calculate the averages as simple arithmetic means of the
collected data
Troublesomes
Periodic boundary conditions - example
Literature
M. LEWERENZ, Monte Carlo Methods: Overview and Basics, in NIC Series Volume 10:
Quantum Simulations of Complex Many-Body Systems: From Theory to Algorithms, NIC Juelich 2002
(http://www.fz-juelich.de/nic-series/volume10/volume10.html)
M. P. ALLEN, P. J. TILDESLEY, Computer Simulation of Liquids, Oxford University Press,
Oxford 1987.
D. P. LANDAU, K. BINDER, A Guide to Monte Carlo Simulations in Statistical
Physics, Cambridge University Press, Cambridge 2000 and 2005.
Appendix
Simulated annealing [1] and basin hopping [2]
MC simulation at a high temperature
equilibrium structure for T = 0 K
T0K
simulatedannealing
gradientoptimization
basinhopping[1] S. Kirckpatrick, C. D. Gellat, M. P. Vecchi, Science 220 (1983) 671; [2] D. J. Wales, H. A. Scheraga, Science 285
(1999) 1368.
Example 2
Simulated annealing of small water clusters.
PART 2
Wang-Landau algorithm
Problem: low temperatures
Simulation at low temperatures – combination of
integration and optimization
Molecular clusters, biomolecules:
Complicated energy landscapes
A lot of minims separated by large energy
barriers
 

 



con con 1 1
1 kin
con 1 1
( ) ( ; , , ) d d
, ,
( ; , , ) d d
K K n N
n
K n N
b r r A A r r
B A A B
r A A r r
IF , then mean value of B can be expressed as
a 1D integral
where is classical density of states
How to calculate ? Wang-Landau algorithm
 con( ) ( )K Kb r b W r
Mean value of variable B
 


 
 
 


min
min
con con 1
1 kin
con 1
( ) ( ; , , ) ( )d
, ,
( ; , , ) ( )d
nW
n
nW
b W W A A W W
B A A B
W A A W W
( )W
 
  


1 1
1
1
, , ; ( , , ) ,
0
1
, ,
1 d d
( ) lim
1 d d
N N
N
N
r r W r r W W W
W
N
r r
r r
W
r r
( )W
Calculation of Ω Wang-Landau algorithm – basic idea
- Completaly random walk in configuration space => energy
histogram h(W)~Ω(W), but low energy configurations will not be
visited
- Metropolis algorithm: configurations are sampled by ρ(Ei(r), =>
energy histogram h(W)~Ω(W) x ρ(W(r))
- If we use ρ(Wi(r)) = 1/(Ω(W)), then energy histogram will be
constant function
Wang-Landau algorithm – calculation of density of states
- Start of simulation: Ω(W) is unknown, we start with constant Ω(W) = 1
and from random initial configuration r
- Following configuration r2 created by small random change of foregoing
configuration r1 is accepted with probability
- Visiting of energy Wi: change of Ω(Wi) → Ω(Wi) x k0,where modification
factor k0 >1.
- e. g., k0 =2, big k → big statistical errors, small k → long simulation
- After reaching of flat energy histogram h(W), modification factor is
changed e.g. by rule , energy histogram is deleted (density of
states isn‘t deleted!) and we start a new simulation
- Computations is finished, when k reaches predeterminated value (e. g.
1,000 001)
  
  
 
 
min 1, 1,
new new old
newold old
W r W
WW r


      
   
  
1j jk k 
Wang-Landau algorithm – accuracy of results depends on:
- Final value of modification factor kfinal
- Softness of deals of energy
- Criterion of flatness of histogram
- Complexity of simulated system
- Details of implemented algorithm
Wangův-Landau algorithm: parallelization
- MPI, each core has one own walker, all cores share actual density
of states and actual energy histogram
W-L algorithm-example:
THE JOURNAL OF CHEMICAL PHYSICS 134, 024109 (2012)
Thank you for your attention

More Related Content

What's hot

PRML Chapter 10
PRML Chapter 10PRML Chapter 10
PRML Chapter 10Sunwoo Kim
 
劣モジュラ最適化と機械学習 2.4節
劣モジュラ最適化と機械学習 2.4節劣モジュラ最適化と機械学習 2.4節
劣モジュラ最適化と機械学習 2.4節Hakky St
 
PRML読書会1スライド(公開用)
PRML読書会1スライド(公開用)PRML読書会1スライド(公開用)
PRML読書会1スライド(公開用)tetsuro ito
 
マルコフ連鎖モンテカルロ法入門-2
マルコフ連鎖モンテカルロ法入門-2マルコフ連鎖モンテカルロ法入門-2
マルコフ連鎖モンテカルロ法入門-2Nagi Teramo
 
PRML 1.6 情報理論
PRML 1.6 情報理論PRML 1.6 情報理論
PRML 1.6 情報理論sleepy_yoshi
 
Restricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theoryRestricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theorySeongwon Hwang
 
PRML上巻勉強会 at 東京大学 資料 第1章後半
PRML上巻勉強会 at 東京大学 資料 第1章後半PRML上巻勉強会 at 東京大学 資料 第1章後半
PRML上巻勉強会 at 東京大学 資料 第1章後半Ohsawa Goodfellow
 
PRML 2.3 ガウス分布
PRML 2.3 ガウス分布PRML 2.3 ガウス分布
PRML 2.3 ガウス分布KokiTakamiya
 
PRML輪読#11
PRML輪読#11PRML輪読#11
PRML輪読#11matsuolab
 
量子コンピュータの量子化学計算への応用の現状と展望
量子コンピュータの量子化学計算への応用の現状と展望量子コンピュータの量子化学計算への応用の現状と展望
量子コンピュータの量子化学計算への応用の現状と展望Maho Nakata
 
KMC 競技プログラミング練習会 Advanced 第3回 ふろー
KMC 競技プログラミング練習会 Advanced 第3回 ふろーKMC 競技プログラミング練習会 Advanced 第3回 ふろー
KMC 競技プログラミング練習会 Advanced 第3回 ふろーkyoto university
 
ICPC国内予選F解説
ICPC国内予選F解説ICPC国内予選F解説
ICPC国内予選F解説tmaehara
 
Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情
Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情
Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情NVIDIA Japan
 
Predicting organic reaction outcomes with weisfeiler lehman network
Predicting organic reaction outcomes with weisfeiler lehman networkPredicting organic reaction outcomes with weisfeiler lehman network
Predicting organic reaction outcomes with weisfeiler lehman networkKazuki Fujikawa
 
[DL輪読会]Deep Learning 第9章 畳み込みネットワーク
[DL輪読会]Deep Learning 第9章 畳み込みネットワーク[DL輪読会]Deep Learning 第9章 畳み込みネットワーク
[DL輪読会]Deep Learning 第9章 畳み込みネットワークDeep Learning JP
 
[DL輪読会]Deep Learning 第13章 線形因子モデル
[DL輪読会]Deep Learning 第13章 線形因子モデル[DL輪読会]Deep Learning 第13章 線形因子モデル
[DL輪読会]Deep Learning 第13章 線形因子モデルDeep Learning JP
 
[DL輪読会]Deep Learning 第17章 モンテカルロ法
[DL輪読会]Deep Learning 第17章 モンテカルロ法[DL輪読会]Deep Learning 第17章 モンテカルロ法
[DL輪読会]Deep Learning 第17章 モンテカルロ法Deep Learning JP
 
Chapter 6 Deep feedforward networks - 1
Chapter 6 Deep feedforward networks - 1Chapter 6 Deep feedforward networks - 1
Chapter 6 Deep feedforward networks - 1KyeongUkJang
 
マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法
マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法
マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法Shuhei Sowa
 

What's hot (20)

PRML Chapter 10
PRML Chapter 10PRML Chapter 10
PRML Chapter 10
 
劣モジュラ最適化と機械学習 2.4節
劣モジュラ最適化と機械学習 2.4節劣モジュラ最適化と機械学習 2.4節
劣モジュラ最適化と機械学習 2.4節
 
PRML読書会1スライド(公開用)
PRML読書会1スライド(公開用)PRML読書会1スライド(公開用)
PRML読書会1スライド(公開用)
 
マルコフ連鎖モンテカルロ法入門-2
マルコフ連鎖モンテカルロ法入門-2マルコフ連鎖モンテカルロ法入門-2
マルコフ連鎖モンテカルロ法入門-2
 
PRML 1.6 情報理論
PRML 1.6 情報理論PRML 1.6 情報理論
PRML 1.6 情報理論
 
Restricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theoryRestricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theory
 
PRML上巻勉強会 at 東京大学 資料 第1章後半
PRML上巻勉強会 at 東京大学 資料 第1章後半PRML上巻勉強会 at 東京大学 資料 第1章後半
PRML上巻勉強会 at 東京大学 資料 第1章後半
 
PRML 2.3 ガウス分布
PRML 2.3 ガウス分布PRML 2.3 ガウス分布
PRML 2.3 ガウス分布
 
PRML輪読#11
PRML輪読#11PRML輪読#11
PRML輪読#11
 
量子コンピュータの量子化学計算への応用の現状と展望
量子コンピュータの量子化学計算への応用の現状と展望量子コンピュータの量子化学計算への応用の現状と展望
量子コンピュータの量子化学計算への応用の現状と展望
 
KMC 競技プログラミング練習会 Advanced 第3回 ふろー
KMC 競技プログラミング練習会 Advanced 第3回 ふろーKMC 競技プログラミング練習会 Advanced 第3回 ふろー
KMC 競技プログラミング練習会 Advanced 第3回 ふろー
 
ICPC国内予選F解説
ICPC国内予選F解説ICPC国内予選F解説
ICPC国内予選F解説
 
Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情
Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情
Physics-ML のためのフレームワーク NVIDIA Modulus 最新事情
 
Predicting organic reaction outcomes with weisfeiler lehman network
Predicting organic reaction outcomes with weisfeiler lehman networkPredicting organic reaction outcomes with weisfeiler lehman network
Predicting organic reaction outcomes with weisfeiler lehman network
 
[DL輪読会]Deep Learning 第9章 畳み込みネットワーク
[DL輪読会]Deep Learning 第9章 畳み込みネットワーク[DL輪読会]Deep Learning 第9章 畳み込みネットワーク
[DL輪読会]Deep Learning 第9章 畳み込みネットワーク
 
[DL輪読会]Deep Learning 第13章 線形因子モデル
[DL輪読会]Deep Learning 第13章 線形因子モデル[DL輪読会]Deep Learning 第13章 線形因子モデル
[DL輪読会]Deep Learning 第13章 線形因子モデル
 
[DL輪読会]Deep Learning 第17章 モンテカルロ法
[DL輪読会]Deep Learning 第17章 モンテカルロ法[DL輪読会]Deep Learning 第17章 モンテカルロ法
[DL輪読会]Deep Learning 第17章 モンテカルロ法
 
Chapter 6 Deep feedforward networks - 1
Chapter 6 Deep feedforward networks - 1Chapter 6 Deep feedforward networks - 1
Chapter 6 Deep feedforward networks - 1
 
MCMC法
MCMC法MCMC法
MCMC法
 
マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法
マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法
マルコフモデル,隠れマルコフモデルとコネクショニスト時系列分類法
 

Viewers also liked

Operators n dirac in qm
Operators n dirac in qmOperators n dirac in qm
Operators n dirac in qmAnda Tywabi
 
4 theory of multiphase flows
4 theory of multiphase flows4 theory of multiphase flows
4 theory of multiphase flowsEr Gaurav Yadav
 
Lecture 7 8 statistical thermodynamics - introduction
Lecture 7 8 statistical thermodynamics - introductionLecture 7 8 statistical thermodynamics - introduction
Lecture 7 8 statistical thermodynamics - introductionViraj Dande
 
Radon Transform - image analysis
Radon Transform - image analysisRadon Transform - image analysis
Radon Transform - image analysisVanya Valindria
 
[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisible[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisibleNAVER D2
 
Deblurring of Digital Image PPT
Deblurring of Digital Image PPTDeblurring of Digital Image PPT
Deblurring of Digital Image PPTSyed Atif Naseem
 
Coulometric method of analysis
Coulometric method of analysisCoulometric method of analysis
Coulometric method of analysisSiham Abdallaha
 
The monte carlo method
The monte carlo methodThe monte carlo method
The monte carlo methodSaurabh Sood
 
Webinar: Moving to Office 365? What You Need to Know!
Webinar: Moving to Office 365? What You Need to Know!Webinar: Moving to Office 365? What You Need to Know!
Webinar: Moving to Office 365? What You Need to Know!Flexera
 
5 introduction to quantum mechanics
5 introduction to quantum mechanics5 introduction to quantum mechanics
5 introduction to quantum mechanicsSolo Hermelin
 
Number plate recognition system using matlab.
Number plate recognition system using matlab.Number plate recognition system using matlab.
Number plate recognition system using matlab.Namra Afzal
 

Viewers also liked (15)

Operators n dirac in qm
Operators n dirac in qmOperators n dirac in qm
Operators n dirac in qm
 
4 theory of multiphase flows
4 theory of multiphase flows4 theory of multiphase flows
4 theory of multiphase flows
 
Lecture 7 8 statistical thermodynamics - introduction
Lecture 7 8 statistical thermodynamics - introductionLecture 7 8 statistical thermodynamics - introduction
Lecture 7 8 statistical thermodynamics - introduction
 
Key ex eg cou
Key ex eg couKey ex eg cou
Key ex eg cou
 
Potentiometry
PotentiometryPotentiometry
Potentiometry
 
Radon Transform - image analysis
Radon Transform - image analysisRadon Transform - image analysis
Radon Transform - image analysis
 
[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisible[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisible
 
Deblurring of Digital Image PPT
Deblurring of Digital Image PPTDeblurring of Digital Image PPT
Deblurring of Digital Image PPT
 
Coulometric method of analysis
Coulometric method of analysisCoulometric method of analysis
Coulometric method of analysis
 
The monte carlo method
The monte carlo methodThe monte carlo method
The monte carlo method
 
Webinar: Moving to Office 365? What You Need to Know!
Webinar: Moving to Office 365? What You Need to Know!Webinar: Moving to Office 365? What You Need to Know!
Webinar: Moving to Office 365? What You Need to Know!
 
Graph Kernelpdf
Graph KernelpdfGraph Kernelpdf
Graph Kernelpdf
 
5 introduction to quantum mechanics
5 introduction to quantum mechanics5 introduction to quantum mechanics
5 introduction to quantum mechanics
 
Number plate recognition system using matlab.
Number plate recognition system using matlab.Number plate recognition system using matlab.
Number plate recognition system using matlab.
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to Wang-Landau Monte Carlo Simulation Explained

Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Fabian Pedregosa
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...ieijjournal
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...ieijjournal
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Ali Farooq
 
Spike sorting: What is it? Why do we need it? Where does it come from? How is...
Spike sorting: What is it? Why do we need it? Where does it come from? How is...Spike sorting: What is it? Why do we need it? Where does it come from? How is...
Spike sorting: What is it? Why do we need it? Where does it come from? How is...NeuroMat
 
Notions of equivalence for linear multivariable systems
Notions of equivalence for linear multivariable systemsNotions of equivalence for linear multivariable systems
Notions of equivalence for linear multivariable systemsStavros Vologiannidis
 
Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...
Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...
Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...Shu Tanaka
 
Markov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing themMarkov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing themPierre Jacob
 
MolecularDynamics.ppt
MolecularDynamics.pptMolecularDynamics.ppt
MolecularDynamics.pptssuserce6165
 
Lecture -Earthquake Engineering (2).pdf
Lecture -Earthquake Engineering (2).pdfLecture -Earthquake Engineering (2).pdf
Lecture -Earthquake Engineering (2).pdfRayRabara
 
chapter-2.ppt control system slide for students
chapter-2.ppt control system slide for studentschapter-2.ppt control system slide for students
chapter-2.ppt control system slide for studentslipsa91
 
Maneuvering target track prediction model
Maneuvering target track prediction modelManeuvering target track prediction model
Maneuvering target track prediction modelIJCI JOURNAL
 
Unbiased MCMC with couplings
Unbiased MCMC with couplingsUnbiased MCMC with couplings
Unbiased MCMC with couplingsPierre Jacob
 
EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...
EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...
EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...ijrap
 
2 classical field theories
2 classical field theories2 classical field theories
2 classical field theoriesSolo Hermelin
 

Similar to Wang-Landau Monte Carlo Simulation Explained (20)

Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1
 
Spike sorting: What is it? Why do we need it? Where does it come from? How is...
Spike sorting: What is it? Why do we need it? Where does it come from? How is...Spike sorting: What is it? Why do we need it? Where does it come from? How is...
Spike sorting: What is it? Why do we need it? Where does it come from? How is...
 
Notions of equivalence for linear multivariable systems
Notions of equivalence for linear multivariable systemsNotions of equivalence for linear multivariable systems
Notions of equivalence for linear multivariable systems
 
Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...
Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...
Quantum Annealing for Dirichlet Process Mixture Models with Applications to N...
 
Markov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing themMarkov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing them
 
MolecularDynamics.ppt
MolecularDynamics.pptMolecularDynamics.ppt
MolecularDynamics.ppt
 
2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...
2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...
2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...
 
Lecture 3 sapienza 2017
Lecture 3 sapienza 2017Lecture 3 sapienza 2017
Lecture 3 sapienza 2017
 
Lecture -Earthquake Engineering (2).pdf
Lecture -Earthquake Engineering (2).pdfLecture -Earthquake Engineering (2).pdf
Lecture -Earthquake Engineering (2).pdf
 
chapter-2.ppt control system slide for students
chapter-2.ppt control system slide for studentschapter-2.ppt control system slide for students
chapter-2.ppt control system slide for students
 
Maneuvering target track prediction model
Maneuvering target track prediction modelManeuvering target track prediction model
Maneuvering target track prediction model
 
Unbiased MCMC with couplings
Unbiased MCMC with couplingsUnbiased MCMC with couplings
Unbiased MCMC with couplings
 
Unit 3
Unit 3Unit 3
Unit 3
 
Unit 3
Unit 3Unit 3
Unit 3
 
EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...
EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...
EXACT SOLUTIONS OF SCHRÖDINGER EQUATION WITH SOLVABLE POTENTIALS FOR NON PT/P...
 
KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
 
2 classical field theories
2 classical field theories2 classical field theories
2 classical field theories
 

Recently uploaded

OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...NETWAYS
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSebastiano Panichella
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)Basil Achie
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...NETWAYS
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
LANDMARKS  AND MONUMENTS IN NIGERIA.pptxLANDMARKS  AND MONUMENTS IN NIGERIA.pptx
LANDMARKS AND MONUMENTS IN NIGERIA.pptxBasil Achie
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...NETWAYS
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...NETWAYS
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxFamilyWorshipCenterD
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝soniya singh
 
call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@vikas rana
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...NETWAYS
 

Recently uploaded (20)

OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
LANDMARKS  AND MONUMENTS IN NIGERIA.pptxLANDMARKS  AND MONUMENTS IN NIGERIA.pptx
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
 
call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
 

Wang-Landau Monte Carlo Simulation Explained

  • 2. PART 1 Classical Monte Carlo Methods
  • 3. Outline 1. Statistical thermodynamics, ensembles 2. Numerical evaluation of integrals, crude Monte Carlo (MC) 3. MC methods for statistical thermodynamics, Markov chains 4. Variants of MC methods
  • 5. Statistical thermodynamics microscopic description (positions, momenta, interactions) macroscopic description (pressure, density, temperature)
  • 6. Statistical thermodynamics microscopic description (positions, momenta, interactions) macroscopic description (pressure, density, temperature) Statistical Thermodynamics
  • 7. Statistical thermodynamics time averages  Molecular Dynamics methods       0 0 1 lim ( ( ), ( )) d t K K t B b b r t p t t
  • 8. Statistical thermodynamics ensemble averages  Monte Carlo methods           1 1 1 ( , ) ( , ; , , ) d , , ( , ; , , ) d K K K K n n K K n b r p r p A A B A A b r p A A
  • 9. Statistical thermodynamics Statistical (Gibbs) ensembles  microstate (m-state): positions and momenta  macrostate (m-state): macroscopic variables (A1, … )  1 m-state = many m-states  Gibbs ensemble  probability distribution in system’s phase space,  1( , ; , , )K K nr p A A
  • 10. Statistical thermodynamics Examples of statistical (Gibbs) ensembles  micro-canonical: N, V, E  canonical: N, V, T  grand-canonical: m, V, T  isobaric-isothermic: N, P, T  etc.
  • 11. Statistical thermodynamics         B ( , ; ) , ; , , exp N K K K K H r p V r p N V T k T Canonical Gibbs ensemble    2 1 ( , ; ) ( ; ) 2 N K N K K K K K p H r p V W r V M
  • 12. Statistical thermodynamics           1 1 1 ( , ) ( , ; , , ) d , , ( , ; , , ) d K K K K n n K K n b r p r p A A B A A b r p A A Statistical thermodynamics as a mathematical problem  3 3 3 3 1 13 1 d d d ...d d !h N NN r p r p N
  • 13. Statistical thermodynamics         con con 1 1 1 kin con 1 1 ( ) ( ; , , ) d d , , ( ; , , ) d d K K n N n K n N b r r A A r r B A A B r A A r r Statistical thermodynamics as a mathematical problem Canonical ensemble          con B ( ; ) ; , , exp N K K W r V r N V T k T
  • 14. Numerical evaluation of integrals           1 1 ( ) d ( ) ( ) b n n j j ja b a b a b a f x x f a j f x n n n 1D – rectangular, trapezoid, Simpsonian, …
  • 15. Numerical evaluation of integrals           1 1 ( ) d ( ) ( ) b n n j j ja b a b a b a f x x f a j f x n n n 1D – rectangular, trapezoid, Simpsonian, … 1D – crude Monte Carlo     1 ( ) d ( ) b n j ja b a f x x f x n xj randomly distributed over [a,b]
  • 16. Numerical evaluation of integrals  0 sin dx xExample
  • 17. Numerical evaluation of integrals Localized functions  ( ) ( )d b a f x x x
  • 18. Numerical evaluation of integrals Localized functions  ( ) ( )d b a f x x x Solution: Sampling from (x).
  • 19. Numerical evaluation of integrals Localized functions  ( ) ( )d b a f x x x Solution: Sampling from (x). How? Markov chains.
  • 20. Markov chains  (e) (e) 1 , , n Simplified example – finite number of microstates  microstates: s1, …, sn  probability distribution: 1 = (s1), …, n = (sn)  equilibrium PD:
  • 21. Markov chains Simplified example – finite number of microstates  Markov chain: s(1)  s(2)  …  s(N)  … s(K) is from {s1, …, sn}  transition probabilities: ik = ik (stochastic matrix) 1 0 1 1 ik n ik k      
  • 22. Markov chains      ( 1) ( ) 1 n N N k i ik j Simplified example – finite number of microstates  PD function evolution:     ( 1) ( )N N  equilibrium PD function:     (e) (e) 1 n k i ik j     (e) (e)
  • 23. Markov chains Simplified example – finite number of microstates Theorem: Let s(1), s(2), …, s(N), … be an infinite Markov chain of microstates generated using a stochastic matrix ik . Then the generated microstates are distributed over the state space of the system in congruence with the equilibrium PD function of the used stochastic matrix. Remarks: The Markov chain does not represent any physical time evolution. From the statistical thermodynamics point of view, only the equilibrium PD function is physically relevant. (Not, e. g., the stochastic matrix.)
  • 24. Markov chains Construction of an appropriate stochastic matrix (e) (e) 1 1 , 1 n n k j jk jk j k         Mathematically  2n linear algebraic equations for n2 variables  many (infinite number of) solutions
  • 25. Markov chains Construction of an appropriate stochastic matrix (e) (e) 1 1 , 1 n n k j jk jk j k         Mathematically  2n linear algebraic equations for n2 variables  many (infinite number of) solutions Detailed balance (e) (e) k kj j jk    
  • 26. Markov chains Decomposition of the stochastic matrix  ik ik ikp a pik … probability of proposing a particular transition aik … probability of accepting the proposed transition Metropolis solution [1]                        (e) (e) (e) (e (e) (e)) mi min 1, ,n 1 ki ikp p k ki k ki ki i ik ik ik ik k ik ii p p ap a p a a [1] N. Metropolis, A. Rosenbluth, M. Rosenbluth, A. Teller, E. Teller, J. Chem. Phys. 21 (1953) 1087.
  • 27. Markov chains Decomposition of the stochastic matrix  ik ik ikp a pik … probability of proposing a particular transition aik … probability of accepting the proposed transition Metropolis solution [1]                        (e) (e) (e) (e (e) (e)) mi min 1, ,n 1 ki ikp p k ki k ki ki i ik ik ik ik k ik ii p p ap a p a a [1] N. Metropolis, A. Rosenbluth, M. Rosenbluth, A. Teller, E. Teller, J. Chem. Phys. 21 (1953) 1087. Notice that the PD function need not be normalized!
  • 28. Metropolis algorithm … for evaluating configuration integrals of statistical thermodynamics (canonical ensemble)       B B ( ) con 1 kin ( ) 1 ( )e d d e d d K K W r k T K N W r k T N b r r r B B r r and, consequently,               ( ) ( )( ) ( )( ) B B B B ( ) (e) (e) (e) e e e e k ii i ki K W WW WW r k T k T k T k Tk i i
  • 29. Metropolis algorithm  from the configuration generated in the preceding step, r(i), generate a new one using an algorithm obeying that the probability for old  new is the same as for new  old (usually isotropic translation and/or rotation)  if W (new)<W (i) then r (i+1) = r (new)  if W (new)>W (i) then  r (i+1) = r (new) with probability  r (i+1) = r (i) with probability  repeat until “infinity” (convergence)   ( new) B/ e i W k T    ( new) B/ 1 e i W k T
  • 30. Metropolis algorithm Then        B B ( ) con 1 ( ) con( ) 1 1 ( )e d d 1 lim ( ) e d d K K W r k T n K N i KW r n ik T N b r r r b r n r r
  • 31. Metropolis algorithm Then        B B ( ) con 1 ( ) con( ) 1 1 ( )e d d 1 lim ( ) e d d K K W r k T n K N i KW r n ik T N b r r r b r n r r Canonical (or NVT or isochoric-isothermic) Monte Carlo
  • 32. A general sketch of an MC simulation  propose an initial configuration  employ the Metropolis algorithm to generate as many as possible further configurations  collect necessary data along the MC path to evaluate ensemble averages  calculate the averages as simple arithmetic means of the collected data
  • 34. Literature M. LEWERENZ, Monte Carlo Methods: Overview and Basics, in NIC Series Volume 10: Quantum Simulations of Complex Many-Body Systems: From Theory to Algorithms, NIC Juelich 2002 (http://www.fz-juelich.de/nic-series/volume10/volume10.html) M. P. ALLEN, P. J. TILDESLEY, Computer Simulation of Liquids, Oxford University Press, Oxford 1987. D. P. LANDAU, K. BINDER, A Guide to Monte Carlo Simulations in Statistical Physics, Cambridge University Press, Cambridge 2000 and 2005.
  • 35. Appendix Simulated annealing [1] and basin hopping [2] MC simulation at a high temperature equilibrium structure for T = 0 K T0K simulatedannealing gradientoptimization basinhopping[1] S. Kirckpatrick, C. D. Gellat, M. P. Vecchi, Science 220 (1983) 671; [2] D. J. Wales, H. A. Scheraga, Science 285 (1999) 1368.
  • 36. Example 2 Simulated annealing of small water clusters.
  • 38. Problem: low temperatures Simulation at low temperatures – combination of integration and optimization Molecular clusters, biomolecules: Complicated energy landscapes A lot of minims separated by large energy barriers
  • 39.         con con 1 1 1 kin con 1 1 ( ) ( ; , , ) d d , , ( ; , , ) d d K K n N n K n N b r r A A r r B A A B r A A r r IF , then mean value of B can be expressed as a 1D integral where is classical density of states How to calculate ? Wang-Landau algorithm  con( ) ( )K Kb r b W r Mean value of variable B             min min con con 1 1 kin con 1 ( ) ( ; , , ) ( )d , , ( ; , , ) ( )d nW n nW b W W A A W W B A A B W A A W W ( )W        1 1 1 1 , , ; ( , , ) , 0 1 , , 1 d d ( ) lim 1 d d N N N N r r W r r W W W W N r r r r W r r ( )W
  • 40. Calculation of Ω Wang-Landau algorithm – basic idea - Completaly random walk in configuration space => energy histogram h(W)~Ω(W), but low energy configurations will not be visited - Metropolis algorithm: configurations are sampled by ρ(Ei(r), => energy histogram h(W)~Ω(W) x ρ(W(r)) - If we use ρ(Wi(r)) = 1/(Ω(W)), then energy histogram will be constant function
  • 41. Wang-Landau algorithm – calculation of density of states - Start of simulation: Ω(W) is unknown, we start with constant Ω(W) = 1 and from random initial configuration r - Following configuration r2 created by small random change of foregoing configuration r1 is accepted with probability - Visiting of energy Wi: change of Ω(Wi) → Ω(Wi) x k0,where modification factor k0 >1. - e. g., k0 =2, big k → big statistical errors, small k → long simulation - After reaching of flat energy histogram h(W), modification factor is changed e.g. by rule , energy histogram is deleted (density of states isn‘t deleted!) and we start a new simulation - Computations is finished, when k reaches predeterminated value (e. g. 1,000 001)           min 1, 1, new new old newold old W r W WW r                 1j jk k 
  • 42. Wang-Landau algorithm – accuracy of results depends on: - Final value of modification factor kfinal - Softness of deals of energy - Criterion of flatness of histogram - Complexity of simulated system - Details of implemented algorithm
  • 43. Wangův-Landau algorithm: parallelization - MPI, each core has one own walker, all cores share actual density of states and actual energy histogram
  • 44. W-L algorithm-example: THE JOURNAL OF CHEMICAL PHYSICS 134, 024109 (2012)
  • 45. Thank you for your attention