pub fn xyz_expectation_value(
    observable: char,
    state: &State,
    targets: &[usize]
) -> Vec<Float>
Expand description

Compute the expectation value of certain observables (either X, Y, or Z) in the given state.