• Tidak ada hasil yang ditemukan

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 Cayley

1.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 Cayley

1.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.