Methods
on_optimization_start
Called once before the optimization loop begins. ParametersCallbackContext
required
Context containing initial system state and minimizer reference.
on_step_end
Called after each optimization step. This is the main hook for monitoring and logging during optimization. All callbacks execute even if early stopping is triggered. ParametersCallbackContext
required
Context containing current step information, systems, and metrics.
on_optimization_end
Called once after the optimization loop completes. ParametersCallbackContext
required
Context containing final system state and minimizer reference.
