pub fn qubit_expectation_value(state: &State, target: usize) -> Float
Expand description

Compute the expectation value of a qubit measurement.