---
title: StateFidelityResult (v0.46)
description: API reference for qiskit.algorithms.state_fidelities.StateFidelityResult in qiskit v0.46
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/0.46/qiskit.algorithms.state_fidelities.StateFidelityResult
---

# StateFidelityResult

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

[GitHub](https://github.com/qiskit/qiskit/tree/stable/0.46/qiskit/algorithms/state_fidelities/state_fidelity_result.py)

Bases: [`object`](https://docs.python.org/3/library/functions.html#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.
