Skip to main content

Python toolkit for quantum information theory

Project description


(Theory of Quantum Information Toolkit)

The toqito package is an open source Python library for studying various objects in quantum information, namely, states, channels, and measurements.

Specifically, toqito focuses on providing numerical tools to study problems pertaining to entanglement theory, nonlocal games, matrix analysis, and other aspects of quantum information that are often associated with computer science.

toqito aims to fill the needs of quantum information researchers who want numerical and computational tools for manipulating quantum states, measurements, and channels. It can also be used as a tool to enhance the experience of students and instructors in classes pertaining to quantum information.

build status doc status codecov DOI Unitary Fund


The preferred way to install the toqito package is via pip:

pip install toqito

Alternatively, to install, you may also run the following command from the top-level package directory.

python install


Full documentation along with specific examples and tutorials are provided here:

More information can also be found on the following toqito homepage.


The pytest module is used for testing. To run the suite of tests for toqito, run the following command in the root directory of this project.

pytest --cov-report term-missing --cov=toqito tests/


You can cite toqito using the following DOI: 10.5281/zenodo.3699578

If you are using the toqito software package in research work, please include an explicit mention of toqito in your publication. Something along the lines of:

To solve problem "X" we used `toqito`; a package for studying certain
aspects of quantum information.

A BibTeX entry that you can use to cite toqito is provided here:

   author       = {Vincent Russo},
   title        = {toqito: A {P}ython toolkit for quantum information, version 0.0.7},
   howpublished = {\url{}},
   month        = Aug,
   year         = 2020,
   doi          = {10.5281/zenodo.3699578}


All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

A detailed overview on how to contribute can be found in the contributing guide


MIT License

Project details

Download files

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

Files for toqito, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size toqito-1.0.0.tar.gz (126.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page