qiboteam / qiboml

Quantum Machine Learning using Qibo
Apache License 2.0
11 stars 3 forks source link

Add optimizers to `qiboml` #4

Open MatteoRobbiati opened 8 months ago

MatteoRobbiati commented 8 months ago

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:

  1. integrating automatic diff with optimizers;
  2. 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.