Package: qutip-qip
qutip-qipThe qutip-qip package used to be a modulequtip.qipunderQuTiP (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 theQuTiP 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 withQubitCircuitcalculating unitary evolution under quantum gates by matrix product, another calledProcessorusing 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 thediscussion panelas well as thequtip documentation for ideas.Quick startTo install the package, usepip install qutip-qipMigrating fromqutip.qipAs the introduction suggested, this package is based on a module in theQuTiPpackagequtip.qip.
If you were using thequtippackage and now want to try out the new features included in this package, you can simply install this package and replace all thequtip.qipin your import statement withqutip_qip. Everything should work smoothly as usual.Documentation and tutorialsThe documentation ofqutip-qipupdated to the latest development version is hosted atqutip-qip.readthedocs.io/.
Tutorials related to using quantum gates and circuits inqutip-qipcan be foundhereand those related to using noise simulators areavailable atthis link.Code examples used in the articlePulse-level noisy quantum circuits with QuTiP, updated for the latest code version, are hosted inthis folder.Installation from sourceIf you want to edit the source code, please download the source code and run the following command under the rootqutip-qipfolder,pip install --upgrade pip
pip install -e .which makes sure that you are up to date with the latestpipversion. Contribution guidelines are availablehere.To build and test the documentation, additional packages need to be installed:pip install pytest matplotlib sphinx numpydoc sphinx_rtd_themeUnder thedocdirectory, usemake htmlto build the documentation, ormake doctestto test the code in the documentation.TestingTo test the installation, choose the correct branch that matches with the version, e.g.,qutip-qip-0.2.Xfor version 0.2. Then download the source code and run from thequtip-qipdirectorypytest testsCitingqutip-qipIf you usequtip-qipin your research, please cite thearticleas@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}}SupportThis package is supported and maintained by the same developers group as QuTiP.QuTiP development is supported byNori's labat RIKEN, by the University of Sherbrooke, by Chalmers University of Technology, by Macquarie University and by Aberystwyth University,among other supporting organizations.LicenseYou are free to use this software, with or without modification, provided that the conditions listed in the LICENSE.txt file are satisfied.