Skip to content

Replica exchange with ML/MM #406

@pamazzeo

Description

@pamazzeo

Is your feature request related to a problem? Please describe.
I'm trying to use Sire for Hamiltonian Replica Exchange to decouple a solute from the solvent using a QM(ML)/MM electrostatic embedding scheme. I can successfully pass a callback function to Sire (via sr.qm.create_engine) to perform standard molecular dynamics with ML/MM potentials. However, when performing the solute-solvent decoupling (e.g. using decharge), the ML/MM engine must be aware of the current alchemical state, as the $\lambda$ parameter needs to scale:

  • The ML/MM electrostatic interaction energy;
  • The polarization of the ML region induced by the MM solvent.

Describe the solution you'd like
Is there a way to pass this parameter to the callback function that does the ML/MM prediction during the simulation?

Describe alternatives you've considered
Passing lambda as a fixed parameter to the callback function when setting up the different replicas is insufficient, as it does not account for the changes in alchemical state that occur during replica exchange.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions