Skip to main content

VMC framework for Tensorflow

Project description

FlowKet - A Python framework for variational Monte-Carlo simulations on top of Tensorflow

FlowKet is our framework for running variational Monte-Carlo simulations of quantum many-body systems. It supports any Keras model for representing a parameterized unnormalized wave-function, e.g., Restricted Boltzman Machines and ConvNets, with real or complex-valued parameters. We have implemented a standard Markov-Chain Monte-Carlo (MCMC) energy gradient estimator for this general case, which can be used to approximate the ground state of a quantum system according to a given Hamiltonian. The neural-network-based approach for representing wave-fucntions was shown to be a promising method for solving the many-body problem, often matching or even surpassing the precision of other competing methods.

In addition to an MCMC energy gradient estimator, we have also implemented our novel Neural Autoregressive Quantum State wave-function representation that supports efficient and exact sampling. By overcoming the reliance on MCMC, our models can converge much faster for models of same size, which allows us to scale them to millions of parameters, as opposed to just a few thousands for prior approaches. This leads to better precison and ability to invesitgate larger and more intricated systems. Please read our paper (cited below) for further details on this approach. We hope that users of our library will be able to take our method and apply to a variety of problems. If you use this codebase or apply our method, we would appreciate if you cite us as follows:

@article{sharir2019NAQS,
  title = {Deep autoregressive models for the efficient variational simulation of many-body quantum systems},
  author = {Sharir, Or and Levine, Yoav and Wies, Noam and Carleo, Giuseppe and Shashua, Amnon},
  journal = {arXiv preprint arXiv:1902.04057},
  year = "2019",
  month = "Feb"
}

Installation

FlowKet assumes Tensorflow is already part of the enviornment. We currently support Tensorflow 1.10-1.13, but plan to extend support to all >=1.10+ and 2.0.

The recommended way to intall FlowKet is via PyPI:

pip install flowket

Alternatively if you wish to work on extending our library, you can clone our project and instead run:

pip install -e /path/to/local/repo

Basic Tutorial

While we are working on writing a proper tutorial on using the framework, we suggest going through the example files.

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

flowket-0.2.1.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowket-0.2.1-py3-none-any.whl (85.3 kB view details)

Uploaded Python 3

File details

Details for the file flowket-0.2.1.tar.gz.

File metadata

  • Download URL: flowket-0.2.1.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for flowket-0.2.1.tar.gz
Algorithm Hash digest
SHA256 90627752cddc5fbf8c406fa9af78114226f3d113a6831fcc3c34e44dfdb0cd79
MD5 83a9d1292e5c14e80fe3bbb31b0fc7cd
BLAKE2b-256 4c259f50803d1e3f52f6a49dee0e13269182d3909bea47acfcad65e98cd66998

See more details on using hashes here.

File details

Details for the file flowket-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: flowket-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 85.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for flowket-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25ba1b84de8ad3da51461e4bb5bc3c5de00a130061299d277e4ec3127c717938
MD5 364babd6af9042857d159e654f79fc5e
BLAKE2b-256 d6c47083eae170c831b2a2bfa90e4eb53ed37b8e4f23120a472c226968fc5c3a

See more details on using hashes here.

Supported by

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