qredtea
The quantum red tea library of Quantum TEA provides tensor beyond the dense tensor with numpy or cupy, which could be either tensor for systems with symmetries or tensor using another backend, e.g., pytorch.
Documentation
Here is the documentation. The documentation can also be built locally via sphinx.
Backends
We list here the supported backends with the tested version:
pytorch==2.5.1jax==0.4.38tensorflow==2.18.0
The version allow to install all four tensor backends (numpy, torch, jax, tensorflow) within python3.11 environment (for CPUs).
License
The project qredtea is hosted at the repository
https://baltig.infn.it/quantum_red_tea/py_api_quantum_red_tea.git,
and is licensed under the following license:
The license applies to the files of this project as indicated in the header of each file, but not its dependencies.
Installation
The qredtea library is never used as stand-alone package; it replaces
the tensor backend for one of the quantum TEA applications in agreement
with a qtealeaves version. Therefore, the minimal use-case to explore
the library is together with qtealeaves. Moreover, it can be used as
well with qmatchatea.
Local installation via pip
The package is available via a local pip installation as pip install .,
i.e., after cloning the repository.
Dependencies
The python dependencies can be found in the pyproject.toml
and are required independently of the following use-cases.
Depending on your use-case, more requirements might be necessary at runtime. As
we implement the API to other packages via qredtea, we do not require the user
to install all of them.
qtealeaves simulations
If you want to use the qtealeaves toolchain, a compatible version of
qtealeaves has to be installed. The correct version is fetched
automatically if this package is installed via pip. Otherwise, see
pyproject.toml.
qmatchatea simulations
Quantum circuit simulations via qmatchatea require both qredtea and qtealeaves
as a dependency. Follow the instructions contained in the qmatchatea repository.
Release files for qredtea 0.4.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qredtea-0.4.8.tar.gz | 137.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qredtea-0.4.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 284.5 kB
Release files / qredtea-0.4.8.tar.gz
| Download URL | qredtea-0.4.8.tar.gz |
|---|---|
| Size | 137.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd783a9242ec078cb917c74695d4554d732c021534ff3eca4bc146210b3bebd6
|
|
BLAKE2b-256 checksum How to use checksums |
8ad76fbbbe1924ae7b0dd8e4f0ddcc273780ba9a800907131d21d5bc517a2791
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / qredtea-0.4.8-py3-none-any.whl
| Download URL | qredtea-0.4.8-py3-none-any.whl |
|---|---|
| Size | 146.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34e5889d4908ac1b0d637684464479acc369024cb388b06b981d9c6fe2d45df5
|
|
BLAKE2b-256 checksum How to use checksums |
0d35d4ca91a8336723403b81c4ffae6631121fe74f25bcd0daa7905363004f13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|