Tags: dkweiss31/qontrol
Tags
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]>
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]>