Skip to main contentIBM Quantum Documentation

ZneOptions

class ZneOptions(*args, **kwargs)

GitHub(opens in a new tab)

Zero noise extrapolation mitigation options.

Parameters

  • amplifier

    Which technique to use for amplifying noise. One of:

    • ”gate_folding” (default) uses 2-qubit gate folding to amplify noise. If the noise factor requires amplifying only a subset of the gates, then these gates are chosen randomly.
    • ”gate_folding_front” uses 2-qubit gate folding to amplify noise. If the noise factor requires amplifying only a subset of the gates, then these gates are selected from the front of the topologically ordered DAG circuit.
    • ”gate_folding_back” uses 2-qubit gate folding to amplify noise. If the noise factor requires amplifying only a subset of the gates, then these gates are selected from the back of the topologically ordered DAG circuit.
  • noise_factors – Noise factors to use for noise amplification. Default: (1, 3, 5).

  • extrapolator

    Extrapolator(s) to try (in order) for extrapolating to zero noise. One or more of:

    • ”linear”
    • ”exponential”
    • ”double_exponential”
    • ”polynomial_degree_(1 <= k <= 7)”

    Default: (“exponential”, “linear”).


Attributes

amplifier

Type: UnsetType | Literal['gate_folding', 'gate_folding_front', 'gate_folding_back']

Default value: Unset

extrapolator

Type: UnsetType | Literal['linear', 'exponential', 'double_exponential', 'polynomial_degree_1', 'polynomial_degree_2', 'polynomial_degree_3', 'polynomial_degree_4', 'polynomial_degree_5', 'polynomial_degree_6', 'polynomial_degree_7'] | Sequence[Literal['linear', 'exponential', 'double_exponential', 'polynomial_degree_1', 'polynomial_degree_2', 'polynomial_degree_3', 'polynomial_degree_4', 'polynomial_degree_5', 'polynomial_degree_6', 'polynomial_degree_7']]

Default value: Unset

noise_factors

Type: UnsetType | Sequence[float]

Default value: Unset


Methods

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