You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/users_guide/states_and_operators.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ coherent_dm(5, 1.25)
161
161
thermal_dm(5, 1.25)
162
162
```
163
163
164
-
`QuantumToolbox` also provides a set of distance metrics for determining how close two density matrix distributions are to each other. Included are the [`fidelity`](@ref), and trace distance ([`tracedist`](@ref)).
164
+
`QuantumToolbox` also provides a set of distance metrics (see section [Entropy and Metrics](@ref doc-API:Entropy-and-Metrics) in API page) for determining how close two density matrix distributions are to each other. Included are the [`fidelity`](@ref), and trace distance ([`tracedist`](@ref)).
Here, the definition is from Nielsen & Chuang, "Quantum Computation and Quantum Information". It is the square root of the fidelity defined in R. Jozsa, Journal of Modern Optics, 41:12, 2315 (1994).
15
+
16
+
Note that `ρ` and `σ` must be either [`Ket`](@ref) or [`Operator`](@ref).
Here, the definition is from Nielsen & Chuang, "Quantum Computation and Quantum Information". It is the square root of the fidelity defined in R. Jozsa, Journal of Modern Optics, 41:12, 2315 (1994).
46
+
Calculates the Hilbert-Schmidt distance between two [`QuantumObject`](@ref):
0 commit comments