EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) =...

82
EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND MULTIPLE TIME STEPS Venkat Kapil Michele Ceriotti July 14, 2017

Transcript of EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) =...

Page 1: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

EFFICIENT MOLECULAR DYNAMICS:THERMOSTATS, BAROSTATS AND

MULTIPLE TIME STEPS

Venkat Kapil Michele Ceriotti

July 14, 2017

Page 2: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

OUTLINE

1 Why molecular dynamics ?

2 How to integrate equations of motion ?3 How to sample a NVT Ensemble ?4 How to sample a NPT Ensemble ?

2 venkat kapil MD

Page 3: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

OUTLINE

1 Why molecular dynamics ?2 How to integrate equations of motion ?

3 How to sample a NVT Ensemble ?4 How to sample a NPT Ensemble ?

2 venkat kapil MD

Page 4: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

OUTLINE

1 Why molecular dynamics ?2 How to integrate equations of motion ?3 How to sample a NVT Ensemble ?

4 How to sample a NPT Ensemble ?

2 venkat kapil MD

Page 5: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

OUTLINE

1 Why molecular dynamics ?2 How to integrate equations of motion ?3 How to sample a NVT Ensemble ?4 How to sample a NPT Ensemble ?

2 venkat kapil MD

Page 6: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHAT ARE WE CALCULATING ?

P(~p,~q) is the probability distribution at a given thermodynamiccondition.

〈A(~q)〉 =

∫d~q d~p A(~q) P(~p,~q)∫

d~q d~p P(~p,~q)

3 venkat kapil MD

Page 7: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHAT ARE WE CALCULATING ?

6N dimensional integral !

Figure : Integral by quadrature

3 venkat kapil MD

Page 8: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHAT ARE WE CALCULATING ?

6N dimensional integral !

Figure : Integral by importance sampling

3 venkat kapil MD

Page 9: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHAT ARE WE CALCULATING ?

〈A(~q)〉 =

∫d~q d~p A(~q) P(~p,~q)∫

d~q d~p P(~p,~q)= 〈A( ~q(t))〉t

t should be “long enough"!

3 venkat kapil MD

Boltzmann’s Ergodic Conjecture (1871)

Page 10: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHAT ARE WE CALCULATING ?

〈A(~q)〉 =

∫d~q d~p A(~q) P(~p,~q)∫

d~q d~p P(~p,~q)= 〈A( ~q(t))〉t

t should be “long enough"!

3 venkat kapil MD

Boltzmann’s Ergodic Conjecture (1871)

Page 11: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

IS MY SIMULATION TIME LONG ENOUGH ?

cAA(∆) = 〈A(t) ·A(∆ + t)〉t

Figure : Auto correlation function for the potential and kinetic energy

4 venkat kapil MD

Page 12: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

IS MY SIMULATION TIME LONG ENOUGH ?

cAA(∆) = 〈A(t) ·A(∆ + t)〉t

Figure : Auto correlation function for the potential and kinetic energy

4 venkat kapil MD

Page 13: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHY NOT MARKOV CHAIN MONTE CARLO ?

Probability of acceptance in MCMC :

a(q→ q′) = min(1, e−β[V(q′)−V(q)])

1 High acceptance vs “making things happen”.2 Curse of large system size.3 Generalized “smart moves”.

5 venkat kapil MD

Metropolis et al. JCP (1953)

Page 14: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHY NOT MARKOV CHAIN MONTE CARLO ?

Probability of acceptance in MCMC :

a(q→ q′) = min(1, e−β[V(q′)−V(q)])

1 High acceptance vs “making things happen”.

2 Curse of large system size.3 Generalized “smart moves”.

5 venkat kapil MD

Metropolis et al. JCP (1953)

Page 15: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHY NOT MARKOV CHAIN MONTE CARLO ?

Probability of acceptance in MCMC :

a(q→ q′) = min(1, e−β[V(q′)−V(q)])

1 High acceptance vs “making things happen”.2 Curse of large system size.

3 Generalized “smart moves”.

5 venkat kapil MD

Metropolis et al. JCP (1953)

Page 16: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WHY NOT MARKOV CHAIN MONTE CARLO ?

Probability of acceptance in MCMC :

a(q→ q′) = min(1, e−β[V(q′)−V(q)])

1 High acceptance vs “making things happen”.2 Curse of large system size.3 Generalized “smart moves”.

5 venkat kapil MD

Metropolis et al. JCP (1953)

Page 17: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS

H =3N∑i=0

pi2

2mi

+ V(q1, .., q3N); ~p = −∂V∂~q

& ~q =~p

~m

Figure : Dynamics conserves energy

6 venkat kapil MD

Rahman PR (1964)

Page 18: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

~x =d

dt~x

= [~q · ∂∂~q

+ ~p · ∂∂~p

] ~x

= [~p

~m· ∂∂~q− ∂V

∂~q· ∂∂~p

] ~x

= iLH ~x

~x = iLH ~x =⇒ ~x(t) = eiLHt ~x(0)

iLH =~p

~m· ∂∂~q− ∂V

∂~q· ∂∂~p

= iLq + iLp

7 venkat kapil MD

Page 19: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

Phase space vector :~x = (p1, ..,p3N, q1, .., q3N).

How to evolve ~p & ~q ?

~x(t) = eiLHt ~x(0)

The classical propagator!

~x(t) = eiLHt ~x(0)

= [eiLHtM ]M ~x(0)

= [eiLq∆t+iLp∆t]M ~x(0)

≈ [eiLp∆t/2 · eiLq∆t · eiLp∆t/2]M ~x(0)

eτ(A+B) = [e∆τ/2A · e∆τB · e∆τ/2A]M +O(∆τ−3) ∆τ = τ/M

8 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 20: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

Phase space vector :~x = (p1, ..,p3N, q1, .., q3N).

How to evolve ~p & ~q ?

~x(t) = eiLHt ~x(0)

The classical propagator!

~x(t) = eiLHt ~x(0)

= [eiLHtM ]M ~x(0)

= [eiLq∆t+iLp∆t]M ~x(0)

≈ [eiLp∆t/2 · eiLq∆t · eiLp∆t/2]M ~x(0)

eτ(A+B) = [e∆τ/2A · e∆τB · e∆τ/2A]M +O(∆τ−3) ∆τ = τ/M

8 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 21: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

Phase space vector :~x = (p1, ..,p3N, q1, .., q3N).

How to evolve ~p & ~q ?

~x(t) = eiLHt ~x(0)

The classical propagator!

~x(t) = eiLHt ~x(0)

= [eiLHtM ]M ~x(0)

= [eiLq∆t+iLp∆t]M ~x(0)

≈ [eiLp∆t/2 · eiLq∆t · eiLp∆t/2]M ~x(0)

eτ(A+B) = [e∆τ/2A · e∆τB · e∆τ/2A]M +O(∆τ−3) ∆τ = τ/M

8 venkat kapil MD

Tuckerman et al. JCP (1992), Trotter PAMS (1959)

Page 22: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

~x(∆t) = [eiLp∆t/2 · eiLq∆t · eiLp∆t/2] ~x(0) = ?

Given that:

eiLq∆t = e+ ~p~m∆t· ∂∂~q

eiLp∆t = e−∂V∂~q ∆t· ∂∂~p

ec∂∂x f(x, y) = f(x + c, y)

~p→ ~p− ∂V

∂~q ∆t/2

~q→ ~q + ~p~m∆t

~p→ ~p− ∂V∂~q ∆t/2

The Velocity Verlet algorithm!

9 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 23: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

~x(∆t) = [eiLp∆t/2 · eiLq∆t · eiLp∆t/2] ~x(0) = ?

Given that:

eiLq∆t = e+ ~p~m∆t· ∂∂~q

eiLp∆t = e−∂V∂~q ∆t· ∂∂~p

ec∂∂x f(x, y) = f(x + c, y)

~p→ ~p− ∂V

∂~q ∆t/2

~q→ ~q + ~p~m∆t

~p→ ~p− ∂V∂~q ∆t/2

The Velocity Verlet algorithm!

9 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 24: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

~x(∆t) = [eiLp∆t/2 · eiLq∆t · eiLp∆t/2] ~x(0) = ?

Given that:

eiLq∆t = e+ ~p~m∆t· ∂∂~q

eiLp∆t = e−∂V∂~q ∆t· ∂∂~p

ec∂∂x f(x, y) = f(x + c, y)

~p→ ~p− ∂V

∂~q ∆t/2

~q→ ~q + ~p~m∆t

~p→ ~p− ∂V∂~q ∆t/2

The Velocity Verlet algorithm!

9 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 25: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

~x(∆t) = [eiLp∆t/2 · eiLq∆t · eiLp∆t/2] ~x(0) = ?

Given that:

eiLq∆t = e+ ~p~m∆t· ∂∂~q

eiLp∆t = e−∂V∂~q ∆t· ∂∂~p

ec∂∂x f(x, y) = f(x + c, y)

~p→ ~p− ∂V

∂~q ∆t/2

~q→ ~q + ~p~m∆t

~p→ ~p− ∂V∂~q ∆t/2

The Velocity Verlet algorithm!

9 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 26: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

~x(∆t) = [eiLp∆t/2 · eiLq∆t · eiLp∆t/2] ~x(0) = ?

Given that:

eiLq∆t = e+ ~p~m∆t· ∂∂~q

eiLp∆t = e−∂V∂~q ∆t· ∂∂~p

ec∂∂x f(x, y) = f(x + c, y)

~p→ ~p− ∂V

∂~q ∆t/2

~q→ ~q + ~p~m∆t

~p→ ~p− ∂V∂~q ∆t/2

The Velocity Verlet algorithm!

9 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 27: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION?

~x(∆t) = [eiLp∆t/2 · eiLq∆t · eiLp∆t/2] ~x(0) = ?

Given that:

eiLq∆t = e+ ~p~m∆t· ∂∂~q

eiLp∆t = e−∂V∂~q ∆t· ∂∂~p

ec∂∂x f(x, y) = f(x + c, y)

~p→ ~p− ∂V

∂~q ∆t/2

~q→ ~q + ~p~m∆t

~p→ ~p− ∂V∂~q ∆t/2

The Velocity Verlet algorithm!

9 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 28: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO CHOOSE THE TIME STEP?

Figure : Presence of multiple time scales in a system

10 venkat kapil MD

Page 29: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE WITH MULTIPLE TIME STEPS

Figure : Separation of time scales

H =3N∑i=0

pi2

2mi

+ Vlr(q1, .., q3N) + Vsr(q1, .., q3N)

iLH =~p

~m· ∂∂~q− ∂Vlr

∂~q· ∂∂~p− ∂Vsr

∂~q· ∂∂~p

= iLq + iLlrp + iLsr

p

11 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 30: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE WITH MULTIPLE TIME STEPS

Figure : Separation of time scales

H =3N∑i=0

pi2

2mi

+ Vlr(q1, .., q3N) + Vsr(q1, .., q3N)

iLH =~p

~m· ∂∂~q− ∂Vlr

∂~q· ∂∂~p− ∂Vsr

∂~q· ∂∂~p

= iLq + iLlrp + iLsr

p

11 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 31: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE WITH MULTIPLE TIME STEPS

Figure : Separation of time scales

~x(∆t) = eiLH∆t ~x(0)

= ei[iLq+iLsrp +iLlr

p ]∆t ~x(0)

≈ eiLlrp ∆t/2[eiL

srp ∆t+iLq∆t]eiL

lrp ∆t/2 ~x(0)

11 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 32: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE WITH MULTIPLE TIME STEPS

Figure : Separation of time scales

p→ p− ∂Vlr

∂~q∆t2

Velocity Verlet for M steps with “short range” forces with ∆t/M.p→ p− ∂Vlr

∂~q∆t2

12 venkat kapil MD

Tuckerman et al. JCP (1992)

Page 33: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MTS: THE REALITY

Figure : Range separation is trivial

[http://www.omnia.md/blog/2014/11/6/how-to-train-your-force-field]

13 venkat kapil MD

Page 34: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MTS: THE REALITY

What about the ab inito framework ?

[−−}2

2m∇2 + V(r)] ψ(r) = E ψ(r)

13 venkat kapil MD

Page 35: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MTS: THE REALITY

Figure : Separation of time scales

H =3N∑i=0

pi2

2mi

+ Vsr(q1, .., q3N) + (V(q1, .., q3N)−Vsr(q1, .., q3N))

13 venkat kapil MD

Kapil et al. JCP (2016), Marsalek et al. JCP (2016), John et al. PRE (2016)

Page 36: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MTS: THE REALITY

Figure : How to choose the “cheap potential”?

13 venkat kapil MD

Kapil et al. JCP (2016), Marsalek et al. JCP (2016), John et al. PRE (2016)

Page 37: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION: WRAPPINGUP

1 Velocity Verlet comes from the classical propagator.

2 Error decreases systematically as (∆t)−2.3 Further decomposition leads to a MTS integrator.4 Time-reversible and symplectic.

14 venkat kapil MD

Page 38: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION: WRAPPINGUP

1 Velocity Verlet comes from the classical propagator.2 Error decreases systematically as (∆t)−2.

3 Further decomposition leads to a MTS integrator.4 Time-reversible and symplectic.

14 venkat kapil MD

Page 39: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION: WRAPPINGUP

1 Velocity Verlet comes from the classical propagator.2 Error decreases systematically as (∆t)−2.3 Further decomposition leads to a MTS integrator.

4 Time-reversible and symplectic.

14 venkat kapil MD

Page 40: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

HOW TO INTEGRATE EQUATIONS OF MOTION: WRAPPINGUP

1 Velocity Verlet comes from the classical propagator.2 Error decreases systematically as (∆t)−2.3 Further decomposition leads to a MTS integrator.4 Time-reversible and symplectic.

14 venkat kapil MD

Page 41: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

How to sample a NVT ensemble for system given by the Hamiltonian ?

H(~p,~q) =3N∑i=0

pi2

2mi

+ V(q1, .., q3N)

15 venkat kapil MD

Page 42: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

Generate (~p,~q) such that:

P(~p,~q) =e−βH(~p,~q)∫

d~pd~qe−βH(~p,~q)

Do Hamilton’s equations of motion conserve P(~p,~q) ?

iLH P(~p,~q) = 0

15 venkat kapil MD

Page 43: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

Generate (~p,~q) such that:

P(~p,~q) =e−βH(~p,~q)∫

d~pd~qe−βH(~p,~q)

Do Hamilton’s equations of motion conserve P(~p,~q) ?

iLH P(~p,~q) = 0

15 venkat kapil MD

Page 44: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

Figure : A problem of ergodicity

15 venkat kapil MD

Page 45: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

Figure : Andersen’s thermostat

15 venkat kapil MD

Andersen JCP (1980)

Page 46: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

Figure : Andersen’s thermostat

15 venkat kapil MD

Andersen JCP (1980)

Page 47: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

Figure : Andersen’s thermostat

15 venkat kapil MD

Andersen JCP (1980)

Page 48: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT TEMPERATURE

Figure : Andersen’s thermostat

15 venkat kapil MD

Andersen JCP (1980)

Page 49: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

DETERMINISTIC THERMOSTATS

Nose- Hoover thermostat:

~q =~p

~m; ~p = −∂V

∂~q− ~pps

Q; ps = ~p · ~p

~m; s =

ps

Q

1 Not ergodic. Must use chains.2 Not rotationally invariant.3 Integrating equations of motion is not pretty.

16 venkat kapil MD

Nosé JCP (1984), Hoover PRA (1985)

Page 50: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

DETERMINISTIC THERMOSTATS

Nose- Hoover thermostat:

~q =~p

~m; ~p = −∂V

∂~q− ~pps

Q; ps = ~p · ~p

~m; s =

ps

Q

1 Not ergodic. Must use chains.

2 Not rotationally invariant.3 Integrating equations of motion is not pretty.

16 venkat kapil MD

Nosé JCP (1984), Hoover PRA (1985)

Page 51: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

DETERMINISTIC THERMOSTATS

Nose- Hoover thermostat:

~q =~p

~m; ~p = −∂V

∂~q− ~pps

Q; ps = ~p · ~p

~m; s =

ps

Q

1 Not ergodic. Must use chains.2 Not rotationally invariant.

3 Integrating equations of motion is not pretty.

16 venkat kapil MD

Nosé JCP (1984), Hoover PRA (1985)

Page 52: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

DETERMINISTIC THERMOSTATS

Nose- Hoover thermostat:

~q =~p

~m; ~p = −∂V

∂~q− ~pps

Q; ps = ~p · ~p

~m; s =

ps

Q

1 Not ergodic. Must use chains.2 Not rotationally invariant.3 Integrating equations of motion is not pretty.

16 venkat kapil MD

Nosé JCP (1984), Hoover PRA (1985)

Page 53: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

STOCHASTIC THERMOSTATS

Figure : A white noise Langevin thermostat

Langevin thermostat:

~q =~p

~m; ~p = −∂V

∂~q− γ~p + ~m1/2

√2γβ−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = δ(t)

1 Ergodic2 Linear equations3 Integration very stable and easy.

iL = iLγ + iLH; iLγ P(~p,~q) = 0

eiL∆t ≈ eiLγ∆t/2 eiLH∆t eiLγ∆t/2

H = ∆H + ∆K

∆H = Change in total energy during the Hamiltonian step

∆K = Change in kinetic energy during the thermostat step

17 venkat kapil MD

Schneider et al. PRB (1978), Bussi et al. JCP (1992)

Page 54: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

STOCHASTIC THERMOSTATS

Langevin thermostat:

~q =~p

~m; ~p = −∂V

∂~q− γ~p + ~m1/2

√2γβ−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = δ(t)

1 Ergodic

2 Linear equations3 Integration very stable and easy.

iL = iLγ + iLH; iLγ P(~p,~q) = 0

eiL∆t ≈ eiLγ∆t/2 eiLH∆t eiLγ∆t/2

H = ∆H + ∆K

∆H = Change in total energy during the Hamiltonian step

∆K = Change in kinetic energy during the thermostat step

17 venkat kapil MD

Schneider et al. PRB (1978), Bussi et al. JCP (1992)

Page 55: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

STOCHASTIC THERMOSTATS

Langevin thermostat:

~q =~p

~m; ~p = −∂V

∂~q− γ~p + ~m1/2

√2γβ−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = δ(t)

1 Ergodic2 Linear equations

3 Integration very stable and easy.

iL = iLγ + iLH; iLγ P(~p,~q) = 0

eiL∆t ≈ eiLγ∆t/2 eiLH∆t eiLγ∆t/2

H = ∆H + ∆K

∆H = Change in total energy during the Hamiltonian step

∆K = Change in kinetic energy during the thermostat step

17 venkat kapil MD

Schneider et al. PRB (1978), Bussi et al. JCP (1992)

Page 56: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

STOCHASTIC THERMOSTATS

Langevin thermostat:

~q =~p

~m; ~p = −∂V

∂~q− γ~p + ~m1/2

√2γβ−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = δ(t)

1 Ergodic2 Linear equations3 Integration very stable and easy.

iL = iLγ + iLH; iLγ P(~p,~q) = 0

eiL∆t ≈ eiLγ∆t/2 eiLH∆t eiLγ∆t/2

H = ∆H + ∆K

∆H = Change in total energy during the Hamiltonian step

∆K = Change in kinetic energy during the thermostat step

17 venkat kapil MD

Schneider et al. PRB (1978), Bussi et al. JCP (1992)

Page 57: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

STOCHASTIC THERMOSTATS

Langevin thermostat:

~q =~p

~m; ~p = −∂V

∂~q− γ~p + ~m1/2

√2γβ−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = δ(t)

1 Ergodic2 Linear equations3 Integration very stable and easy.

iL = iLγ + iLH; iLγ P(~p,~q) = 0

eiL∆t ≈ eiLγ∆t/2 eiLH∆t eiLγ∆t/2

H = ∆H + ∆K

∆H = Change in total energy during the Hamiltonian step

∆K = Change in kinetic energy during the thermostat step

17 venkat kapil MD

Schneider et al. PRB (1978), Bussi et al. JCP (1992)

Page 58: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

STOCHASTIC THERMOSTATS

Langevin thermostat:

~q =~p

~m; ~p = −∂V

∂~q− γ~p + ~m1/2

√2γβ−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = δ(t)

1 Ergodic2 Linear equations3 Integration very stable and easy.

iL = iLγ + iLH; iLγ P(~p,~q) = 0

eiL∆t ≈ eiLγ∆t/2 eiLH∆t eiLγ∆t/2

H = ∆H + ∆K

∆H = Change in total energy during the Hamiltonian step

∆K = Change in kinetic energy during the thermostat step

17 venkat kapil MD

Schneider et al. PRB (1978), Bussi et al. JCP (1992)

Page 59: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

STOCHASTIC THERMOSTATS

Langevin thermostat:

~q =~p

~m; ~p = −∂V

∂~q− γ~p + ~m1/2

√2γβ−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = δ(t)

1 Ergodic2 Linear equations3 Integration very stable and easy.

iL = iLγ + iLH; iLγ P(~p,~q) = 0

eiL∆t ≈ eiLγ∆t/2 eiLH∆t eiLγ∆t/2

H = ∆H + ∆K

∆H = Change in total energy during the Hamiltonian step

∆K = Change in kinetic energy during the thermostat step

17 venkat kapil MD

Schneider et al. PRB (1978), Bussi et al. JCP (1992)

Page 60: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

SAMPLING EFFICIENCY

Can we measure how efficient a Langevin thermostat is ?

Figure : Under damped, optimally damped and over damed regimes

18 venkat kapil MD

Page 61: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

SAMPLING EFFICIENCY

Can we measure how efficient a Langevin thermostat is ?

0

0.2

0.4

0.6

0.8

1

0 5 10 15 20 0 5 10 15 20 0 5 10 15 20

Figure : Under damped, optimally damped and over damed regimes

18 venkat kapil MD

Page 62: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

~q =~p

~m

~p = −∂V∂~q−∫

ds K(s) ~p(t− s) + ~m1/2√2β−1~ξ; 〈~ξ(t) · ~ξ(0)〉 = H(t)

Figure : A generalized Langevin equation (GLE)thermostat

19 venkat kapil MD

Zwanzig, Nonequilibrium statistical mechanics (2001)

Page 63: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

q =p(p

s

)=

(−V′(q)

0

)−(app aTpap A

)(p

s

)+

(bpp bTpbp B

)(ξ

)

K(t) and H(t) can be expressed in terms of the drift and thediffusion matrix.

19 venkat kapil MD

Zwanzig, Nonequilibrium statistical mechanics (2001)

Page 64: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

Sampling efficiency over a wide frequency range?

Figure : Optimizing a merit function of sampling efficiency

20 venkat kapil MD

Ceriotti et al. JCTC (2010)

Page 65: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

Sampling efficiency over a wide frequency range?

Figure : Optimizing a merit function of sampling efficiency

20 venkat kapil MD

Ceriotti et al. JCTC (2010)

Page 66: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

Sampling efficiency over a wide frequency range?

Figure : Optimizing a merit function of sampling efficiency

20 venkat kapil MD

Ceriotti et al. JCTC (2010)

Page 67: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

Sampling efficiency over a wide frequency range?

Figure : Optimizing a merit function of sampling efficiency

20 venkat kapil MD

Ceriotti et al. JCTC (2010)

Page 68: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

Exciting a narrow range of frequencies?

21 venkat kapil MD

Dettori et al. JCTC (2017)

Page 69: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

A GENERALIZED LANGEVIN EQUATION

Exciting a narrow range of frequencies?

21 venkat kapil MD

Dettori et al. JCTC (2017)

Page 70: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WRAPPING UP

1 System + bath gives canonical sampling.

2 Stochastic modelling of a bath.3 Propagation, ergodicity and conserved quantity X.4 GLE gives both optimal and selective sampling.

22 venkat kapil MD

Page 71: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WRAPPING UP

1 System + bath gives canonical sampling.2 Stochastic modelling of a bath.

3 Propagation, ergodicity and conserved quantity X.4 GLE gives both optimal and selective sampling.

22 venkat kapil MD

Page 72: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WRAPPING UP

1 System + bath gives canonical sampling.2 Stochastic modelling of a bath.3 Propagation, ergodicity and conserved quantity X.

4 GLE gives both optimal and selective sampling.

22 venkat kapil MD

Page 73: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WRAPPING UP

1 System + bath gives canonical sampling.2 Stochastic modelling of a bath.3 Propagation, ergodicity and conserved quantity X.4 GLE gives both optimal and selective sampling.

22 venkat kapil MD

Page 74: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

WRAPPING UP

1 System + bath gives canonical sampling.2 Stochastic modelling of a bath.3 Propagation, ergodicity and conserved quantity X.4 GLE gives both optimal and selective sampling.

22 venkat kapil MD

Page 75: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT PRESSURE

Figure : Sampling at constant volume

23 venkat kapil MD

Andersen JCP (1980), Parinello et al. JAP (1981), Martyna JCP (1994), Bussi JCP (2009)

Page 76: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT PRESSURE

Figure : Sampling at constant pressure

23 venkat kapil MD

Andersen JCP (1980), Parinello et al. JAP (1981), Martyna JCP (1994), Bussi JCP (2009)

Page 77: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT PRESSURE

~q =~p

~m+ α~q

~p = −∂V∂~q− α~p

V = 3Vαα = 3[V (Pint − Pext) + 2β−1]µ−1

23 venkat kapil MD

Andersen JCP (1980), Parinello et al. JAP (1981), Martyna JCP (1994), Bussi JCP (2009)

Page 78: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

MOLECULAR DYNAMICS : AT CONSTANT PRESSURE

iL = iLγ + iLH; iLγ PNPT(~p,~q) = 0; iLH PNPT(~p,~q) = 0

23 venkat kapil MD

Andersen JCP (1980), Parinello et al. JAP (1981), Martyna JCP (1994), Bussi JCP (2009)

Page 79: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

TAKE HOME

1 Molecular Dynamics vs Monte Carlo.

2 Louiville formulation gives robust integrators.3 Canonical sampling can be achieved by stochastic modelling.4 Density fluctuations, changes in cell, isotherms, stress-strain

curves can be computed by sampling the NPT ensemble.

24 venkat kapil MD

Page 80: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

TAKE HOME

1 Molecular Dynamics vs Monte Carlo.2 Louiville formulation gives robust integrators.

3 Canonical sampling can be achieved by stochastic modelling.4 Density fluctuations, changes in cell, isotherms, stress-strain

curves can be computed by sampling the NPT ensemble.

24 venkat kapil MD

Page 81: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

TAKE HOME

1 Molecular Dynamics vs Monte Carlo.2 Louiville formulation gives robust integrators.3 Canonical sampling can be achieved by stochastic modelling.

4 Density fluctuations, changes in cell, isotherms, stress-straincurves can be computed by sampling the NPT ensemble.

24 venkat kapil MD

Page 82: EFFICIENT MOLECULAR DYNAMICS: THERMOSTATS, BAROSTATS AND ...2017_uzh_cp2... · a(q →q 0) = min(1,e −β[V (q 0)−V (q )]) 1 High acceptance vs “making things happen”. 2 Curse

TAKE HOME

1 Molecular Dynamics vs Monte Carlo.2 Louiville formulation gives robust integrators.3 Canonical sampling can be achieved by stochastic modelling.4 Density fluctuations, changes in cell, isotherms, stress-strain

curves can be computed by sampling the NPT ensemble.

24 venkat kapil MD