Skip to main content

Quantum information and many-body library.

Project description

Travis-CI Code Coverage Code Quality Documentation Status JOSS Paper Gitter

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 and parallelizes many operations using numba.

  • 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

  • Can optimize arbitrary tensor networks with tensorflow, pytorch, jax or autograd

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. For ‘non-github-issue’ questions there is a gitter chat.

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.3.0.tar.gz (214.2 kB view details)

Uploaded Source

Built Distribution

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

quimb-1.3.0-py3-none-any.whl (216.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quimb-1.3.0.tar.gz
  • Upload date:
  • Size: 214.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for quimb-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3b04f74dedd577823328c7bea9991f9f58d68220a7c624122d64ba688f066eb5
MD5 612a05e08c05afd47a21c1d4531cfe87
BLAKE2b-256 2ca99e751fe8eae3ca364b1e1ae881859c7f99a1d767a3a0384b18e172be00a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quimb-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 216.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for quimb-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d0bbf82b3a9da285defe4a1148e7ab2a6bbc172eae269472c335cd88aa17e84
MD5 2d0ec13c02ba0f7813c2584b46096033
BLAKE2b-256 1af1bb326d84f84ce7ba94c1acaf505ff211168ad3ce5bfc6ea2ac543ba93826

See more details on using hashes here.

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