mimiqcircuits.backends.optimize¶
Variational optimization of a parametric circuit on a local backend.
Functions
|
Normalize the arguments of |
|
Implementation of |
- mimiqcircuits.backends.optimize.as_experiments(experiment, initparams, kwargs)[source]¶
Normalize the arguments of
Backend.optimizeinto a list of experiments and whether a single one was given.The experiment fields (
optimizer,label,maxiters,zregister) are popped fromkwargswhen a circuit is given, so what is left is meant for execution.