Refinement of thermostated molecular dynamics using backward error analysis

AJ Silveira and CRA Abreu, JOURNAL OF CHEMICAL PHYSICS, 150, 114110 (2019).

DOI: 10.1063/1.5085441

Kinetic energy equipartition is a premise for many deterministic and stochastic molecular dynamics methods that aim at sampling a canonical ensemble. While this is expected for real systems, discretization errors introduced by the numerical integration may lead to deviations from equipartition. Fortunately, backward error analysis allows us to obtain a higher-order estimate of the quantity that is actually subject to equipartition. This is related to a shadow Hamiltonian, which converges to the specified Hamiltonian only when the time-step size approaches zero. This paper deals with discretization effects in a straightforward way. With a small computational overhead, we obtain refined versions of the kinetic and potential energies, whose sum is a suitable estimator of the shadow Hamiltonian. Then, we tune the thermostatting procedure by employing the refined kinetic energy instead of the conventional one. This procedure is shown to reproduce a canonical ensemble compatible with the refined system, as opposed to the original one, but canonical averages regarding the latter can easily be recovered by reweighting. Water, modeled as a rigid body, is an excellent test case for our proposal because its numerical stability extends up to time steps large enough to yield pronounced discretization errors in Verlet-type integrators. By applying our new approach, we were able to mitigate discretization effects in equilibrium properties of liquid water for time-step sizes up to 5 fs. Published under license by AIP Publishing.

Return to Publications page