Skip to main content

Quantum information and many-body library.

Project description

quimb logo

Tests Code Coverage Code Quality Documentation Status JOSS Paper PyPI Anaconda-Server Badge

quimb is an easy but fast python library for 'quantum information many-body' calculations, focusing primarily on tensor networks. The code is hosted on github, and docs are hosted on readthedocs. Functionality is split in two:


The quimb.tensor module contains tools for working with tensors and tensor networks. It has a particular focus on automatically handling arbitrary geometry, e.g. beyond 1D and 2D lattices. With this you can:

  • construct and manipulate arbitrary (hyper) graphs of tensor networks
  • automatically contract, optimize and draw networks
  • use various backend array libraries such as jax and torch via autoray
  • run specific MPS, PEPS, MERA and quantum circuit algorithms, such as DMRG & TEBD

tensor pic


The core quimb module contains tools for reference 'exact' quantum calculations, where the states and operator are represented as either numpy.ndarray or scipy.sparse matrices. With this you can:

  • construct operators in complicated tensor spaces
  • find groundstates, excited states and do time evolutions, including with slepc
  • compute various quantities including entanglement measures
  • take advantage of numba accelerations
  • stochastically estimate $\mathrm{Tr}f(X)$ quantities

matrix pic


The full documentation can be found at: quimb.readthedocs.io. Contributions of any sort are very welcome - please see the contributing guide. Issues and pull requests are hosted on github. For other questions and suggestions, please use the discussions page.

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.11.1.tar.gz (10.1 MB view details)

Uploaded Source

Built Distribution

quimb-1.11.1-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quimb-1.11.1.tar.gz
  • Upload date:
  • Size: 10.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for quimb-1.11.1.tar.gz
Algorithm Hash digest
SHA256 8f3ff7630c4a2b50781d068bfe55dfbb58cf694886707ce95c245a21e7126ee8
MD5 164fe6ea9fd62ea2694897f5983dc1b1
BLAKE2b-256 3f3c2612a37b0716d825f4ff25968007ae84ddff602fedd5c26f3deb5aacb0a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for quimb-1.11.1.tar.gz:

Publisher: pypi-release.yml on jcmgray/quimb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: quimb-1.11.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for quimb-1.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 232f7db08436fc05d86111d863458c4659ace0e5949c63f5e5f9248064c15c9d
MD5 dd61db6328fbcba6505dd26c8228b78f
BLAKE2b-256 2b5f633e30cbc44ec0a6d1fd4cb24f0cd586af7da8903897f6c26a00e5375d5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for quimb-1.11.1-py3-none-any.whl:

Publisher: pypi-release.yml on jcmgray/quimb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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