pygsti.baseobjs.basisconstructors.sv_labels

Contents

pygsti.baseobjs.basisconstructors.sv_labels#

sv_labels(dim)#

Return the state-vector-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 qubit represented as a state vector).

Return type:

list of strs