Skip to main content

qutip-qip

Tests Documentation Status PyPI version arXiv paper Maintainability Coverage Status

The qutip-qip package used to be a module qutip.qip under QuTiP (Quantum Toolbox in Python). From QuTiP 5.0, the community has decided to decrease the size of the core QuTiP package by reducing the external dependencies, in order to simplify maintenance. Hence a few modules are separated from the core QuTiP and will become QuTiP family packages. They are still maintained by the QuTiP team but hosted under different repositories in the QuTiP organization.

The qutip-qip package, QuTiP quantum information processing, aims at providing basic tools for quantum computing simulation both for simple quantum algorithm design and for experimental realization. Compared to other libraries for quantum information processing, qutip-qip puts additional emphasis on the physics layer and the interaction with the QuTiP package. The package offers two different approaches for simulating quantum circuits, one with QubitCircuit calculating unitary evolution under quantum gates by matrix product, another called Processor using open system solvers in QuTiP to simulate noisy quantum device.

If you would like to know the future development plan and ideas, have a look at the discussion panel as well as the qutip documentation for ideas.

Quick start

To install the package, use

pip install qutip-qip

Migrating from qutip.qip

As the introduction suggested, this package is based on a module in the QuTiP package qutip.qip. If you were using the qutip package and now want to try out the new features included in this package, you can simply install this package and replace all the qutip.qip in your import statement with qutip_qip. Everything should work smoothly as usual.

Documentation and tutorials

The documentation of qutip-qip updated to the latest development version is hosted at qutip-qip.readthedocs.io/. Tutorials related to using quantum gates and circuits in qutip-qip can be found here and those related to using noise simulators areavailable at this link.

Code examples used in the article Pulse-level noisy quantum circuits with QuTiP, updated for the latest code version, are hosted in this folder.

Installation from source

If you want to edit the source code, please download the source code and run the following command under the root qutip-qip folder,

pip install --upgrade pip
pip install -e .

which makes sure that you are up to date with the latest pip version. Contribution guidelines are available here.

To build and test the documentation, additional packages need to be installed:

pip install pytest matplotlib sphinx numpydoc sphinx_rtd_theme

Under the doc directory, use

make html

to build the documentation, or

make doctest

to test the code in the documentation.

Testing

To test the installation, choose the correct branch that matches with the version, e.g., qutip-qip-0.2.X for version 0.2. Then download the source code and run from the qutip-qip directory

pytest tests

Citing qutip-qip

If you use qutip-qip in your research, please cite the article as

@article{Li2022pulselevelnoisy,
  doi = {10.22331/q-2022-01-24-630},
  url = {https://doi.org/10.22331/q-2022-01-24-630},
  title = {Pulse-level noisy quantum circuits with {Q}u{T}i{P}},
  author = {Li, Boxi and Ahmed, Shahnawaz and Saraogi, Sidhant and Lambert, Neill and Nori, Franco and Pitchford, Alexander and Shammah, Nathan},
  journal = {{Quantum}},
  issn = {2521-327X},
  publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
  volume = {6},
  pages = {630},
  month = jan,
  year = {2022}
}

Support

This package is supported and maintained by the same developers group as QuTiP.

Powered by NumFOCUS Unitary Fund

QuTiP development is supported by Nori's lab at RIKEN, by the University of Sherbrooke, by Chalmers University of Technology, by Macquarie University and by Aberystwyth University, among other supporting organizations.

License

license

You are free to use this software, with or without modification, provided that the conditions listed in the LICENSE.txt file are satisfied.

Metadata

Release files for qutip-qip 0.4.2

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

Source distribution (sdist)

Source distribution for qutip-qip 0.4.2
File Size Uploaded Provenance
qutip_qip-0.4.2.tar.gz 161.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qutip-qip 0.4.2
File Interpreter ABI Platform
qutip_qip-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 302.5 kB

Release files / qutip_qip-0.4.2.tar.gz

Download URL qutip_qip-0.4.2.tar.gz
Size 161.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9c7ecd7be72de2b6ade4a5c139dfa449f0f2c9663a21fd8f964f98898f0a3eab
BLAKE2b-256 checksum
How to use checksums
63e99f4174514a33ae47a572a98273c14ec2b50dc7e02fc98c51753404082bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / qutip_qip-0.4.2-py3-none-any.whl

Download URL qutip_qip-0.4.2-py3-none-any.whl
Size 140.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1188517b88ecd26ac8a32d1110f4267d8251167e57c42dbaa67856c8a30445a4
BLAKE2b-256 checksum
How to use checksums
36a1e006622842ca5e1a667b461cda3ebfa0798439502be2f9b37779e386b92d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for qutip-qip 0.4.2

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