About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
ZneOptions
class ZneOptions(*args, **kwargs)
Zero noise extrapolation mitigation options. This is only used by V2 Estimator.
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.