modules.applications.qml.training.Training

class Training

Bases: ABC

Abstract base class for training QML models.

__init__()

Methods

__init__()

start_training(input_data, config, **kwargs)

This function starts the training of QML model or deploys a pretrained model.

abstract start_training(input_data: dict, config: any, **kwargs: dict) dict

This function starts the training of QML model or deploys a pretrained model.

Parameters:
  • input_data -- A representation of the quantum machine learning model that will be trained

  • config -- Config specifying the parameters of the training (dict-like Config type defined in children)

  • kwargs -- Optional additional settings

Returns:

Solution, the time it took to compute it and some optional additional information