qiskit.algorithms.state_fidelities#

State Fidelity Interfaces (qiskit.algorithms.state_fidelities)#

State Fidelities#

BaseStateFidelity()

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

ComputeUncompute(sampler[, options, local])

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(fidelities, ...)

This class stores the result of StateFidelity computations.