Since in Qibo the optimizers refactor is very slow (due to many older applications and examples based on the old interface), I would suggest to move the optimizers here, so that we can start integrating the automatic differentiation into the optimizers.
The first two steps I am figuring out are:
integrating automatic diff with optimizers;
add a compile method to the models, which set optimizer and loss_function, and then write a model.fit method on top of the optimizers structure.
Since in Qibo the optimizers refactor is very slow (due to many older applications and examples based on the old interface), I would suggest to move the optimizers here, so that we can start integrating the automatic differentiation into the optimizers.
The first two steps I am figuring out are:
compile
method to the models, which setoptimizer
andloss_function
, and then write amodel.fit
method on top of the optimizers structure.