Ligand
design problems involve searching chemical space for a molecule
with a set of desired properties. As chemical space is discrete, this
search must be conducted in a pointwise manner, separately investigating
one molecule at a time, which can be inefficient. We propose a method
called “Flexible Topology”, where a ligand is composed
of a set of shapeshifting “ghost” atoms, whose atomic
identities and connectivity can dynamically change over the course
of a simulation. Ghost atoms are guided toward their target positions
using a translation-, rotation-, and index-invariant restraint potential.
This is the first step toward a continuous model of chemical space,
where a dynamic simulation can move from one molecule to another by
following gradients of a potential energy function. This builds on
a substantial history of alchemy in the field of molecular dynamics
simulation, including the Lambda dynamics method developed by Brooks
and co-workers [X. Kong and C.L. Brooks III, J. Chem. Phys. 105, 2414
(1996)], but takes it to an extreme by associating a set of four dynamical
attributes with each shapeshifting ghost atom that control not only
its presence but also its atomic identity. Here, we outline the theoretical
details of this method, its implementation using the OpenMM simulation
package, and some preliminary studies of ghost particle assembly simulations
in vacuum. We examine a set of 10 small molecules, ranging in size
from 6 to 50 atoms, and show that Flexible Topology is able to consistently
assemble all of these molecules to high accuracy, beginning from randomly
initialized positions and attributes.