iqm.error_reduction_tools.rem.rem_processors.MitigationResult#

class iqm.error_reduction_tools.rem.rem_processors.MitigationResult#

Bases: TypedDict

Return type of ReadoutErrorMitigation.mitigate_counts().

Attributes

mitigated_counts

result["mitigated_counts"][i][j] is the mitigated quasi-probability distribution for circuit i under observable j.

expectation_values

result["expectation_values"][i][j] is the ZZ…Z expectation value for circuit i under observable j.

characterization_performed

True if auto-characterization ran during the call.

Methods

mitigated_counts: list[list[dict[str, float]]]#

result["mitigated_counts"][i][j] is the mitigated quasi-probability distribution for circuit i under observable j.

expectation_values: list[list[float]]#

result["expectation_values"][i][j] is the ZZ…Z expectation value for circuit i under observable j.

characterization_performed: bool#

True if auto-characterization ran during the call.