Krotov Python Package
Python implementation of Krotov's method for quantum optimal control.
This implementation follows the original implementation in the QDYN Fortran library.
The krotov package is built on top of QuTiP.
Development happens on Github. You can read the full documentation online.
If you use the krotov package in your research, please cite
it.
Purpose
Optimal control is a cornerstone of quantum technology: relying not just on a passive understanding of quantum mechanics, but on the active utilization of the quantum properties of matter. Quantum optimal control asks how to manipulate the dynamics of a quantum system in some desired way. This is essential for the realization of quantum computers and related technologies such as quantum sensing.
Krotov's method and GRAPE are the two leading gradient-based optimization algorithms used in numerical quantum optimal control. Krotov's method distinguishes itself by guaranteeing monotonic convergence for near-continuous control fields. This makes is particularly useful for exploring the limits of controllability in a physical system. While GRAPE is found in various software packages, there has not been an open source implementation of Krotov's method to date. Our package provides that missing implementation.
The Krotov package targets both students wishing to enter the field of quantum control and researchers in the field. It was designed towards the following goals:
- Leverage the QuTiP library as a platform for numerically describing quantum systems.
- Provide a collection of examples inspired by recent publications in the Jupyter notebook format, allowing for interactive exploration of the method.
- Define a general interface for formulating any quantum control problem, which may extend to other optimization methods in the future.
- Serve as a reference implementation of Krotov's method, and as a foundation against which to test other implementations.
- Enable the more widespread use of Krotov's method, for example in the design of experiments.
Further Information
For further information, including installation and usage instructions, see the documentation at https://qucontrol.github.io/krotov.
Metadata
Release files for krotov 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| krotov-1.3.0.tar.gz | 3.5 MB | Without provenance | Details for krotov-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| krotov-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for krotov-1.3.0-py3-none-any.whl |
Total release size: 3.5 MB
Release files / krotov-1.3.0.tar.gz
| Download URL | krotov-1.3.0.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7053caec3884a21c606abcf50a78d6c3483cebdb4f0c3f5c44f1f2e8c4529846
|
|
BLAKE2b-256 checksum How to use checksums |
5031526a4c99735211f51eaa90e6fdba01193ccc2d2475ae0aefbb9cd439a999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.16
|
Release files / krotov-1.3.0-py3-none-any.whl
| Download URL | krotov-1.3.0-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
376cf0010be67bf70850fa191c6bae9f4f207f0e11aa0792d29c78aad1faec08
|
|
BLAKE2b-256 checksum How to use checksums |
83bcbc161d39e33cda5bd9fb7843e271c191f104876bc4521343d7cef6c226f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.16
|
Security for krotov 1.3.0
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.