Skip to main content

Quantum TEA's python tensor network library

Project description

PyPI version Python >=3.11 Docs License DOI

Quantum TEA: qtealeaves

qtealeaves is a tensor network library with a collection of algorithms for solving Schrödinger and Lindblad equation. The library contains the definition of abstract tensor class and its Numpy/Cupy implementation, classes for various tensor network representations (e.g. matrix product state, tree tensor network, locally-purified tensor network, ...), API for building quantum models, and more.

Relation to other Quantum TEA libraries

Quantum Red TEA: qredtea is a supplementary library for switching between additional tensor backends. While qtealeaves alone provides support for Numpy/Cupy-based tensors, qredtea enables running the simulations with Pytorch, Tensorflow, and Jax. Moreover, it enables switching between standard non-symmetric tensors and Abelian symmetry tensors. qredtea requires qtealeaves as a dependency. To get the right combination of versions for using quantum red tea, install qredtea which automatically has a matching qtealeaves version as a dependency.

Quantum Matcha TEA: qmatchatea is built on top of qtealeaves and is specialized in running quantum circuits with tensor networks. It requires both qtealeaves and qredtea as a dependency. To get the right combination of versions for using quantum matcha tea, install qmatchatea which automatically has a matching qtealeaves version as a dependency.

Installation

The package is available via PyPi and pip install qtealeaves.

After cloning the repository, an local installation via pip is also possible via pip install ..

The list of python dependencies can be found in the pyproject.toml.

Documentation

See the latest documentation here.

Cite us

If you use Quantum TEA Leaves in your work, please cite our Zenodo package.

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

qtealeaves-1.12.5.tar.gz (499.2 kB view details)

Uploaded Source

Built Distribution

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

qtealeaves-1.12.5-py3-none-any.whl (582.4 kB view details)

Uploaded Python 3

File details

Details for the file qtealeaves-1.12.5.tar.gz.

File metadata

  • Download URL: qtealeaves-1.12.5.tar.gz
  • Upload date:
  • Size: 499.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for qtealeaves-1.12.5.tar.gz
Algorithm Hash digest
SHA256 9a355b8bfe5114218720e6df309184f6154a6055856a44eaf026fe6afcf36dd6
MD5 d482b193cb29ef06b203e3dff5142c1c
BLAKE2b-256 b7c2cefd1d829b7989d88a12dc24aef02d206cd06a9beb88f47aa48101a0eb2a

See more details on using hashes here.

File details

Details for the file qtealeaves-1.12.5-py3-none-any.whl.

File metadata

  • Download URL: qtealeaves-1.12.5-py3-none-any.whl
  • Upload date:
  • Size: 582.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for qtealeaves-1.12.5-py3-none-any.whl
Algorithm Hash digest
SHA256 464950ed22c0d4b77787bbe76eacc7dd2586c4e2a077f7c361424f5ad3d54435
MD5 8bcd00e58dace5bca4a4b4b052afd962
BLAKE2b-256 06fd70881ad18feea21aed461926c8be0bbe536daa97e88da65bff84a348d18a

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