Random Montecarlo 2005
Random Montecarlo 2005
Q c dp N dr N exp[ H (r N , p N )]
function from statistical mechanics
N N N N N N
Random sampling - brute force Monte dp dr A( p , r ) exp[ H ( r , p )]
A
Carlo
dp N
dr N
exp[ H ( r N
, p N
)]
When estimate <f(x)> , most of the
b I (b a ) f ( x)
computing is wasted
I f ( x)dx
(b a ) L
a
f ( xi )
L i 1
Importance Sampling
Change the integration variable
1 1 f ( x) 1 f ( x (u ))
I f ( x)dx w( x) dx du
0 0 w( x) 0 w( x(u ))
1 N f ( x(ui ))
L i 1 w( x(ui ))
Standard deviation
1
I [ ( f / w) 2 f / w 2 ]
L
Impossible to find the weight function w in
multidimensional integrals
The Metropolis Method
Evaluation of observable properties A
N N N N N N
dp dr A( p , r ) exp[ H ( r , p )]
A
N N N N
dp dr exp[ H ( r , p )]
Probability of finding the system in a configuration around r
exp[ H (r N , p N )]
N (r )
N
N N N N
dp dr exp[ H ( r , p )]
If α is a symmetric matrix
acc(o n) (n)
exp{ [u (n) u (o)]}
acc(n o) (o)
If α is a symmetric matrix
potential r r
du
f (r ) 48 (( )12 0.5( ) 6 )
Intermolecular force dr r r
12 0
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
10 -100
8
Equation of -200
6 state of L-J Energy vs.
fluid Density
4 -300
2
-400
0
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 -500
Discretized Model
Space is discretized. Particles can only move on a
3D mesh (fine lattice).
Distance between particles is a set of fixed values.
move move