Chapter I: Cayley modification for path-integral simulations
1.5 Results for T-RPMD
10 20 30 40 50 60 0.0 n
0.1 0.2 0.3 0.4 0.5
Critical timestep
(a) Weakly Anharmonic
10 20 30 40 50 60
0.00 n
0.05 0.10 0.15 0.20 0.25
Critical timestep
(b) Quartic Standard
Cayley
Figure 1.5: Comparing largest stable timestep as a function of the number of ring- polymer beads for the standard and Cayley-modified RPMD integration schemes on the (a) weakly anharmonic and (b) quartic potentials. The critical timestep for the numerical simulations is defined in the text. Also shown is the maximum safe timestep for the standard RPMD integration scheme (red dots). For classical MD integration using the Verlet algorithm, the critical timestep is 0.5 for the weakly anharmonic potential and 0.3 for the quartic potential. Results obtained at temperatureπ½=1.
shown is the maximum safe timestep for the standard RPMD integration scheme (Eq. 1.31). The improved stability of the Cayley-modified integration scheme is seen to consistently allow for the use of larger RPMD timesteps. The numerical behavior of the standard RPMD integration scheme closely tracks the predictions of the maximum safe timestep, although as seen previously, the resonance instabilities do not always manifest on the timescale of the simulated trajectories. Interestingly, for small π in the quartic-oscillator simulations, the standard RPMD integration scheme actually underperforms the prediction of the maximum safe timestep, given that it exhibits large energy fluctuations (> 10%) without fully encountering a res- onance instability. In summary, using the maximum safe timestep for the standard RPMD integration scheme as a reference, the figure indicates that in these systems, the Cayley modification allows for substantial improvements in the allowed timestep size (three-fold or more for largeπ).
whose πth diagonal entry is equal toππ (Eq. 1.17). In normal mode coordinates (cf. Eq. 1.25), this thermostat is implemented by adding the following at the begin- ning and end of the full integration step outlined in Eq. 1.24:
ππ(π‘+Ξπ‘) =πβ
ππΞπ‘
2 ππ(π‘) +
βοΈ
ππβ1π½β1
βοΈ
1βπβππΞπ‘ππ , whereππ is a standard normal variate.
Cayley removes non-ergodicity in T-RPMD
Given that it helps to avoid spurious resonances,29,30 one might expect that a Langevin thermostat can also eliminate the instabilities we have observed in standard RPMD integrators. This turns out to be only partly true. Here, we show that(i)lack of strong stability in the free RP step induces non-ergodicity in standard T-RPMD integrators, and(ii)the Cayley modification eliminates these non-ergodicity issues.
For this purpose, we revisit the simple case of a single free ring-polymer mode, as in Section 1.3. Consider Eq. (1.18) with a Langevin thermostat,
πΒ€
Β€ π£
=π² π
π£
+
0
βοΈ2π½β1πΎπΒ€
, π² = π¨+
0 0 0 βπΎ
, (1.33)
where πΎ β₯ 0 is a friction factor andπΒ€ (π‘) is a scalar white noise. The solution (π(π‘), π£(π‘)) of Eq. (1.33) is a bivariate Gaussian with mean vector and covariance matrix given respectively by
π(π‘) =exp(π‘π²) π(0)
π£(0)
,
πΊ(π‘) =2π½β1πΎ
β« π‘ 0
exp(π π²) 0 0
0 1
exp(π π²T)ππ .
(1.34)
In the limit as π‘ β β, the probability distribution of (π(π‘), π£(π‘)) converges to the classical Boltzmann-Gibbs measure, which in this case, is a bivariate normal distribution with mean vector and covariance matrix given respectively by
π = 0
0
, πΊ= π½β1
πβ2 0
0 1
. (1.35)
In this situation, the standard T-RPMD splitting in Eq. (1.1) inputs (π0, π£0) and outputs(π1, π£1)defined as
π1 π£1
=πΆ π¬πΆ π0
π£0
+
βοΈ
1βπβπΎΞπ‘ π½
πΆ π¬
0 1
π0+ 0
1
π0
(1.36) where π0, π0 are independent standard normal random variables, π¬ = exp(Ξπ‘π¨), andπΆis the 2Γ2 matrix
πΆ =exp Ξπ‘
2 πͺ
, πͺ=
0 0 0 βπΎ
.
Moreover, the numerical solution afterπintegration steps is a Gaussian vector with mean vector and covariance matrix given respectively by
ππ = (πΆ π¬πΆ)π π0
π£0
, πΊπ =
πβ1
βοΈ
π=0
(πΆ π¬πΆ)ππΈ(πΆ π¬TπΆ)π , (1.37) where
πΈ =π½β1(1βπβπΎΞπ‘)
πΆ π¬ 0 0
0 1
π¬TπΆ+ 0 0
0 1 .
From Eq. (1.20), if Ξπ‘ = π π/π for any π β₯ 1, then π¬ is not strongly stable. At these timesteps, the eigenvalues of the matrixπΆ π¬πΆ are given byπ+ = (β1)π and πβ = (β1)πexp(βπ π πΎ/π). By the Cayley-Hamilton theorem for 2Γ2 matrices,51 we have the following representation of theπth power ofπΆ π¬πΆ
(πΆ π¬πΆ)π = (π+)π π+βπβ
(πΆ π¬πΆβπβπ°) + (πβ)π
πββπ+
(πΆ π¬πΆβπ+π°) .
Since |π+| = 1, it follows from this representation that ππ does not converge to π in Eq. (1.35), since ππ clearly depends on the initial condition. Similarly, the covariance matrixπΊπ fails to converge toπΊ.
If we modify the above by replacing every instance of π¬ with πͺ = cay(Ξπ‘π¨), the modified splitting is ergodic. More precisely, provided that the timestep is sufficiently small such that
2 > (1+cosh(πΎΞπ‘))
4βΞπ‘2π2 4+Ξπ‘2π2
2
, (1.38)
then the eigenvalues ofπΆπͺπΆ are a complex conjugate pair with complex modulus
|πΒ±| = exp(βπΎΞπ‘/2). Hence, the matrix πΆπͺπΆ is asymptotically stable. Un- der condition 1.38, the Cayley-modified scheme converges to the exact classical Boltzmann-Gibbs measure, in this example.
These results carry over to T-RPMD, where the free ring-polymer equations of motion in Eq. (1.22) decouple into a system of π independent oscillators with natural frequencies given by the eigenvalues of the matrixπin Eq. 1.17. Although the analysis of T-RPMD in this section was performed for the specific case of the splitting in Eq. (1.1) (i.e., the Bussi-Parrinello or OBABO splitting), we have confirmed that the same problem of non-ergodicity arises in the BAOAB splitting52 and can likewise be fixed via the Cayley modification.
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 0
0 1
2
(a)
Equilibrium Standard Cayley1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 5
0.0 2.5 5.0 7.5
(b)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 1
0.0 0.5 1.0
(c)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 2
0.0 0.5 1.0
(d)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 3
0 1 2
(e)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 4
0 1 2
(f)
Figure 1.6: Ergodicity of T-RPMD recovered with the Cayley modification, Example 1. Normalized histograms of the ring-polymer normal mode displacement coordinates for a single trajectory (6 beads, π½ =1), evolved on the harmonic potential with a timestep of Ξπ‘ = 0.26. (a) The centroid mode, ππ = 0. (b) The predicted non-ergodic mode with π5 =12, (c-d), (e-f) pairs of modes withπ1 =π2 =6 andπ3 = π4 =10.4, respectively.
Solid black line indicate the equilibrium distribution of the internal modes.
T-RPMD numerical results
Figure 1.6 presents T-RPMD results on the harmonic potential (Eq. 1.28) using π =6 and π½=1. For a single T-RPMD trajectory, we histogram the distribution of the normal mode coordinates that are sampled, employing the smallest timestep for which numerical instability is observed in the microcanonical case for this number of beads (see Fig. 1.3b); specifically, we useΞπ‘ = 0.26, which corresponds to the instability condition in Eq. (1.23) for the case of π = 6, π = 5, and π = 1. Using both standard and Cayley-modified T-RPMD integration, the trajectory is sampled at every timestep for a total of 770 timesteps.
The centroid mode (panel a) follows harmonic motion, that is decoupled from the other degrees of freedom. With both integrators, the lower-frequency (π = 1β4) internal ring-polymer modes are efficiently sampled and converge to the correct Gaussian distribution (panels c-f). However, the π =5 mode behaves qualitatively differently, as predicted by Eq. (1.23), with the standard T-RPMD integrator showing clear non-ergodicity. The Cayley modification leads to ergodic sampling of all ring-
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 0
0 1
2
(a)
Equilibrium Standard Cayley1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 5
0 1 2
(b)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 1
0.0 0.5 1.0
(c)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 2
0.0 0.5 1.0
(d)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 3
0 2 4
(e)
1.5 1.0 0.5 0.0 0.5 1.0 1.5
Mode 4
0 5
(f)
Figure 1.7: Ergodicity of T-RPMD recovered with the Cayley modification, Example 2. Normalized histograms of the ring-polymer normal mode displacement coordinates for a single trajectory (6 beads, π½ =1), evolved on the harmonic potential with a timestep of Ξπ‘ =0.3. (a) The centroid mode,ππ =0. (b) Unique highest frequency mode withπ5=12, (c-d) Modes withπ1 =π2 =6 (e-f) The predicted non-ergodic modes, π3 = π4 = 10.4.
Solid black line indicate the equilibrium distribution of the internal modes.
polymer modes.
The lower frequency internal modes can also be afflicted with non-ergodicity at larger timesteps in this system. For the next-smallest unstable timestep in Fig. 1.3 (Ξπ‘ =0.3, which corresponds to the instability condition in Eq. (1.23) with π =3,4, andπ =1), the simulations were repeated. As predicted by the instability condition, modes 3 and 4 are found to be non-ergodic if sampled using the standard T-RPMD integrator (Fig. 1.7); again, ergodicity is recovered using the Cayley modification. The same non-ergodicity problems appear for anharmonic potentials using the standard T- RPMD integrator and can easily be avoided with use of the Cayley modification.