qip::state_ops
pub fn num_indices(op: &QubitOp) -> usize
Get the number of indices represented by op
op