Suite of Python tools that come in handy when considering various concepts in quantum information.
The inspiration for this package is heavily influenced by the QETLAB package in MATLAB by Nathaniel Johnston. Many of the functions found here are direct ports of those functions converted into Python code.
The following lists the current functionality of toqito. Each bullet item
currently links to or will link to a Jupyter notebook file that showcases the
usage.
Filling in the jupyter notebook example files lags behind the features
presently offered in toqito and will be periodically updated as time allows.
Calculate various quantities of interest pertaining to entanglement.
- Concurrence
- Negativity
- Clock matrix
- Fourier matrix
- Gell-Mann matrix
- Generalized Gell-Mann matrices
- Generalized Pauli matrices
- Identity matrix
- Pauli matrices
- Shift matrix
- Tensor product
- Vec
- Density matrix
- Diagonal matrix
- Hermitian matrix
- Normal matrix
- Positive-definite matrix
- Positive-semidefinite matrix
- Square matrix
- Symmetric matrix
- Unitary matrix
- Is measurement
- Two-player quantum value lower bound
- Weak coin flipping
- Hedging value
- XOR game value
- Antisymmetric projection
- Perfect matchings
- Perm sign
- Permutation operator
- Permute systems
- Swap
- Swap Operator
- Symmetric projection
- Unique perms
- Random density matrix
- Random POVM
- Random state vector
- Random unitary
- Bures distance
- Bures metric
- Entropy
- Fidelity
- Purity
- Super fidelity
- Trace distance
- Trace norm
- Pure-to-mixed
- Schmidt decomposition
- Schmidt rank
- State cloning
- State discrimination
- State distance
- State exclusion
- Is mixed
- Is PPT
- Is product vector
- Is pure
- Bell states
- Chessboard state
- Domino states
- Generalized Bell states
- GHZ states
- Gisin states
- Horodecki states
- Isotropic states
- Maximally entangled states
- W-state
- Werner state
- Apply map
- Choi map
- Dephasing channel
- Depolarizing channel
- Partial trace
- Partial transpose
- Realignment
- Reduction map
The nose module is used for testing. To run the suite of tests for toqito,
run the following command in the root directory of this project.
nosetests --with-coverage --cover-erase --cover-package .