pub fn config_to_bits(config: &[usize]) -> Vec<bool>
Convert a binary configuration to a bitvec-style representation.