modules.applications.qml.qleet.interface.metas.MetaLogger
- class MetaLogger
Bases:
ABCAbstract class to represent interface of logging. Logs the present state of the model during training.
- __init__()
Constructs the Logger object.
Methods
__init__()Constructs the Logger object.
log(solver, loss)Logs information at one timestep about either the solver or the present loss.
next()Moves the logger to analyzing the next run or model path.
plot()Plots the values logged by the logger.
- abstract log(solver: PQCSimulatedTrainer, loss: float)
Logs information at one timestep about either the solver or the present loss.
- Parameters:
solver (PQCSimulatedTrainer) -- The state of the PQC trainer at the current timestep
loss (float) -- The loss at the current timestep
- next()
Moves the logger to analyzing the next run or model path.
- abstract plot()
Plots the values logged by the logger.