Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

qiskit.ignis.verification.rho_to_fidelity

rho_to_fidelity(rho)

GitHub(opens in a new tab)

Get fidelity given rho :type rho: float :param rho: The density matrix

Return type

float

Returns

The fidelity value for rho

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