Skip to content
项目

关于

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

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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)

探索相关项目

加载中…