Professional Documents
Culture Documents
Monte Carlo
D. Frenkel and B. Smit, "Understanding Molecular Simulation", Academic
Press.
Fairly recent book. Very good background and theory on MD,
MC and Stat Mech. Applications are mainly on molecular
systems.
M.E.J. Newman and G.T. Barkema, “Monte Carlo Methods in Statistical
Physics”
PQ
exp( EHQ ) U ¦ PQ EQ
Q e
Q
V ¦
Q
PQVQ
e
Simple Sampling
Pick states Q randomly and weigh their property proportional to PQ
M exp( EHQ )
A! ¦ PQ AQ PQ M
Q 1
¦ exp(EHQ )
Q 1
Importance Sampling
Pick states with a frequency proportional to their probability PQ
M Probability
A! ¦
Q 1
AQ weighted sample
1
H ¦ J V iV j
2 i, j
Also used for other “two-state” systems: e.g. alloy ordering
…
0 1 2 3 1
2N 2N 2N
The probability that “0” is given for the random number is 1/2N
When rand = 0, any excitation occurs, since exp (-E'E) > 0, for
any 'E
1
H ¦ J V iV j P i ¦ V i
2 i, j i
Energy formulation
Entropy formulation
1 p P
dS dU ( dV) dN ...
T T T
1 1
A( ,V, N) S U
T T
1 p 1 p These are the form of the
K( , ,N) S U V Hamiltonians !
T T T T
1 P 1 P
L( ,V, ) S U N
T T T T
4/12/05 3.320 Atomistic Modeling of Materials G. Ceder and N Marzari
Lab problem: H adsorption phase diagram on Pd (100)
1
H ¦
2 i, j
W1 pi pj Ea ¦ pi
i
Correlation Time
t
1 A(t) A ! A(t W ) A !
Correlation function CA (W ) limt !f ³ 2 2 dt
t0 A !A!
2 A2 ! A ! 2
Quality of average gets V av (1 2W A )
diluted by correlation time m
4/12/05 3.320 Atomistic Modeling of Materials G. Ceder and N Marzari
Correlation time in Ising models
80 5L
10 L
20 L
30 L
60
XL 50 L
40
“Dynamics” in Monte Carlo is not real, hence you can pick any “perturbations” that
satisfy the criterion of detailed balance and a priori probabilities.
For Kawasaki dynamics Hamiltonian needs to reflect fact that number of A and B
atoms can change (but A+B number remains the same) -> add chemical potential
term in the Hamiltonian
1
H ¦
2 i, j
(V
AB
(p i
A B
p j p
B A
i p j ) V
AA
p i
A A
p j V
BB
p i
B B
p j ) ( P A P B ¦ i
)
i
p
A
z
Coordinates
φ
Figure by MIT OCW.
P(x) PT
1/2
x T
-1 1 T(x) ? 0 90 180
Homogeneous distribution of Distribute T as 1/2 sin(T)
random numbers
T = cos-1 (-x)
Possible algorithms ?
¦ exp(E (HQ HX )) o
AQ
Q 1
A! M
¦ exp(E(HQ HX o
))
Q 1