Skip to main content

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


Download files

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

Source Distribution

tqix-4.3.tar.gz (70.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tqix-4.3-py3-none-any.whl (84.3 kB view details)

Uploaded Python 3

File details

Details for the file tqix-4.3.tar.gz.

File metadata

  • Download URL: tqix-4.3.tar.gz
  • Upload date:
  • Size: 70.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for tqix-4.3.tar.gz
Algorithm Hash digest
SHA256 1e1154f031799b583f771e27bbdc37953984f615c3816c10146113bc21ffe002
MD5 2ef1651266500f94a0ac818ccce7125e
BLAKE2b-256 f38348fe5d9ed07b06b17ffddd8b4e0202a91c797c6796ed432a637cd4621048

See more details on using hashes here.

File details

Details for the file tqix-4.3-py3-none-any.whl.

File metadata

  • Download URL: tqix-4.3-py3-none-any.whl
  • Upload date:
  • Size: 84.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for tqix-4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9d6da40f27b59482e06654a13f42286553393f8a68e4b728591889498c074e7
MD5 7d53f6d583ca6fd1db09ca298fd105b6
BLAKE2b-256 44af7c0ed49f75eb83450139f0fc47a03cf6b51c5d489a3ce72a7923ca6f72e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page