TorchMD: A deep learning framework for molecular simulations

Stefan Doerr, Maciej Majewsk, Adrià Pérez, Andreas Krämer, Cecilia Clementi +3 more
12/22/2020
241 citations
physics.chem-phcs.AI

Official code: torchmd/torchmd (722 stars, Python, MIT, PyTorch, last commit 2026-04-21).

Abstract

Molecular dynamics simulations provide a mechanistic description of molecules by relying on empirical potentials. The quality and transferability of such potentials can be improved leveraging data-driven models derived with machine learning approaches.

Show full abstract

Here, we present TorchMD, a framework for molecular simulations with mixed classical and machine learning potentials. All of force computations including bond, angle, dihedral, Lennard-Jones and Coulomb interactions are expressed as PyTorch arrays and operations. Moreover, TorchMD enables learning and simulating neural network potentials. We validate it using standard Amber all-atom simulations, learning an ab-initio potential, performing an end-to-end training and finally learning and simulating a coarse-grained model for protein folding. We believe that TorchMD provides a useful tool-set to support molecular simulations of machine learning potentials. Code and data are freely available at \url{github.com/torchmd}.

View on arXivView PDF

Code Implementations(1)

torchmd/torchmdOfficial100%
PyTorchMIT

End-To-End Molecular Dynamics (MD) Engine using PyTorch

72290Python, Rich Text FormatFeb 12, 20207 months agoMIT
coarse-grained-molecular-dynamicsmachine-learningmolecular-dynamicsneural-networkspytorch+1 more

Similar Papers

Cite this paper

@article{doerr2020torchmd,
  title  = {TorchMD: A deep learning framework for molecular simulations},
  author = {Stefan Doerr and Maciej Majewsk and Adrià Pérez and Andreas Krämer and Cecilia Clementi and Frank Noe and Toni Giorgino and Gianni De Fabritiis},
  year   = {2020},
  eprint = {2012.12106},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.12106}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.12106.svg)](https://codeofpaper.com/paper/2012.12106)

Discussion