Skip to main content
IBM Quantum Platform
Esta página pertenece a una versión antigua de Qiskit SDK y no existe en la versión más reciente. Te recomendamos que actualices a la última versión. Consulta las notas de la versión para obtener más información.

EvolutionFactory

class qiskit.opflow.evolutions.EvolutionFactory

GitHub

Bases: object

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


Methods

build

static build(operator=None)

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

Deprecated since version 0.24.0

The method qiskit.opflow.evolutions.evolution_factory.EvolutionFactory.build() is deprecated as of qiskit-terra 0.24.0. It will be removed in the Qiskit 1.0 release. For code migration guidelines, visit https://qisk.it/opflow_migration.

Parameters

operator (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.

¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.