rho_to_fidelity(rho)
Get fidelity given rho :type rho: float :param rho: The density matrix
float
Return type
Returns
The fidelity value for rho
© IBM Corp., 2017-2025