Skip to content
Projets

À propos

DIfferentiable MOlecular Simulator (DIMOS): A pyTorch based framework for machine-learning enhanced simulations

IA et apprentissage automatique

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

DIMOS

DIMOS (Differentiable Molecular Simulator) is a PyTorch-based framework for molecular dynamics (MD) and Monte Carlo (MC) simulations, designed to bridge the gap between traditional simulation engines and modern machine learning (ML) workflows. Built for flexibility, performance, and end-to-end differentiability, DIMOS enables seamless integration of classical force fields, machine learning interatomic potentials (MLIPs), and hybrid ML/MM approaches, empowering researchers to innovate in computational chemistry, physics, and biology.

Documentation available at: https://dimos.henrik-christiansen.net

Please cite our paper if you are using DIMOS: H. Christiansen, T. Maruyama, F. Errica, V. Zaverkin, M. Takamoto, and F. Alesiani, Fast, Modular, and Differentiable Framework for Machine Learning-Enhanced Molecular Simulations, J. Chem. Phys. 163, 182501 (2025).

For convenience, you may also use the following bibtex entry:

@article{10.1063/5.0277356,
    author = {Christiansen, Henrik and Maruyama, Takashi and Errica, Federico and Zaverkin, Viktor and Takamoto, Makoto and Alesiani, Francesco},
    title = {Fast, modular, and differentiable framework for machine learning-enhanced molecular simulations},
    journal = {J. Chem. Phys.},
    volume = {163},
    pages = {182501},
    year = {2025},
    url = {https://doi.org/10.1063/5.0277356},
}

If you are using the batching or hyperspatial capabilies, please cite (to be replaced with arXiv/published version when available):

H. Christiansen, M. Ferraz, T. Maruyama, and F. Alesiani, Hyperspatial Sampling: Circumventing Free-Energy Barriers via Replica Exchange with Extra Dimensions, https://henrik-christiansen.de/Paper/HSREX.pdf.

Installation

DIMOS can be installed using pip

pip install dimos-torch

Or alternatively by cloning and then installing locally, including optional dependencies, such as the MACE and ORB interatomic potentials or tools used for tests/development:

git clone https://github.com/nec-research/dimos.git; cd dimos

# install with optional dependencies
python -m pip install -e '.[dev,mmtools,mace,orb]'

To run the test cases based on torchMD, also this package needs to be installed. To avoid the installation of the (proprietary) moleculekit dependency, call

pip install torchmd scipy networkx pandas tqdm pyyaml --no-deps 

Get started

import dimos
system = dimos.AmberForceField("config.prmtop")
integrator = dimos.LangevinDynamics(dt, T, gamma, system)
simulation = dimos.MDSimulation(system, integrator, positions, T)
simulation.step(num_steps)

Explorer des projets similaires

Chargement…