Skip to main content

Modified version of the Quimb library to work with the Trajectree Quantum optics simulator.

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

trajectree_quimb-0.0.1.tar.gz (11.5 MB view details)

Uploaded Source

Built Distribution

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

trajectree_quimb-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file trajectree_quimb-0.0.1.tar.gz.

File metadata

  • Download URL: trajectree_quimb-0.0.1.tar.gz
  • Upload date:
  • Size: 11.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for trajectree_quimb-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fdc6faa06baefc12b2c88d439cc67285e12f1d1dcf7de0298ede3375a6248860
MD5 092d642c381af12e907a68f9bc2a2c81
BLAKE2b-256 45de1db4b19f318e533b79fa80686a2ed01f2d3fb8c6f4c6cf97ec9982f24c01

See more details on using hashes here.

File details

Details for the file trajectree_quimb-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for trajectree_quimb-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4092bbce9063357dde966147558a2b74d513f507067bc7cf9da0f651831edcc9
MD5 c6b83b8e15c5da39159c26d82b5049cf
BLAKE2b-256 58435de323418c0f5646ed916101331344423ba17453c1493e43efcbccc32628

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