Quantum Matcha Tea
Quantum Matcha Tea is a Tensor Network emulator for quantum circuits and linear optics circuits.
You can define your circuits either in qiskit, or using Matcha's internal circuit interface Qcircuit.
If you use another quantum information library (such as cirq) we suggest to save your circuit in qasm
format and then load it in qiskit.
The circuits ca be ran using the following backends:
Documentation
Here is the documentation. The documentation can also be built locally with sphinx with the following python packages:
sphinxsphinx_rtd_theme
and running the command make html in the docs/ folder.
Installation
Independent of the use-case, you have to install the dependencies. Installing the optional dependencies will enable the use of more tensor modules (for instance, supporting GPUs).
Installation via pip
The package is available via PyPi and pip install qmatchatea.
After cloning the repository, a local installation via pip is
also possible via pip install ..
Optional dependencies
The following optional dependencies are not installed by default.
cupy: necessary to run on the GPU with thetensor_module="numpy". The installation guide can be found at the cupy website.torch: necessary to run simulation with thetensor_module="torch". The installation guide can be found at the pytorch website.tensorflow: necessary to run simulation with thetensor_module="tensorflow". The installation guide can be found at the tensorflow website.jax: necessary to run simulation with thetensor_module="jax". The installation guide can be found at the jax website.
MPI simulations also require the package mpi4py.
Testing the package
To test the python package qmatchatea simply run from the command:
python3 -m unittest
License
The project qmatchatea from the repository py_api_quantum_matcha_tea
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.
Metadata
Release files for qmatchatea 1.5.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qmatchatea-1.5.10.tar.gz | 68.4 kB | Without provenance | Details for qmatchatea-1.5.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qmatchatea-1.5.10-py3-none-any.whl | Python 3 | none | any | Details for qmatchatea-1.5.10-py3-none-any.whl |
Total release size: 137.4 kB
Release files / qmatchatea-1.5.10.tar.gz
| Download URL | qmatchatea-1.5.10.tar.gz |
|---|---|
| Size | 68.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bf1000aef2531865ae951a8e1e550404445f62d0e7d36815e4980f7b257e67f
|
|
BLAKE2b-256 checksum How to use checksums |
cf1dda958a039d602465f111388b7eca4e0a892eee272b3da17c9e71054b2ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / qmatchatea-1.5.10-py3-none-any.whl
| Download URL | qmatchatea-1.5.10-py3-none-any.whl |
|---|---|
| Size | 69.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc4760b53e3591ea9ff177750d816615e5a3fc92bf8fb807ed71387cb38f8d7b
|
|
BLAKE2b-256 checksum How to use checksums |
7c51c6a1eeccba614cfbfa86879b974d99ec218148a5787bfb430b1f9facff89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for qmatchatea 1.5.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.