Skip to main content

License Code style: black

Quantum Matcha Tea

Quantum Matcha Tea is a Tensor Network emulator for quantum circuits and linear optics circuits. You can define your circuits in either:

If you use another quantum information library (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:

  • numpy, using the CPU in python;
  • cupy, using the GPU in python;
  • fortran, using either the CPU or GPU and MPI multiprocessing;

Documentation

Here is the documentation. The documentation can also be built locally with sphinx with the following python packages:

  • sphinx
  • sphinx_rtd_theme
  • sphinx-gallery

and running the command make html in the docs/ folder.

Installation

Independent of the use-case, you have to install the dependencies. Then, there are the options using it as a stand-alone package, or as a python interface for the fortran backend of quantum matcha TEA.

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 ..

Dependencies

Notice that, even though the library could be run with a GPU with cupy, the latter package is not installed by default in the machine, since it could give problems for machines that have no access to a gpu. If you have access to a GPU and you want to use it, please proceed to the installation as described in cupy website.

Furthermore, also strawberry fields is not installed by default.

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:

Apache License 2.0

The license applies to the files of this project as indicated in the header of each file, but not its dependencies.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qmatchatea-0.5.2.tar.gz (67.4 kB view details)

Uploaded Source

Built Distribution

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

qmatchatea-0.5.2-py3-none-any.whl (68.1 kB view details)

Uploaded Python 3

File details

Details for the file qmatchatea-0.5.2.tar.gz.

File metadata

  • Download URL: qmatchatea-0.5.2.tar.gz
  • Upload date:
  • Size: 67.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for qmatchatea-0.5.2.tar.gz
Algorithm Hash digest
SHA256 403f828ae7211a9ac17b5413e6b02409f61e994dcb316ff15e782985d3c2218b
MD5 98dcd93c8a697e3b910c16897e9fdce6
BLAKE2b-256 0526c7f40258b51574a5c6a6cd3b789c3845315ee0c2e2c8a286c7abe1b1e574

See more details on using hashes here.

File details

Details for the file qmatchatea-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: qmatchatea-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 68.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for qmatchatea-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 787ae6f94e781f52ca6b1025ab232f069dd2ad8242670622727bb8e5be916686
MD5 a5d03817d070991c35d1a967bcc87629
BLAKE2b-256 3717288528c6057f6dfddf5c2439c1e983b340e55470c54008e0dd55b9f8e4a7

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