pub fn ints_to_array(states: &[u128], sites: usize) -> Result<Vec<Vec<u8>>>
Convert integer states to most-significant-site-first binary rows.