Skip to main content

Deep-learning quantum Monte Carlo for electrons in real space

Project description

DeepQMC

checks coverage python pypi commits since last commit license code style doi

DeepQMC implements variational quantum Monte Carlo for electrons in molecules, using deep neural networks as trial wave functions. The package is based on JAX and Haiku. Besides the core functionality, it contains an implementation of a flexible neural network wave function ansatz, that can be configured to obtain a broad range of molecular neural network wave functions. Config files for the instantiation of variants of PauliNet, FermiNet, DeepErwin and PsiFormer can be found under src/deepqmc/conf/ansatz.

Installation

Install and update to the latest release using Pip:

pip install -U deepqmc

To install DeepQMC from a local Git repository run:

git clone https://github.com/deepqmc/deepqmc
cd deepqmc
pip install -e .[dev]

If Pip complains about setup.py not being found, please update to the latest Pip version.

The above installation will result in the CPU version of JAX. However, running DeepQMC on the GPU is highly recommended. To enable GPU support make sure to upgrade JAX to match the CUDA and cuDNN versions of your system. For most users this can be achieved with:

# CUDA 12 installation
pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

# CUDA 11 installation
pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

If issues arise during the JAX installation visit the JAX Install Guide.

Documentation and exemplary usage

For further information about the DeepQMC package and tutorials covering the basic usage visit the documentation.

An introduction to the methodology and exemplary experiments can be found in the associated software paper.

Citation

If you use DeepQMC for your work, please cite our implementation paper:

@article{10.1063/5.0157512,
    author = {Schätzle, Z. and Szabó, P. B. and Mezera, M. and Hermann, J. and Noé, F.},
    title = "{DeepQMC: An open-source software suite for variational optimization of deep-learning molecular wave functions}",
    journal = {The Journal of Chemical Physics},
    volume = {159},
    number = {9},
    pages = {094108},
    year = {2023},
    month = {09},
    issn = {0021-9606},
    doi = {10.1063/5.0157512},
    url = {https://doi.org/10.1063/5.0157512},
}

The repository can be cited as:

@software{deepqmc,
	author = {Hermann, J. and Schätzle, Z. and Szabó, P. B. and Mezera, M and {DeepQMC Contributors}},
	title = "{DeepQMC}",
	year = {2023},
	publisher = {Zenodo},
	copyright = {MIT},
	url = {https://github.com/deepqmc/deepqmc},
	doi = {10.5281/zenodo.7503172},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepqmc-1.1.1.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

deepqmc-1.1.1-py3-none-any.whl (90.5 kB view details)

Uploaded Python 3

File details

Details for the file deepqmc-1.1.1.tar.gz.

File metadata

  • Download URL: deepqmc-1.1.1.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for deepqmc-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3e1b2a283dffb1f908e41e4e4d75b26a93f80ff92fb60f4074b8e49ac3f2712a
MD5 97ceebcefb7138a5e589a1df2f53244b
BLAKE2b-256 8314764d276633dae9125016b5ad71a51136c38c82e191f0855977a274596288

See more details on using hashes here.

Provenance

File details

Details for the file deepqmc-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: deepqmc-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 90.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for deepqmc-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5404d1a18dff357846efd45eaf2c89061d03cf5970d065c4c15166536ddc59de
MD5 6ca6c3e08387c32ca2ab0831ac7ea758
BLAKE2b-256 17e7880fc967e46682f4ce2cc522f9195033472d33dc73046f08b6f33121bdf0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page