Introduction

DL_POLY Quantum is a general purpose package for performing path integral-based dynamics simultions of condensed-phase systems.

1. PIMD

The PIMD [1] Hamiltonian for n-beads replica with N atoms system is defined as

\[H_n(\mathbf{q},\mathbf{p}) = \sum_{i=1}^N\sum_{\alpha=1}^{n} \left[ \frac{p_{i,\alpha}^2}{2m_i^{'}} + \frac{1}{2}m_i\omega_n^2 \left( q_{i,\alpha}-q_{i,\alpha-1} \right)^2\right] + \frac{1}{n}\sum_{\alpha=1}^{n}V(q_{1,\alpha},\dots,q_{N,\alpha}),\]

where \(q_{i,\alpha}\) and \(p_{i,\alpha}\) are the position and momentum of the \(\alpha\)-th bead of the i-th particle, \(m_i^{'}\) is the fictitious Parrinello-Rahman mass, and \(\omega_n= \frac{\sqrt{n}}{\beta\hbar}\).

The equations of motion (EOMs) derived from the PIMD Hamiltonian are:

\[\begin{split}\dot{p}_{i,\alpha} &= -m_i \omega_n^2 (2q_{i,\alpha} - q_{i,\alpha-1} - q_{i,\alpha+1}) - \frac{1}{n} \nabla_{q_{i,\alpha}}V( \mathbf{q} ) \\ \dot{q}_{i,\alpha} &= \frac{p_{i,\alpha}}{m_i^{'}}.\end{split}\]

Note

To ensure that the configurations sampled during the trajectories are part of the correct Boltzmann distribution, PIMD simulations are performed in the canonical ensemble by coupling the dynamics to a thermostat.

Warning

Straightforward implementation of the PIMD Hamiltonian and its EOMs in Cartesian coordinates is complicated by the harmonic coupling between neighboring beads. Most implementations of the method transform the Hamiltonian into a different coordinate system which diagonalizes the couplings, like staging variables or normal mode coordinate.

PIMD Hamiltonian in normal modes is

\[H_{\mathrm{NM}} = \sum_{i=1}^N\sum_{k=0}^{n-1}\left[ \frac{\tilde{p}_{i,k}^2}{2m_{i}^{'}} + \frac{1}{2}m_{i} \omega_k^2 \tilde{q}_{i,k}^2\right] + \frac{1}{n}\sum_{\alpha=1}^{n}V(q_{1,\alpha}(\mathbf{\tilde{q}}),\dots,q_{N,\alpha}(\mathbf{\tilde{q}}))\]

where \(\omega_k = 2\omega_n\sin(k\pi/n)\) are normal mode frequencies and \(\tilde{q}_{i,k}\) and \(\tilde{p}i_{i,k}\) are the normal mode positions and momenta for the k-th normal mode of the i-th atom.

Important

The transformation matrix for ring polymer normal modes are:

\[\begin{split}C_{\alpha k} = \begin{cases} \sqrt{1/n} & k = 0\\ \sqrt{2/n}\cos(2\pi \alpha k/n) & 1 \leq k \leq n/2 - 1\\ \sqrt{1/n}(-1)^\alpha & k = n/2 \\ \sqrt{2/n}\sin(2\pi \alpha k/n) & n/2 + 1 \leq k \leq n-1 \end{cases}\end{split}\]

The Velocity-Verlet algorithm steps for ring polymer normal mode:

  • The normal mode momenta at first half a time step:

\[\tilde{p}_{i,k} \leftarrow \tilde{p}_{i,k} - \frac{\Delta t}{2}\frac{\partial V}{\partial \tilde{q}_{i,k}}\]
  • The free ring polymer evolution of the normal mode positions and momenta:

\[\begin{split}&\begin{pmatrix} \tilde{p}_{i,k} \\ \tilde{q}_{i,k} \end{pmatrix} \leftarrow &\begin{pmatrix} \cos(\omega_k\Delta t) & -{m_i}\omega_k\sin(\omega_k\Delta t) \\ (m_i\omega_k)^{-1}\sin(\omega_k\Delta t) & \cos(\omega_k\Delta t) \end{pmatrix} \begin{pmatrix} \tilde{p}_{i,k} \\ \tilde{q}_{i,k} \end{pmatrix}.\end{split}\]
  • The normal mode momenta at second half a time step:

\[\tilde{p}_{i,k} \leftarrow \tilde{p}_{i,k} - \frac{\Delta t}{2}\frac{\partial V}{\partial \tilde{q}_{i,k}}\]

Note

In between free ring polymer and second half time step mementa calculation , the forces from the external potential are calculated based on the Cartesian positions and then converted into the normal mode basis, to reduce the overall number of transformations needed to be performed.

\[\frac{\partial V}{\partial \tilde{q}_{i,k}} = \sum_{\alpha=1}^n C_{\alpha k}\frac{\partial V}{\partial q_{i,\alpha}}.\]

2. RPMD

The RPMD [2] Hamiltonian is

\[H_n(\mathbf{q},\mathbf{p}) = \sum_{i=1}^N\sum_{\alpha=1}^{n}\left[ \frac{p_{i,\alpha}^2}{2m^{(i)}_{n}} + \frac{1}{2}m^{(i)}_{n}\omega_n^2 \left( q_{i,\alpha}-q_{i,\alpha-1} \right)^2\right] + \frac{1}{n}\sum_{\alpha=1}^{n}V(q_{1,\alpha},\dots,q_{N,\alpha}),\]

with \(m_n^{(i)}=\frac{m_i}{n}\) and \(\omega_n= \frac{n}{\beta\hbar}\).

Note

The fictitious mass in the kinetic energy term must be equal to the physical mass, with the additional factor of \(\frac{1}{n}\) multiplying the physical mass coming from sampling the initial momenta at the physical temperature, \(\beta\), instead of a higher temperature, \(\beta_n= \frac{\beta}{n}\), as is often done in RPMD simulations.

3. T-RPMD

Thermostatted RPMD (T-RPMD) [3] was introduced as a method to calculate vibrational spectra using RPMD while avoiding the resonance problem. This approach incorporates thermostats into the dynamics, effectively mitigating spurious peaks that arise in standard RPMD simulations.

T-RPMD Hamiltonian is the same as that for standard RPMD

Note

In T-RPMD, the internal modes of the ring polymer are thermostatted using the PILE thermostat. The centroid, however, is allowed to evolve freely without the influence of a thermostat. This separation ensures that the internal modes are regulated while preserving the dynamics of the centroid, which is essential for capturing vibrational features.

4. PA-CMD

The PA-CMD [4] effective Hamiltonian in terms of the free ring polymer normal modes is:

\[ H_{\mathrm{PA-CMD}}=\sum_{i=1}^{N}\sum_{k=0}^{n-1} \left[ \frac{\tilde{p}_{i,k}^2}{2\sigma_k^2m_n^{(i)}} + \frac{1}{2}m_n^{(i)}\omega_k^2\tilde{q}_{i,k}^2\right]\]

where, \(\sigma_k\) is a scaling factor defined as

\[\begin{split}\sigma_k =\begin{cases} 1, \quad k=0 \\ \omega_k/\Omega, \quad k\neq0 \end{cases}\end{split}\]

Note

The choice of \(\Omega\), related to the adiabaticity parameter of the original PA-CMD, determines how adiabatically separated the centroid is from the other internal modes. One such choice is

\[\Omega = \frac{n^{n/(n-1)}}{\beta\hbar}\]

5. f-QCMD

f-QCMD [5], inspired by the fast implementation of CMD, uses PIMD simulations as a reference to construct a corrective potential that mimics the effective mean-field potential from adiabatic-QCMD [6]. This effective potential has the form:

\[V_{\mathrm{qc}}(\mathbf{r}) = V_{\mathrm{cl}}(\mathbf{r}) + \Delta V_{\mathrm{intra}}(\mathbf{r}) + \Delta V_{\mathrm{inter}}(\mathbf{r}),\]

where \(V_{\mathrm{cl}}(\mathbf{r})\) is the base, classical potential, and \(\Delta V_{\mathrm{intra}}(\mathbf{r})\) and \(\Delta V_{\mathrm{inter}}(\mathbf{r})\) are the correction terms for intra- and inter-molecular interactions, respectively. The correction potentials are determined using the iterative Boltzmann inversion (IBI) method [7] with a set of distribution functions of two types: (1) intra-molecular bond and angle distribution functions and (2) inter-molecular radial distribution functions (RDFs).

IBI Process

The IBI process involves a series of steps to generate the corrective potentials:

  1. PIMD Reference Simulations: Distributions are obtained from PIMD simulations to serve as a reference for the effective potential.

  2. Iteration Zero: At iteration zero, \(\Delta V_{\mathrm{intra}}^{(0)}(\mathbf{r})\) and \(\Delta V_{\mathrm{inter}}^{(0)}(\mathbf{r})\) are set to zero, equivalent to classical dynamics under the base potential \(V_{\mathrm{cl}}(\mathbf{r})\).

  3. Subsequent Iterations: For each iteration \(i\), the distribution functions (\(\rho_{R}^{(i)}(r)\), \(\rho_{\Theta}^{(i)}(\theta)\), and \(g_{\mathrm{XY}}^{(i)}(r)\)) are calculated as classical averages under the effective potential. The corrections for the next iteration are updated using the equations:

    \[\begin{split}\begin{split} \Delta V_R^{(i+1)}(r) &= \Delta V_R^{(i)}(r) - \frac{1}{\beta} \ln\left( \frac{\rho_R^{\mathrm{exact}}(r)}{\rho_R^{(i)}(r)} \right), \\ \Delta V_\Theta^{(i+1)}(\theta) &= \Delta V_\Theta^{(i)}(\theta) - \frac{1}{\beta} \ln\left( \frac{\rho_\Theta^{\mathrm{exact}}(\theta)}{\rho_\Theta^{(i)}(\theta)} \right), \\ \Delta V_{\mathrm{XY}}^{(i+1)}(r) &= \Delta V_{\mathrm{XY}}^{(i)}(r) - \frac{1}{\beta} \ln\left( \frac{g_{\mathrm{XY}}^{\mathrm{exact}}(r)}{g_{\mathrm{XY}}^{(i)}(r)} \right), \end{split}\end{split}\]

    where \(\beta = 1 / k_\mathrm{b}T\) and the exact distributions (\(\rho_R^{\mathrm{exact}}(r)\), \(\rho_\Theta^{\mathrm{exact}}(\theta)\), and \(g_{\mathrm{XY}}^{\mathrm{exact}}(r)\)) are calculated from the PIMD simulations using histogram binning.

Regularized IBI

To address statistical errors in RDFs when values are small, the regularized form of IBI is used to stabilize the process near convergence. [8] The updates to the inter-molecular corrections are modified as:

\[\Delta V_{\mathrm{XY}}^{(i+1)}(r) = \Delta V_{\mathrm{XY}}^{(i)}(r) - \frac{1}{\beta} \log\left( \frac{g_{\mathrm{XY}}^{\mathrm{exact}}(r) + \varepsilon G_{\mathrm{XY}}}{g_{\mathrm{XY}}^{(i)}(r) + \varepsilon G_{\mathrm{XY}}} \right),\]

where \(\varepsilon\) is a positive scalar parameter, and \(G_{\mathrm{XY}}\) is the maximum value of the RDFs, allowing the same \(\varepsilon\) for all RDFs.

Tip

Regularization IBI is particularly useful for ensuring stability when the IBI process approaches convergence, as small statistical errors can dominate the iterations.

6. f-CMD

A “fast” version of CMD (f-CMD) [9] was introduced by Voth and coworkers as an effort to reduce the computational cost of CMD over the years. This method involves adding a small correction to the classical forcefield to produce a potential consistent with the effective mean-field potential of the PI simulations.

So, the effective potential being replicated in f-CMD originates from the RP centroids and the corrective potentials are obtained using a force-matching method.

Note

The force-matching procedure, while effective, is less convenient than the IBI methodology used in f-QCMD. It involves solving a single-value decomposition problem for a large number of equations. For example, a system of 216 water molecules generates a set of 1944 equations for atomic forces for each configuration in a trajectory.

f-CMD with IBI

A version of f-CMD [10, 11] was introduced where the corrective potentials are obtained using the IBI method. This approach follows the same framework as f-QCMD with key differences in the definition and calculation of reference distributions:

  • The Quasi-Centroid (QC) values are taken as the Cartesian centroids when calculating RDFs.

  • For intra-molecular distributions, bond and angle values are determined from polar coordinates of Cartesian centroids instead of bead-averaged values.

Note

The IBI process is used to generate the corrective potentials consistent with the CMD effective mean-field potential. This allows for classical-like simulations with CMD NQEs incorporated.

7. h-CMD

While f-QCMD is capable of creating vibrational spectra with accuracy comparable to AQCMD simulations, it faces challenges when applied to complex systems, particularly those containing large, complex molecules or materials. These limitations arise from the application of Eckart-like conditions using a rotation matrix, which requires an initial set of QC coordinates. For large molecules, transitioning from curvilinear coordinates to QCs can be challenging to generalize.

To address this issue and extend f-QCMD to more complex systems, the hybrid CMD (h-CMD) [11] method was introduced. The core idea of h-CMD is to selectively apply the f-QCMD method only to those degrees of freedom that are significantly affected by the curvature problem, while treating the remaining degrees of freedom with f-CMD.

Note

The h-CMD method provides a feasible solution for systems where defining curvilinear coordinates for the entire system is impractical. To ensure consistency, the h-CMD method employs the same form of correction potentials as f-QCMD for f-CMD simulations, with the correction potentials determined using the iterative Boltzmann inversion (IBI) method instead of force matching. The primary difference between f-QCMD and f-CMD calculations within the h-CMD scheme is that the reference distribution functions for f-CMD molecules are derived using Cartesian centroids instead of QCs

Note

The h-CMD method offers:

  1. Flexibility: Only a subset of degrees of freedom are treated at the f-QCMD level, reducing computational complexity.

  2. Generalization: Enables the application of CMD methods to systems where defining QC coordinates for all components is infeasible.

  3. Accuracy: Maintains the high accuracy of vibrational spectra for large complex hetergeneous systems.