Skip to main content

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 .

Metadata

Release files for tqix 4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tqix 4.3
File Size Uploaded Provenance
tqix-4.3.tar.gz 70.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tqix 4.3
File Interpreter ABI Platform
tqix-4.3-py3-none-any.whl Python 3 none any Details

Total release size: 154.8 kB

Release files / tqix-4.3.tar.gz

Download URL tqix-4.3.tar.gz
Size 70.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1e1154f031799b583f771e27bbdc37953984f615c3816c10146113bc21ffe002
BLAKE2b-256 checksum
How to use checksums
f38348fe5d9ed07b06b17ffddd8b4e0202a91c797c6796ed432a637cd4621048
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / tqix-4.3-py3-none-any.whl

Download URL tqix-4.3-py3-none-any.whl
Size 84.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9d6da40f27b59482e06654a13f42286553393f8a68e4b728591889498c074e7
BLAKE2b-256 checksum
How to use checksums
44af7c0ed49f75eb83450139f0fc47a03cf6b51c5d489a3ce72a7923ca6f72e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for tqix 4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page