You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OPES method aims at sampling a given target distribution over the configuration space, $p^{\text{tg}}(\mathbf{x})$,
different from the equilibrium Boltzmann distribution, $P(\mathbf{x})\propto e^{-\beta U(\mathbf{x})}$.
To do so, it iteratively builds a bias potential $V(\mathbf{x})$, by estimating on-the-fly the needed probability distributions:
The bias quickly becomes quasi-static and the desired properties, such as the free energy, can be calculated with a simple reweighting.
For any given observable $O=O(\mathbf{x})$ one can write the expectation value as:
$$ \langle O \rangle_{P} = \frac{\langle O e^{\beta V}\rangle_{p^{\text{tg}}}}{\langle e^{\beta V}\rangle_{p^{\text{tg}}}} .$$
There are two ways to define an OPES target distribution, a metadynamics-like and a replica-exchange-like.
A replica-exchange-like target distribution is an expanded ensemble defined as a sum of overlapping probability distributions:
A typical example is the temperature expanded ensemble, where each $P_{\lambda}(\mathbf{x})$ is the same system, but at a different temperature.
This kind of target distribution can be defined via a set of expansion collective variables (ECVs).
The action OPES_EXPANDED can be used to sample this kind of target distributions.
A metadynamics-like target distribution, is defined by its marginal over a set of collective variables (CVs), $\mathbf{s}=\mathbf{s}(\mathbf{x})$.
A typical choice for this marginal distribution is the well-tempered one:
where $P(\mathbf{s})$ is the marginal over the CVs of the Boltzmann distribution, and $\gamma>1$ is the bias factor.
The well-tempered distribution is a smoother version of the original one, and in the limit of $\gamma=\infty$ it become a uniform distribution.
The actions OPES_METAD and OPES_METAD_EXPLORE
can be used to sample this kind of target distributions.