A python package used to perform quantum state tomography.
Project description
Quantum State Tomography
This is a simple library is dedicated to performing tomography on an arbitrary amount of qubits / qudits. It uses the Maximum Likelihood Technique as described in J.B. Altepeter et al. to approximate the density matrix of a given quantum state. It is able to perform QST on an arbitary amount of qubits and qudits. Please note that although it can perform these computations the approximation of quantum states can get worse as the amount of qubits / qudits scales.
Usage
This library is installable with pip. To import the library, run the following command:
pip install quantumstatetomography
In the library, there are two main classes that are used to perform quantum tomography. the QubitTomo() class and the QuditTomo() class. These are initialized in the following way:
import quantumstatetomography as qst
qubit_obj = qst.QubitTomo(n=2)
or
qudit_obj = qst.QuditTomo(n=1, dim=3)
The class is filled with many functions and attributes that allow you to perform tomography on your data and analyse its results both quantatively and visually. For a more comprehensive tutorial on how to use this library, please check out tutorial.ipynb!
Importing data
This library supports importing quantum tomography data. It is currently only available for the QubitTomo() class. You can import your data as an excel (.xlsx) file whose columns are the measurements taken and their respective counts. For more information on how to format your data, please refer to example.xlsx!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quantumstatetomography-0.0.2.tar.gz
.
File metadata
- Download URL: quantumstatetomography-0.0.2.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236ffe5c2a251b5e6468745011a33dca3374c35d0b02d1b891dfec3bd336d870 |
|
MD5 | 1afb9118b24439c9742258c5cea62fa5 |
|
BLAKE2b-256 | a9e93fea370fccdfe86157c5e7205a7ccf466afbd47d677ecebef31e397bb9d9 |
File details
Details for the file quantumstatetomography-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: quantumstatetomography-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5472209191f8467a9f2f622471bc45a268e3e61fd61ed6b4ab58781bf5489b98 |
|
MD5 | 846eedba307b9a4fda334f2a33aabe39 |
|
BLAKE2b-256 | e73d0bbfdb623ff952e1bb725b69f4ad1a032599cb0b767e1bcfe9bfd18ad2e3 |