DFTorch is a Density Functional Tight Binding (DFTB) implementation in PyTorch.
cd DFTorch
uv venv --python 3.11
uv pip install .Run tests:
uv run pytestTo install DFTorch, run:
pip install .- torch
- numpy
- scipy
- pandas
See experiments/1_tutorial.ipynb for examples.
Supported public imports:
from dftorch import (
Constants,
Structure,
StructureBatch,
ESDriver,
ESDriverBatch,
MDXL,
MDXLBatch,
MDXLOS,
)All other modules are internal implementation details and may change.
M. Kulichenko, A.M.N. Niklasson