State Fidelities (qiskit_algorithms.state_fidelities)#

Algorithms that compute the fidelity of pairs of quantum states.

State Fidelities#

BaseStateFidelity

An interface to calculate state fidelities (state overlaps) for pairs of (parametrized) quantum circuits.

ComputeUncompute

This class leverages the sampler primitive to calculate the state fidelity of two quantum circuits following the compute-uncompute method (see [1] for further reference).

Results#

StateFidelityResult

This class stores the result of StateFidelity computations.