pub fn fidelity<R>(
ideal: &HilbertState<R>,
actual: &HilbertState<R>,
) -> PropagatingEffect<R>Expand description
Causal wrapper for mechanics::fidelity_kernel.
Like born_probability, the value channel carries the plain real
fidelity in [0, 1].