Quantum information and many-body library.
Project description
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
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quimb-1.9.0.tar.gz
.
File metadata
- Download URL: quimb-1.9.0.tar.gz
- Upload date:
- Size: 11.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5a769e0403094f4fbccd9833648e48e7fac209a43b329b0586e7c4332a1b963 |
|
MD5 | ae95e3429a77c320d13e04185723977c |
|
BLAKE2b-256 | 63046cbb5be88bd88cfbf8b2f11753fd7ca17b49ddf1758c69ec44cdb6a84a5f |
File details
Details for the file quimb-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: quimb-1.9.0-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edb2f621948410e8ba6fa30b023888a4b6fe46682ebf0cdb7acafe2d87b964d9 |
|
MD5 | be91a2704851ac3cd0a4592e51e81d20 |
|
BLAKE2b-256 | 048234917cd86accdfc7078521646e77908cb2abde1aa637cfab16123b86fb79 |