Skip to main content

Python implementations of Imaginary-time Evolution algorithms

Project description

https://github.com/linusjoonho/ipie/blob/main/logo.png

ipie stands for Intelligent Python-based Imaginary-time Evolution with a focus on simplicity and speed.

ipie inherits a lot of QMC features from pauxy.

https://github.com/linusjoonho/ipie/workflows/CI/badge.svg http://readthedocs.org/projects/ipie/badge/?version=latest https://img.shields.io/badge/License-Apache%20v2-blue.svg https://img.shields.io/badge/paper%20%28v0%29-arXiv%3A2209.04015-B31B1B

Copyright by Joonho Lee (joonholee@g.harvard.edu)

Features

ipie currently supports:

  • estimation of the ground state energy of ab-initio systems using phaseless AFQMC with support for CPUs and GPUs.

  • simple data analysis.

  • other legacy functionalities available in pauxy such as the ground state and finite-temperature energies and properties (via backpropagation) of the ab initio, UEG, Hubbard, and Hubbard-Holstein models.

Installation

Linux and Mac OS wheels are available for installation via pip

$ pip install ipie

For develpment you can instead clone the repository

$ git clone https://github.com/linusjoonho/ipie.git

and run the following in the top-level ipie directory

$ pip install -r requirements.txt
$ pip install -e .

Requirements

To build ipie with MPI support (via mpi4py) do:

$ pip install -e .[mpi]

Note that mpi4py requires a working MPI installation to be built on your machine. This it is often the trickiest dependency to setup correctly.

One of the easiest ways (if you are using pip to install ipie wheels) is via conda:

conda install openmpi

which will just install the OpenMPI library. We refer users to the mpi4py documentation for alternative ways of building mpi4py and the required MPI library.

Further requirements are listed in requirements.txt.

GPU Support

Cupy is is required when running calculations on GPUs which can be install following the instructions here .

Cuda aware MPI may be installed via conda-forge.

Running the Test Suite

ipie contains unit tests and some longer driver tests that can be run using pytest by running:

$ pytest -v

in the base of the repo. Some longer parallel tests are also run through the CI. See .github/workflows/ci.yml for more details.

https://github.com/linusjoonho/ipie/workflows/CI/badge.svg

Documentation

Documentation and tutorials are available at readthedocs.

http://readthedocs.org/projects/ipie/badge/?version=latest

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

ipie-0.7.0.tar.gz (298.0 kB view details)

Uploaded Source

Built Distribution

ipie-0.7.0-py3-none-any.whl (409.6 kB view details)

Uploaded Python 3

File details

Details for the file ipie-0.7.0.tar.gz.

File metadata

  • Download URL: ipie-0.7.0.tar.gz
  • Upload date:
  • Size: 298.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for ipie-0.7.0.tar.gz
Algorithm Hash digest
SHA256 dba3eadd3259f4b231ceea4d9ab1653afc9588d6b70fd936c2787dd1ec44309d
MD5 3adccd91d93e6b9faee0dab41e5f5ee7
BLAKE2b-256 7e714e654339eee06ef934693055ed48424851f7969575a21a437d199d3f5df6

See more details on using hashes here.

Provenance

File details

Details for the file ipie-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: ipie-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 409.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for ipie-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4756fd706b4dbdabc3f653000d938d465fe7b563f69b75784a79b5ece4cd526c
MD5 072b9588cd7781d6b61f318af12c62e2
BLAKE2b-256 58a94802b8d2355c5f7579ebfd4eaa1a4f109a3ca10965fb9884786de2d89e9b

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