Skip to main content

Quantum information and many-body library.

Project description

quimb logo

Tests Code Coverage Documentation Status PyPI Anaconda-Server Badge DOI Pixi 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, including symmetries and fermions via symmray
  • 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.14.0.tar.gz (13.9 MB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quimb-1.14.0.tar.gz
  • Upload date:
  • Size: 13.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for quimb-1.14.0.tar.gz
Algorithm Hash digest
SHA256 8c3706088ba76e281334f719b341d4630e63c36bf4fe53bbfb46325e506dcad3
MD5 2e764bd4d899c0633d116e5e278921cb
BLAKE2b-256 f1ca0a80995d046b079f34bd78f281ceaaa286a15b06f7afeccc43d7cb2efe1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for quimb-1.14.0.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.14.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for quimb-1.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aca4bef42536db220bedc845b0fd030a0ce1fe20ae288449d7a9d0e4915ae94b
MD5 5764ae95792da80932d7923ec978e4e6
BLAKE2b-256 8cc52175e1a8cd38dea77353a82e130a73a97061fa13f1a9e74dd89c35488db6

See more details on using hashes here.

Provenance

The following attestation bundles were made for quimb-1.14.0-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page