modules.applications.qml.qleet.interface.metas.AnalyzerList
- class AnalyzerList(*args: MetaLogger | MetaExplorer)
Bases:
objectContainer class, Stores a list of loggers.
All the loggers can be asked to log the information they need together. The information to be logged can be provided to the Analyzer List in one convinient function call, and all the associated functions for all the loggers get called which can accept that form of data. All the loggers can also together be moved to the next model.
- __init__(*args: MetaLogger | MetaExplorer)
Constructor for the Analyzer List Takes the list of MetaLoggers and MetaExplorers as input.
Methods
__init__(*args)Constructor for the Analyzer List Takes the list of MetaLoggers and MetaExplorers as input.
log(solver, loss)Logs the current state of model in all the loggers.
next()Moves the loggers to logging of the next model.
- log(solver: PQCSimulatedTrainer, loss: float) None
Logs the current state of model in all the loggers. Does not ask the MetaAnalyzers to log the information since they don't implement the logging interface. :type solver: PQCSimulatedTrainer :param solver: The PQC trainer whose parameters are to be logged :type loss: float :param loss: Loss value on the current epoch
- next() None
Moves the loggers to logging of the next model. Completes the logging for the current training path.