pub fn run(ops: &[Op], schedule: &[usize], init: &[i64]) -> Vec<i64>
Run a schedule (a sequence of op indices) from an initial state, returning the final state.