Skip to main content

Quantum information and many-body library.

Project description

Travis-CI Code Coverage Code Quality Documentation Status JOSS Paper

quimb is an easy but fast python library for quantum information and many-body calculations, including with tensor networks. The code is hosted on github, do please submit any issues or pull requests there. It is also thoroughly unit-tested and the tests might be the best place to look for detailed documentation.

The core quimb module:

  • Uses straight numpy and scipy.sparse matrices as quantum objects

  • Accelerates many operations using numba and numexpr

  • Makes it easy to construct operators in large tensor spaces (e.g. 2D lattices)

  • Uses efficient methods to compute various quantities including entanglement measures

  • Has many built-in states and operators, including those based on fast, parallel random number generation

  • Can perform evolutions with several methods, computing quantities on the fly

  • Has an optional slepc4py interface for easy distributed (MPI) linear algebra. This can massively increase the performance when seeking, for example, mid-spectrum eigenstates

The tensor network submodule quimb.tensor:

  • Uses a geometry free representation of tensor networks

  • Uses opt_einsum to find efficient contraction orders for hundreds or thousands of tensors

  • Can perform those contractions on various backends, including with a GPU

  • Can plot any network, color-coded, with bond size represented

  • Can treat any network as a scipy LinearOperator, allowing many decompositions

  • Can perform DMRG1, DMRG2 and DMRGX, in matrix product state language

  • Has tools to efficiently address periodic problems (transfer matrix compression and pseudo-orthogonalization)

  • Can perform MPS time evolutions with TEBD

The full documentation can be found at: http://quimb.readthedocs.io/en/latest/. Contributions of any sort are very welcome - please see the contributing guide.

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

quimb-1.1.2.tar.gz (174.3 kB view details)

Uploaded Source

Built Distribution

quimb-1.1.2-py3-none-any.whl (171.3 kB view details)

Uploaded Python 3

File details

Details for the file quimb-1.1.2.tar.gz.

File metadata

  • Download URL: quimb-1.1.2.tar.gz
  • Upload date:
  • Size: 174.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for quimb-1.1.2.tar.gz
Algorithm Hash digest
SHA256 5a64882ea636662eff3aee13d5497a5d03d8d3076cd9660848a107e6726f9ca2
MD5 0ade2bcf0bc2e55eb7a5af3cff493e69
BLAKE2b-256 b7c3d92cf007a36bdb7873edc0af5b1c148e064802649a82e31005244b19371c

See more details on using hashes here.

File details

Details for the file quimb-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: quimb-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 171.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for quimb-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1c756d30fd7f5d9500a26cc13f9af4f93a90888639f1bb9578415d0e9ef00b6
MD5 8d3894a7c0c894c1244fa0f0faed4441
BLAKE2b-256 70d9f0174eecc1c0312909cbb046f3eba11385b3f158e1afa14fb7d7c0b468a2

See more details on using hashes here.

Supported by

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