DIMOS: DIfferentiable MOlecular Simulator
Project description
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 preprint 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, arXiv:2503.20541 (2025).
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dimos_torch-0.1.1.tar.gz.
File metadata
- Download URL: dimos_torch-0.1.1.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81fcc5a77d64fb2f5733962c78de1f8df03d2d9a4845df6aa7ffa1abd159e415
|
|
| MD5 |
c7dbec26d47b46a4f065f22e2dd6c516
|
|
| BLAKE2b-256 |
016b562ff0009d7acd3742f728b7dedd629a141d76eb4ee92b907085bf577490
|
File details
Details for the file dimos_torch-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dimos_torch-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8265db9d5ac0d56b0a15443e86b5b738cbb2c70ce157af441e42b94939c6cd4
|
|
| MD5 |
52eb7adfa16de711b09b46fd1565dab3
|
|
| BLAKE2b-256 |
de15a193e820b4b1b616d7925916b72437afb3dd0f60159b4149c4ce9e1f5910
|