pygsti.extras.paritybenchmarking.disturbancecalc.build_basis

Contents

pygsti.extras.paritybenchmarking.disturbancecalc.build_basis#

build_basis(weight, n_bits)#

Build a basis of matrices for constructing the transition matrix T = I + sum_i a_i G_i also builds the constraint matrix, C: C . a <= 1