Skip to main contentIBM Quantum Documentation

ResilienceOptions

class ResilienceOptions(*args, **kwargs)

GitHub(opens in a new tab)

Resilience options for V1 primitives.

Parameters

  • noise_factors – An list of real valued noise factors that determine by what amount the circuits’ noise is amplified. Only applicable for resilience_level=2. Default: None, and (1, 3, 5) if resilience level is 2.
  • noise_amplifier – A noise amplification strategy. Currently only
  • resilience_level=2. ("LocalFoldingAmplifier" is supported Only applicable for) – Default: “LocalFoldingAmplifier”.
  • extrapolator – An extrapolation strategy. One of "LinearExtrapolator", "QuadraticExtrapolator", "CubicExtrapolator", "QuarticExtrapolator". Note that "CubicExtrapolator" and "QuarticExtrapolator" require more noise factors than the default. Only applicable for resilience_level=2. Default: None, and LinearExtrapolator if resilience level is 2.

Attributes

extrapolator

Type: Literal['LinearExtrapolator', 'QuadraticExtrapolator', 'CubicExtrapolator', 'QuarticExtrapolator'] | None

Default value: None

noise_amplifier

Type: Literal['LocalFoldingAmplifier'] | None

Default value: None

noise_factors

Type: Sequence[float] | None

Default value: None


Methods

Was this page helpful?
Report a bug or request content on GitHub.