Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

StateFidelityResult

class StateFidelityResult(fidelities, raw_fidelities, metadata, options)

GitHub

Bases: object

This class stores the result of StateFidelity computations.


Attributes

fidelities

Type: Sequence[float]

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

raw_fidelities

Type: 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

Type: Sequence[Mapping[str, Any]]

Additional information about the fidelity calculation.

options

Type: Options

Primitive runtime options for the execution of the fidelity job.

Was this page helpful?
Report a bug or request content on GitHub.