Numerical Path Integrals: Austin Liu
Numerical Path Integrals: Austin Liu
Numerical Path Integrals: Austin Liu
Austin Liu
Bernardi Group
Department of Applied Physics and Materials Science
California Institute of Technology
[email protected]
Overview
2 Numerical Integration
Importance Sampling
Metropolis Algorithm
Numerical path integrals
Review of Quantum Mechanics
Propagators using Path Integrals
hxN , tN |x0 , t0 i
= hxN | e iH(tN t0 )/~ |x0 i
Z
= dx1 dx2 . . . dxN1 hxN |e iHt/~ |xN1 i hxN1 |e iHt/~ |xN2 i
1
A. Zee QFT in a nutshell
Numerical path integrals
Review of Quantum Mechanics
Propagators using Path Integrals
e ipx/~
The convention here is hx|pi =
2~
,
Numerical path integrals
Review of Quantum Mechanics
Propagators using Path Integrals
Z
iHt/~ ~i V (xj )t dp i p2 t+ ip(xj+1 xj )
hxj+1 |e |xj i = e e ~ 2m ~
2~
i r 2
e ~ V (xj )t 2m~ 2m~(xj+1 x j)
= e 4it~ 2
2~ it
x x 2
j+1 j
r i PN1
m ~ j=0 t t
V (xj )
= e
2~it
2 +bx b2 p
dx e ax = e 4a a . Hence:
R
Note
where
Z tN
S[x(t)] = dt L(x, x)
t0
1
L(x, x) = mx 2 V (x)
2
Numerical path integrals
Review of Quantum Mechanics
Propagators using Path Integrals
Imaginary time
Let t i :
2
x 1 x
LE x, = m V (x)
2
so:
Z xN
1
hxN , N |x0 , 0 i = D[x( )] exp S[x( )]
x0 ~
where
Z N
S[x( )] = d LE (x, x)
0
Numerical path integrals
Numerical Integration
Importance Sampling
Importance Sampling
hxN , tN |x0 , t0 i
2
m N/2 N1 YZ ~1 N1
P
m xj+1 xj
+V (xj )
j=0 2
= dxj e
2~
j=1
Implementation in 1-D
dx
where J(y (x)) = dy = 1/p(x) is the Jacobian of the
transformation. p(x) is interpreted as a probability density which
we are choosing points from.
1
G. P. Lepage VEGAS Documentation.
http://pythonhosted.org/vegas/background.html
Numerical path integrals
Numerical Integration
Importance Sampling
Implementation in 1-D
Implementation in 1-D
Since:
Z 1
1
I2 = 2 2
dy J (y )f (x(y )) I 2
= Var(f (x(y ))J(y ))
M 0
Z b
1 2 2
= dx J(y (x))f (x) I
M a
Implementation in 1-D
x(y = i/N) = xi
x0 = a
for i = 0, 1, . . . , N with Jacobian:
x1 = x0 + x0
.. dx xi
. J(y ) = Ji = = Nxi
dy 1/N
xN = xN1 + xN1 = b
for i/N < y < (i + 1)/N
Numerical path integrals
Numerical Integration
Importance Sampling
Implementation in 1-D
The variance of the estimate is:
Z b
2 1 2 2
I = J(y (x))f (x)dx I
M a
Z xi+1 !
1 X
= Ji f 2 (x)dx I 2
M xi i
so as
X Z xi+1 X Z xi+1
2
Ji f (x)dx = Nxi f 2 (x)dx I 2
i xi i xi
Implementation in 2-D
Example in 2-D
Sum of two Gaussians that are diagonally offset:
Numerical path integrals
Numerical Integration
Importance Sampling
Example in 2-D
Final grid:
Numerical path integrals
Numerical Integration
Importance Sampling
Stratified sampling
= e En (f i )
so we have (with T = f i , = 2 1 )
hxe H x|En i e En T
P
hx(2 )x(1 )i G ( ) = n P En T
ne
hE0 |xe (HE0 ) x|E0 i
| hE0 |x|E1 i |2 e (HE0 )
q
at large times, note that x = ~
2m (a + a)
Numerical path integrals
Numerical Integration
Metropolis Algorithm
Finally obtain
Algorithm
(i) (i)
First generate Ncf paths x (i) = {x0 , xN1 }. Beginning with an
arbitrary path, randomize xj at the j th site using the
Metropolis-Hastings algorithm as follows:
Generate random number in uniformly in the range (, ).
Compute S, the change in the action caused by replacing
xj xj + .
If S < 0, accept the move.
If S > 0, accept the move with probability e S
Numerical path integrals
Numerical Integration
Metropolis Algorithm
Algorithm
Future directions
X
G (x, t; 0, 0) = m (x)m (0)e iEm t
m
References
G. P. Lepage (2005)
Lattice QCD for Novices. arXiv:hep-lat/0506036
G. P. Lepage (1978)
A new algorithm for adaptive multidimensional integration
Journal of Computational Physics 27(2), 192 203
G. P. Lepage (2014)
vegas 3.0 Documentation http://pythonhosted.org/vegas/
R. Shankar (1994)
Principles of Quantum Mechanics
A. Zee (2003)
Quantum Field Theory in a Nutshell
The End