qiskit.aqua.operators.evolutions.EvolutionFactory
class EvolutionFactory
A factory class for convenient automatic selection of an Evolution algorithm based on the Operator to be converted.
__init__
__init__()
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__ () | Initialize self. |
build ([operator]) | A factory method for convenient automatic selection of an Evolution algorithm based on the Operator to be converted. |
build
static build(operator=None)
A factory method for convenient automatic selection of an Evolution algorithm based on the Operator to be converted.
Parameters
operator (Optional
[OperatorBase
]) – the Operator being evolved
Returns
the EvolutionBase
best suited to evolve operator.
Return type
Raises
ValueError – If operator is not of a composition for which we know the best Evolution method.
Was this page helpful?
Report a bug or request content on GitHub.