Skip to main contentIBM Quantum Documentation

StateFidelityResult

qiskit.algorithms.state_fidelities.StateFidelityResult(fidelities, raw_fidelities, metadata, options)

Bases: object (opens in a new tab)

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.

options

Options

Primitive runtime options for the execution of the fidelity job.

Was this page helpful?