Scheduler Interface#

Module for the Scheduler Interface.

class SchedulerInterface[source]#

Bases: object

Abstract interface for all schedulers.

abstract hook(optimizer)[source]#

Execute custom logic associated with the scheduler instance.

This method is intended to encapsulate any additional behavior that should be triggered during the optimization process.

Parameters:

optimizer (OptimizerInterface) – The optimizer instance associated with the scheduler.

abstract property instance#

The underlying scheduler object.

Returns:

The scheduler instance.

Return type:

object