ResilienceOptionsV2
class ResilienceOptionsV2(measure_mitigation=Unset, measure_noise_learning=<factory>, zne_mitigation=Unset, zne=<factory>, pec_mitigation=Unset, pec=<factory>, layer_noise_learning=<factory>, layer_noise_model=Unset)
Bases: object
Resilience options for V2 Estimator.
Attributes
Parameters
- measure_mitigation (UnsetType | bool)
- measure_noise_learning (MeasureNoiseLearningOptions | Dict)
- zne_mitigation (UnsetType | bool)
- zne (ZneOptions | Dict)
- pec_mitigation (UnsetType | bool)
- pec (PecOptions | Dict)
- layer_noise_learning (LayerNoiseLearningOptions | Dict)
- layer_noise_model (UnsetType | NoiseLearnerResult | Sequence[LayerError])
layer_noise_learning
Type: LayerNoiseLearningOptions | Dict
Default value: FieldInfo(annotation=Union[LayerNoiseLearningOptions, Dict], required=False, default_factory=LayerNoiseLearningOptions)
Layer noise learning options. See LayerNoiseLearningOptions
for all options.
layer_noise_model
Type: UnsetType | NoiseLearnerResult | Sequence[LayerError]
Default value: Unset
A NoiseLearnerResult
or a sequence of LayerError
objects. If set, all the mitigation strategies that require noise data (e.g., PEC and PEA) skip the noise-learning stage, and instead gather the required information from layer_noise_model
. Layers whose information is missing in layer_noise_model
are treated as noiseless and their noise is not mitigated.
measure_mitigation
Type: UnsetType | bool
Default value: Unset
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.
Default: True.
measure_noise_learning
Type: MeasureNoiseLearningOptions | Dict
Default value: FieldInfo(annotation=Union[MeasureNoiseLearningOptions, Dict], required=False, default_factory=MeasureNoiseLearningOptions)
Additional measurement noise learning options. See MeasureNoiseLearningOptions
for all options.
pec
Type: PecOptions | Dict
Default value: FieldInfo(annotation=Union[PecOptions, Dict], required=False, default_factory=PecOptions)
Additional probabalistic error cancellation mitigation options. See PecOptions
for all options.
pec_mitigation
Type: UnsetType | bool
Default value: Unset
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.
Default: False.
zne
Type: ZneOptions | Dict
Default value: FieldInfo(annotation=Union[ZneOptions, Dict], required=False, default_factory=ZneOptions)
Additional zero-noise extrapolation mitigation options. See ZneOptions
for all options.
zne_mitigation
Type: UnsetType | bool
Default value: Unset
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.
Default: False.