Skip to main content

qutip-qtrl

build Documentation Status PyPI version Maintainability Coverage Status

The qutip-qtrl package used to be a module qutip.control 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-qtrl package, QuTiP quantum optimal control, aims at providing advanced tools for the optimal control of quantum devices. Compared to other libraries for quantum optimal control, qutip-qtrl puts additional emphasis on the physics layer and the interaction with the QuTiP package. The package offers support for both the CRAB and GRAPE methods.

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

Quick start

To install the package, use

pip install qutip-qtrl

Migrating from qutip.control

As the introduction suggested, this package is based on a module in the QuTiP package qutip.control. 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.control in your import statement with qutip_qtrl. Everything should work smoothly as usual.

Documentation and tutorials

The documentation of qutip-qtrl updated to the latest development version is hosted at qutip-qtrl.readthedocs.io/. Tutorials related to using quantum optimal control in qutip-qtrl can be found here.

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-qtrl 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-qtrl-0.2.X for version 0.2. Then download the source code and run from the qutip-qtrl directory.

pytest tests

Citing qutip-qtrl

If you use qutip-qtrl in your research, please cite the original QuTiP papers that are available here.

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.

Release files for qutip-qtrl 0.2.0

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-qtrl 0.2.0
File Size Uploaded
qutip_qtrl-0.2.0.tar.gz 93.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qutip-qtrl 0.2.0
File Interpreter ABI Platform
qutip_qtrl-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size:184.4 kB

Release files / qutip_qtrl-0.2.0.tar.gz

Download URL qutip_qtrl-0.2.0.tar.gz
Size 93.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0515ead970af4e9a9ee0229d9ad08694a4c7a39b5f023409ffa37ed6ae37d4cf
BLAKE2b-256 checksum
How to use checksums
219e919a728334f8f9026fbc42afeda23d92af919c5364ec292bf8a8fd966f56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / qutip_qtrl-0.2.0-py3-none-any.whl

Download URL qutip_qtrl-0.2.0-py3-none-any.whl
Size 90.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0ee115ef7ab2408be6b98f698af194eb4e5d83bda953027c5c305208036c03b
BLAKE2b-256 checksum
How to use checksums
accf57bde0b97a2b38ae98c2ce5ae122ac50f28fc981188f9a5d57bf0a15f7cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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