qiskit.chemistry.algorithms.pes_samplers.Extrapolator.factory¶
-
static
Extrapolator.
factory
(mode, **kwargs)[source]¶ Factory method for constructing extrapolators.
- Parameters
mode (
str
) – Extrapolator to instantiate. Can be one of: - ‘window’ - ‘poly’ - ‘diff_model’ - ‘pca’ - ‘l1’kwargs – arguments to be passed to the constructor of an extrapolator
- Return type
Extrapolator
- Returns
A newly created extrapolator instance.
- Raises
AquaError – if specified mode is unknown.