In Replica Exchange with Tunneling (RET),1 at temperature T1, a configuration A is replaced by , and B by at temperature T2, by a set of deterministic moves,
where A = (qA, vA) denotes a state characterized by coordinates qA of all its atoms and the associated velocities vA. The evolution of A (B) to A′ (B′) and B″ (A″) to () is by short microcanonical molecular dynamics. The crossing arrows mark the exchange step which involves a rescaling of velocities (and the associated kinetic energies),
such that
with and .
In his comment,2 Dr. Sakuraba raises the interesting point that the exchange move does not conserve phase space volume (Eq. (9) of the comment). This is an important observation as it implies that the exchange move is asymmetric. This can be seen by integrating out the velocity degrees of freedom leading to an expression for the probability to find configurations with potential energy in a microcanonical ensemble with total energy E1,
with N the number of particles and the density of states with potential energy Epot. As the probability for finding a state with coordinates is given by , and for finding a state with coordinates by , it follows that in a microcanonical ensemble of energy E1, the probability to be in a configuration with the coordinates and picking a configuration with coordinates is given by
A similar expression holds in the microcanonical ensemble of energy E2 where the probability to be in a configuration with the coordinates and picking a configuration with coordinates is given by
Hence, while the exchange move is rejection-free (all states have equal weight in a microcanonical ensemble), the proposal selection probability is asymmetric and given by
which is Equation (9) of the comment.
In RET, the exchange move is combined with short microcanonical molecular dynamics trajectories in which the total energy stays constant but the distribution of kinetic and potential energy quickly changes according to the equipartition theorem. For large systems and sufficiently long runs this will lead to final states where the velocities () follow a Maxwell-Boltzmann distribution corresponding to temperature T1 (T2). However, Eq. (6) implies that the initial velocities () of these trajectories are not Maxwell-Boltzmann distributed. It follows that as the exchange move these microcanonical molecular dynamic simulations do not conserve phase space volume. The net effect of exchange move and microcanonical molecular dynamics trajectories is that at temperature T1, starting from a configuration A with potential energy Epot(qA) and total energy E1, a configuration is proposed with potential energy and the same total energy E1; and at temperature T2, a configuration B(Epot(qB), E2) is compared with a configuration . Hence, in a microcanonical picture, the RET move is accepted with a probability one, but the ratio of the proposal probabilities differs from one and—following the same argument that led from Eqs. (4) to (6)—is given by
The Metropolis-Hastings that guarantees convergence to the correct distribution evaluates the product of proposal and acceptance probabilities, leading to the following criterion for acceptance or rejection of the RET move:
This equation can be simplified using that in Eq. (3), and both functions on the right-hand side grow strongly with their arguments. Hence, for systems with large number of particles N, PNVE(Epot, E) is a sharply peaked function, and a saddle point expansion will lead to
with the inverse microcanonical temperature βE = 1/kBTE = dlnΩ(E)/dE and the most probable potential energy. Hence, for sufficiently large systems and long enough microcanonical segments, the RET move can be accepted with probability,
which is Eq. (4) of our paper (Ref. 1), and implies that in this limit phase space volume is conserved during the RET move.
These conditions for the validity of the RET move are not given in the example that Dr. Sakuraba presents in the comment. His system is a single ethanol molecule in vacuo. As this is a non-interacting system, the velocities at the end of the microcanonical segment are unchanged from the ones obtained by the rescaling of Eq. (1), and the deviations in Figure 1 of the comment are not surprising. While we had already in our paper outlined that microcanonical segment needs to be long enough for a redistribution of energies, i.e., leading to configurations with more favorable potential energies and velocities whose distribution corresponds to the target temperatures, we had not taken into consideration the case of a too small system. We show in Figure 1 the same kind of distribution for a system of 256 ethanol molecules simulated at the same temperature and with the same protocol, except that the number of microcanonical steps is raised to 1000 and 20 000 steps between RET moves. For this larger system and longer microcanonical segment, we find good agreement between RET and regular Replica Exchange Molecular Dynamics (REMD).
Distribution of kinetic energies for a system of 256 ethanol molecules at T = 600 K, computed by either regular REMD (NVT) or RET simulations.
Distribution of kinetic energies for a system of 256 ethanol molecules at T = 600 K, computed by either regular REMD (NVT) or RET simulations.
We are grateful to Dr. Sakuraba for pointing out that the replica exchange with tunneling approach is valid only for sufficiently large systems and long enough microcanonical segment length. A way to test that these conditions are realized is to monitor the distribution of kinetic energies as done by us in Figure 1 of our article1 and (as a negative example for too small system) in the comment.2
We acknowledge support from the National Science Foundation (Research Grant No. CHE-1266256) and by Hacettepe University Scientific Research Fund under Project No. FHD.2015.6939.