Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: dkweiss31/qontrol

Tags

v0.3.2

Toggle v0.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add get_hamiltonians used by both plotting and cost functions, add te…

…st (#21)

* add get_hamiltonians used by both plotting and cost functions, add test

* bump version

v0.3.1

Toggle v0.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
bug fix (#20)

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add batching over initial parameters (#19)

* fist attempts at adding batch

killed option to end optimization if only one cost function is reached

changed order of ftol and xtol

simplified step (now named single_step) as well as batch step, noting that other parameters are fixed at runtime

add _plot function since called twice

simplified termination logic

* added batch tests

* kill ignore termination

move everything into their own functions to streamline

add new test

* nits, batch -> batch_initial_parameters

killed initialize and finalize

bug fix on where termination message printed

* move recorder to own file

* small bug fixes

* fix for only plotting one H

add plt close

* test updates for batching

* nits, some comments

* bugfix in tests

* same fix for fft on batching

* update doc examples

* Update qontrol/optimize.py

Co-authored-by: Copilot <[email protected]>

* Update qontrol/optimize.py

Co-authored-by: Copilot <[email protected]>

* Update qontrol/optimize.py

Co-authored-by: Copilot <[email protected]>

* various fixes and changes suggested by copilot review:

reorder deprecation check and ke check of options

and length check to lists of dicts error check

prettier printing of costs

bug fix in df calc

bug fix in plotting

* format and lint

* bug fix in _calculate_rel_cost_diff to avoid negative

* bug fix in _calculate_rel_cost_diff to take max

* ftol = 0 in example

* bug fix

* small updates to docs, nit

* update some links

---------

Co-authored-by: Copilot <[email protected]>

v0.2.2

Toggle v0.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Batched saving (#16)

* Feature: Batched saving

* Had accidentally erased a couple lines

* Save only at the end

* bug fix

* support both array and dict parameters in new saving scheme

update append_to_h5 to support new save period functionality

add test_save_period

* update docstring defaults

* updates to ruff

---------

Co-authored-by: Danny <[email protected]>

v0.2.1

Toggle v0.2.1's commit message
fix tpe for forbidden array

v0.2.0

Toggle v0.2.0's commit message
Merge remote-tracking branch 'origin/main' into qarray

v0.1.0

Toggle v0.1.0's commit message
add gifs to index and readme