Krotov

Latest version: v1.2.1

Safety actively analyzes 619504 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.2.1

------------------

* Bugfix: Crash when initializing discretized numpy-array controls (`79`_, thanks to `loganbvh`_)
* Bugfix: Corrected definition of co-states in Dissipative Qubit Reset example (`80`_, thanks to `Alberto Castro`_)
* Update: Switched Testing and Documentation deployment from Travis to Github Actions (`82`_)

1.2.0

------------------

* Added: ``via_midpoints`` argument to ``krotov.conversions.discretize`` function
* Changed: Controls and update shapes are now discretized in a way that ensures numerical stability (`74`_, thanks to `zachmanson`_)
* Changed: Replaced ``uniseg`` dependency with ``grapheme`` (`76`_)

Note: due to the changes in the time discretization of the controls and update shapes, this version will generally not reproduce optimization results from previous versions to machine precision.

1.1.0

------------------

* Added: Support for Python 3.8
* Added: Support for QuTiP 4.5.0
* Added: Support for parallelization with loky_ (`72`_)
* Added: ``krotov.parallelization.set_parallelization`` function
* Added: ``krotov.parallelization.parallel_map`` function (improved implementation of QuTiP's ``parallel_map``)
* Added: Ability to use threadpoolctl_ to limit unwanted threading
* Added: `limit_thread_pool` option to ``krotov.optimize_pulses``
* Changed: ``krotov.propagators.expm`` now guarantees single-threaded execution

1.0.0

------------------

* Update: Citation info now points to `SciPost paper <https://scipost.org/SciPostPhys.7.6.080>`_ (`#61`_)
* Added: parameters `col_formats` and `col_headers` to customize the output of ``krotov.info_hooks.print_table`` (`65`_)
* Added: info-hooks now have access to the additional arguments `propagator`, `chi_constructor`, `mu`, `sigma`, `iter_start`, and `iter_stop` (`66`_)
* Added: parameter `keep_original_objectives` to ``krotov.objectives.ensemble_objectives`` (`67`_)
* Added: "Related Software" in the documentation
* Update: Documentation is now hosted on gh-pages_ and deployed by Doctr_ (`68`_)

0.5.0

------------------

* Update: Documentation now contains all information from https://arxiv.org/abs/1902.11284v5
* Added: Allow to pass `args` to time-dependent control functions (`56`_, thanks to `timohillmann`_)
* Changed: Renamed ``krotov.structural_conversions`` to ``krotov.conversions``
* Bugfix: Crash when ``krotov.optimize_pulses`` is called with ``iter_stop=0`` (`58`_)
* Added: ``krotov.result.Result`` is now exposed at the top level of the API, as ``krotov.Result`` (`59`_, thanks to `nathanshammah`_)
* Added: str-representation of ``krotov.result.Result`` now includes the total running time (`60`_, thanks to `nathanshammah`_)

0.4.1

------------------

* Update: Documentation now contains all information from https://arxiv.org/abs/1902.11284v4 (`#54`_)
* Added: a PDF of the documentation is now available at https://github.com/qucontrol/krotov/tree/master/docs/pdf (`#52`_, thanks to `TejasAvinashShetty`_)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.