Krotov

Latest version: v1.3.0

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

Scan your dependencies

Page 1 of 2

1.3.0

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

* Bugfix: `∫gₐdt` and total functional were reported incorrectly (`96`_, thanks to `daviehh`_)
* Bugfix: Restrict ``qutip`` to version 4. Support for ``qutip 5.0`` will be added in a later release
* Changed: Dropped support for Python 3.5 and Python 3.6
* Changed: The documentation will no longer be provided in PDF format
* Changed: Development is now organized around hatch_ instead of tox_

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`_)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.