StateFidelityResult

class StateFidelityResult(fidelities, raw_fidelities, metadata, shots)[source]

Bases: object

This class stores the result of StateFidelity computations.

Attributes

fidelities: Sequence[float]

List of truncated fidelity values for each pair of input circuits, ensured to be in [0,1].

raw_fidelities: Sequence[float]

List of raw fidelity values for each pair of input circuits, which might not be in [0,1] depending on the error mitigation method used.

metadata: Sequence[Mapping[str, Any]]

Additional information about the fidelity calculation.

shots: int | Sequence[int]

Primitive number of shots options for the execution of the fidelity job.