Function spinoza::core::xyz_expectation_value
source · 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.