Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

EvolutionFactory

class EvolutionFactory

GitHub

A factory class for convenient automatic selection of an Evolution algorithm based on the Operator to be converted.


Methods

build

static EvolutionFactory.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

EvolutionBase

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.