qiskit_ibm_runtime.options_models.ResilienceOptions
pydantic model ResilienceOptions
Bases: BaseOptionsModel
Resilience options for V2 Estimator.
Config
- validate_assignment: bool = True
- extra: str = forbid
layer_noise_model
field
Type: list[LayerNoiseModel] | None
Default value: None
Noise model specified by a collection of instructions and the noise that affects them.
measure_mitigation
field
Type: bool | None
Default value: None
Whether to enable measurement error mitigation method.
If you enable measurement mitigation, you can fine-tune its noise learning by using measure_noise_learning. See MeasureNoiseLearningOptions for all measurement mitigation noise learning options.
If measure_mitigation is None, it is determined by the according to the resilience level: it is False for resilience level 0, and True for resilience levels 1 and 2.
measure_noise_learning
field
Type: MeasureNoiseLearningOptions
Default value: MeasureNoiseLearningOptions(num_randomizations='auto')
Additional measurement noise learning options.
pec
field
Type: PecOptions
Default value: PecOptions(max_overhead=100, noise_gain='auto')
Additional probabalistic error cancellation mitigation options.
pec_mitigation
field
Type: bool
Default value: False
Whether to turn on Probabilistic Error Cancellation error mitigation method.
If you enable PEC, you can fine-tune its options by using pec. See PecOptions for additional PEC-related options.
You must also provide a noise model via noise_model when enabling PEC.
zne
field
Type: ZneOptions
Default value: ZneOptions(amplifier='gate_folding', noise_factors='auto', extrapolator=('exponential', 'linear'), extrapolated_noise_factors='auto')
Additional zero noise extrapolation mitigation options.
zne_mitigation
field
Type: bool | None
Default value: None
Whether to turn on Zero-Noise Extrapolation error mitigation method.
If you enable ZNE, you can fine-tune its options by using zne. See ZneOptions for additional ZNE related options.
If zne_mitigation is left as None, it inherits the default for the configured resilience_level: False for resilience levels 0 and 1, and True for resilience level 2.