qiskit-documentation/docs/api/qiskit/0.29/qiskit.ignis.verification.r...

25 lines
753 B
Plaintext

---
title: rho_to_fidelity (v0.29)
description: API reference for qiskit.ignis.verification.rho_to_fidelity in qiskit v0.29
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.ignis.verification.rho_to_fidelity
---
<span id="qiskit-ignis-verification-rho-to-fidelity" />
# qiskit.ignis.verification.rho\_to\_fidelity
<Function id="qiskit.ignis.verification.rho_to_fidelity" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/verification/entanglement/analysis.py" signature="rho_to_fidelity(rho)">
Get fidelity given rho :type rho: `float` :param rho: The density matrix
**Return type**
`float`
**Returns**
The fidelity value for rho
</Function>