pygsti.extras.paritybenchmarking.disturbancecalc.comprehensive_transition_matrix# comprehensive_transition_matrix(v, weight, n_bits)# Build a generic weight-n transition_matrix