qiskit.opflow.evolutions.EvolutionFactory.build¶
- static EvolutionFactory.build(operator=None)[ソース]¶
A factory method for convenient automatic selection of an Evolution algorithm based on the Operator to be converted.
- パラメータ
operator (
Optional
[OperatorBase
]) – the Operator being evolved- 戻り値
the
EvolutionBase
best suited to evolve operator.- 戻り値の型
- 例外
ValueError – If operator is not of a composition for which we know the best Evolution method.