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, 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.12.1.tar.gz (10.3 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.12.1-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quimb-1.12.1.tar.gz
Algorithm Hash digest
SHA256 fe2dc4d03eecd372bc8344b6f33228f9c7d4da208bb8e89810846ab40fd9795c
MD5 81d3c2b3e6e3114afa242c3d9c63167e
BLAKE2b-256 669c1abddb4f8ef501ce2274f22556e8de2150c26d7c3badbdf6d201220deb12

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quimb-1.12.1-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.7

File hashes

Hashes for quimb-1.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18b66c244a534eac071f1c3efe5fd88f9256f5f704b171a8bc2c0e1eab406e9f
MD5 5e1ca902a72675eb600790e0a4d3272e
BLAKE2b-256 37f5042d6a5d9803330f1bb18f75d9baf712676596161eee2104a2ae503d2de7

See more details on using hashes here.

Provenance

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