pygsti.baseobjs.basisconstructors.cl_labels

Contents

pygsti.baseobjs.basisconstructors.cl_labels#

cl_labels(dim)#

Return the classical-basis labels based on a vector dimension.

Parameters:

dim (int) – The dimension of the basis to generate labels for (e.g. 2 for a single classical bit).

Return type:

list of strs