Author: Luis Mantilla (Xanadu resident)

How to create your own optimizer

Category: how-to | Author: Luis Mantilla (Xanadu resident)
In quantum machine learning (QML), we need to optimize parameters of a variational quantum ansatz to minimize some specified cost function. How we choose to optimize the parameters is one of the key steps of every QML workflow. Specifically, the choice of different optimizers can highly influence the parameters obtained after an optimization routine. For this reason, in this How-to blog, we will learn how to implement our own custom-built optimizer.