A Toolbox for Quantum in X
Project description
tqix
tqix: a Toolbox for Quantum in X:
X: quantum measurement, quantum metrology, quantum tomography, and others.
Description
tqix is an open-source software providing some convenient tools for quantum measurement, quantum metrology, quantum tomography, and others. In version 2.0.1 we add a library called tqix.pis for large-scale quantum simulation.
In version 3.0.* we add a library called tqix.vqa for Variational Quantum Algorithms In 4.1 we remove tqix.vqa
Structure of the program
\tqix
|--- __init__.py # an init file to mark directory
|--- about.py # describe the program's information
|--- hinfor.py # provide information about hardware and packages
|--- version.py # describe the current version of the program
|--- qobj.py # generate a quantum object, and some convenient tools operate on the object
|--- qstate # generate various quantum states
|--- qoper.py # provide some common quantum operators: pauli matrices, lowering, raising,..
|--- qmeas.py # calculate quantum measurement using both analytical and simulation methods
|--- qmetro.py # calcualte quantum metrology
|--- backend.py # two simuation mnethods: monte carlo and comulative distribution function
|--- qtool.py # contain auxiliary (physical) tools
|--- quasi_prob.py # generate quasi-probability functions such as Husimi Q function, Wigner function, Husimi Spin function, and Wigner Spin function
|--- visualize.py # contain code for Husimi and Wigner visualization in 2D, 3D, and 3D spin
|--- utility.py # contain some common utility (mathematical) tools
|
\povm # generating POVM measurement sets
|--- __init__.py
|--- povm.py # to return measurement sets: Pauli, Stoke, MUB, SIC
|--- pauli.py # code for Pauli measurement set
|--- stoke.py # code for Stoke measurement set
|--- mub.py # code for Mutually Unbiased Bases (MUB) measurement set
|--- sic.py # code for Symmetric Informationally Complete (SIC) measurement set
|
\dsm # direct quantum state tomography (Direct State Measurement, DSM)
|--- __init__.py
|--- dsmWeak.py # code for DSM using Weak measurement
|--- dsmStrong.py # code for DSM using Strong measurement
|--- dsmProb.py, dsmProb_Conf_1.py, dsmProb_Conf_2.py # code for DSM using Probe-controlled-system measurement
|--- execute.py # execute code contained in "dsm" directory
|--- util.py # utility code for quantum tomography: trace distance, fidelity..
|See: arXiv:2007.05294(2020), J. Phys. B: At. Mol. Opt. Phys. 53, 115501 (2020), Physics Letters A 383, 289–294 (2019).
|
\pis # large-scale quantum simulation library
|---__init__.py
|--- circuit.py #create a quantum circuit
|--- gates.py #define quantum gates
|--- noise.py #add noise to quantum gates
|--- optimizers.py #define various optimizers e.g., GD, Adam, QNG,..
|--- spin_operators.py #define spin operators
|--- squeeze_param.py #define squeezing_parameters
|--- util.py #utility code
|
License
copyright (c) 2019 and later
authors: Le Bin Ho
contributors: Kieu Quang Tuan, Nguyen Tan Viet
Note for installation
download source code from our website: https://vqisinfo.wixsite.com/tqix/download
or from github: https://github.com/echkon/tqix-developers
then run:
$pip3 install .
note for installation:
download source code and run:
$ pip3 install .
install from pypi, run:
$ pip3 install tqix
For some reasons, let's try this:
pip install -r requirements.txt
pip install . --no-build-isolation
There may an error when we have new files: let try
pip install -v .
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 tqix-4.1.tar.gz
.
File metadata
- Download URL: tqix-4.1.tar.gz
- Upload date:
- Size: 62.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea7af39c45b50e8cee5305810921d8fcd3b93406764f1a2ec7ebac9f553b9ed |
|
MD5 | eb53a7300706ec09a884dd7524b3545f |
|
BLAKE2b-256 | 44267e1d71cb592428d24712b673fc8f46a7faca462e4c78d9e90a6d07badd8c |
File details
Details for the file tqix-4.1-py3-none-any.whl
.
File metadata
- Download URL: tqix-4.1-py3-none-any.whl
- Upload date:
- Size: 89.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74994143307437255083c6091c8f9bc6684cf4464ed9ffb3f8d0fa0f1672f9c2 |
|
MD5 | 2449ff375decc9c14d4ed108922a5c94 |
|
BLAKE2b-256 | 2588afe63f747d64f492d9be3066bc2b37779f4f2e38db39ae8e274c79d34a3d |