jVMC: Versatile and performant variational Monte Carlo
Project description
jVMC
This is an impementation of Variational Monte Carlo (VMC) for quantum many-body dynamics using the JAX library (and Flax on top) to exploit the blessings of automatic differentiation for easy model composition and just-in-time compilation for execution on accelerators.
Documentation
Documentation is available here.
Installation
Option 1: pip-install
- We recommend you create a new conda environment to work with jVMC:
conda create -n jvmc python=3.8
conda activate jvmc
pip-install the package
pip install jVMC
Option 2: Clone and pip-install
- Clone the jVMC repository and check out the development branch:
git clone https://github.com/markusschmitt/vmc_jax.git
cd vmc_jax
- We recommend you create a new conda environment to work with jVMC:
conda create -n jvmc python=3.8
conda activate jvmc
- Create a wheel and
pip-install the package
python setup.py bdist_wheel
python -m pip install dist/*.whl
Test that everything worked, e.g. run 'python -c "import jVMC"' from a place different than vmc_jax.
Option 3: Manually install dependencies
If you want to work on the jVMC code you might prefer to install dependencies and set up jVMC without pip-install.
Compiling JAX
How to compile JAX on a supercomputing cluster
Online example
Click on the badge above to open a notebook that implements an exemplary ground state search in Google Colab.
Citing jVMC
If you use the jVMC package for your research, please cite our reference paper arXiv:2108.03409.
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 Distributions
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 jVMC-0.1.2-py3-none-any.whl.
File metadata
- Download URL: jVMC-0.1.2-py3-none-any.whl
- Upload date:
- Size: 55.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f9040d86094fc54e88c6bbe4fa7794a6ca1ce4fea812269b05d85fff8d066b9
|
|
| MD5 |
e323b41febe4864d35bf7dc0f5d18091
|
|
| BLAKE2b-256 |
019b550ec6fb44318c7b52cb1d369c4658f00d1a35e9a5eef2fd1186dda0362a
|