[][src]Function qip::measurement_ops::prob_magnitude

pub fn prob_magnitude<P: Precision>(
    input: &[Complex<P>],
    multithread: bool
) -> P

Get total magnitude of state.