peropq.optimizer#

Module Contents#

Classes#

Optimizer

Class performing the optimizer.

class peropq.optimizer.Optimizer#

Class performing the optimizer.

optimize(variational_unitary, initial_guess=[])#

Perform the minimization.

param: variational_unitary ansatz used for optimization param: initial_guess initial guess for the optimization. If not provided, use the parameters of the Trotterization instead returns: the result of the optimization returns: the perturbative 2-norm

Parameters:
Return type:

tuple[scipy.optimize.OptimizeResult, float]