prevision_quantum_nn.applications.application

Application module: contains base class for applications

Module Contents

Classes

Application Base Application class. Applications will inherite from this class.
class prevision_quantum_nn.applications.application.Application(prefix='qnn')

Base Application class. Applications will inherite from this class.

dataset

the dataset to be solved

Type:DataSet
max_num_q

maximum number of qubits/qumodes

Type:int
save_params(self)

save parameters into file

save_preprocessor(self)

save preprocessor into file

predict(self, val_features)

Predict. Returns prediction of the mode

Parameters:val_features (numpy array) – validation features
log_params(self)

logs parameters of the application at the begining of the output file