All Projects → stefanch → sGDML

stefanch / sGDML

Licence: MIT license
sGDML - Reference implementation of the Symmetric Gradient Domain Machine Learning model

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sGDML

Schnetpack
SchNetPack - Deep Neural Networks for Atomistic Systems
Stars: ✭ 296 (+244.19%)
Mutual labels:  molecular-dynamics, quantum-chemistry
libra-code
quantum-dynamics-hub.github.io/libra/index.html
Stars: ✭ 33 (-61.63%)
Mutual labels:  molecular-dynamics, quantum-chemistry
Awesome Python Chemistry
A curated list of Python packages related to chemistry
Stars: ✭ 410 (+376.74%)
Mutual labels:  molecular-dynamics, quantum-chemistry
isicle
In silico chemical library engine for high-accuracy chemical property prediction
Stars: ✭ 31 (-63.95%)
Mutual labels:  molecular-dynamics, quantum-chemistry
Molecular Design Toolkit
Notebook-integrated tools for molecular simulation and visualization
Stars: ✭ 123 (+43.02%)
Mutual labels:  molecular-dynamics, quantum-chemistry
QuantumMPS
Variational Quantum Eigensolver with Fewer Qubits
Stars: ✭ 24 (-72.09%)
Mutual labels:  quantum-chemistry
contact map
Contact map analysis for biomolecules; based on MDTraj
Stars: ✭ 27 (-68.6%)
Mutual labels:  molecular-dynamics
gimic
Gauge-including magnetically induced currents.
Stars: ✭ 19 (-77.91%)
Mutual labels:  quantum-chemistry
calphy
A Python library and command line interface for automated free energy calculations
Stars: ✭ 28 (-67.44%)
Mutual labels:  molecular-dynamics
MDBenchmark
Quickly generate, start and analyze benchmarks for molecular dynamics simulations.
Stars: ✭ 64 (-25.58%)
Mutual labels:  molecular-dynamics
foyer
A package for atom-typing as well as applying and disseminating forcefields
Stars: ✭ 78 (-9.3%)
Mutual labels:  molecular-dynamics
QCElemental
Periodic table, physical constants, and molecule parsing for quantum chemistry.
Stars: ✭ 116 (+34.88%)
Mutual labels:  quantum-chemistry
enspara
Modeling molecular ensembles with scalable data structures and parallel computing
Stars: ✭ 28 (-67.44%)
Mutual labels:  molecular-dynamics
NNPOps
High-performance operations for neural network potentials
Stars: ✭ 48 (-44.19%)
Mutual labels:  molecular-dynamics
CellListMap.jl
Flexible implementation of cell lists to map the calculations of particle-pair dependent functions, such as forces, energies, neighbour lists, etc.
Stars: ✭ 62 (-27.91%)
Mutual labels:  molecular-dynamics
mbuild
A hierarchical, component based molecule builder
Stars: ✭ 119 (+38.37%)
Mutual labels:  molecular-dynamics
wepy
Weighted Ensemble simulation framework in Python
Stars: ✭ 38 (-55.81%)
Mutual labels:  molecular-dynamics
PyVibMS
A PyMOL plugin for visualizing vibrations in molecules and solids
Stars: ✭ 23 (-73.26%)
Mutual labels:  quantum-chemistry
QUBEKit
Quantum Mechanical Bespoke Force Field Derivation Toolkit
Stars: ✭ 64 (-25.58%)
Mutual labels:  quantum-chemistry
QCxMS
Quantum mechanic mass spectrometry calculation program
Stars: ✭ 25 (-70.93%)
Mutual labels:  molecular-dynamics

Symmetric Gradient Domain Machine Learning (sGDML)

For more details visit: sgdml.org
Documentation can be found here: docs.sgdml.org

Requirements:

  • Python 3.7+
  • PyTorch (>=1.8)
  • NumPy (>=1.19)
  • SciPy (>=1.1)

Optional:

  • ASE (>=3.16.2) (to run atomistic simulations)

Getting started

Stable release

Most systems come with the default package manager for Python pip already preinstalled. Install sgdml by simply calling:

$ pip install sgdml

The sgdml command-line interface and the corresponding Python API can now be used from anywhere on the system.

Development version

(1) Clone the repository

$ git clone https://github.com/stefanch/sGDML.git
$ cd sGDML

...or update your existing local copy with

$ git pull origin master

(2) Install

$ pip install -e .

Using the flag --user, you can tell pip to install the package to the current users's home directory, instead of system-wide. This option might require you to update your system's PATH variable accordingly.

Optional dependencies

Some functionality of this package relies on third-party libraries that are not installed by default. These optional dependencies (or "package extras") are specified during installation using the "square bracket syntax":

$ pip install sgdml[<optional1>]

Atomic Simulation Environment (ASE)

If you are interested in interfacing with ASE to perform atomistic simulations (see here for examples), use the ase keyword:

$ pip install sgdml[ase]

Reconstruct your first force field

Download one of the example datasets:

$ sgdml-get dataset ethanol_dft

Train a force field model:

$ sgdml all ethanol_dft.npz 200 1000 5000

Query a force field

import numpy as np
from sgdml.predict import GDMLPredict
from sgdml.utils import io

r,_ = io.read_xyz('geometries/ethanol.xyz') # 9 atoms
print(r.shape) # (1,27)

model = np.load('models/ethanol.npz')
gdml = GDMLPredict(model)
e,f = gdml.predict(r)
print(e.shape) # (1,)
print(f.shape) # (1,27)

Authors

  • Stefan Chmiela
  • Jan Hermann

We appreciate and welcome contributions and would like to thank the following people for participating in this project:

  • Huziel Sauceda
  • Igor Poltavsky
  • Luis Gálvez
  • Danny Panknin
  • Grégory Fonseca

References

  • [1] Chmiela, S., Tkatchenko, A., Sauceda, H. E., Poltavsky, I., Schütt, K. T., Müller, K.-R., Machine Learning of Accurate Energy-conserving Molecular Force Fields. Science Advances, 3(5), e1603015 (2017)
    10.1126/sciadv.1603015

  • [2] Chmiela, S., Sauceda, H. E., Müller, K.-R., & Tkatchenko, A., Towards Exact Molecular Dynamics Simulations with Machine-Learned Force Fields. Nature Communications, 9(1), 3887 (2018)
    10.1038/s41467-018-06169-2

  • [3] Chmiela, S., Sauceda, H. E., Poltavsky, I., Müller, K.-R., & Tkatchenko, A., sGDML: Constructing Accurate and Data Efficient Molecular Force Fields Using Machine Learning. Computer Physics Communications, 240, 38-45 (2019) 10.1016/j.cpc.2019.02.007

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].