pygsti.baseobjs.basisconstructors.clpp_vectors

Contents

pygsti.baseobjs.basisconstructors.clpp_vectors#

clpp_vectors(dim)#

Get the elements (vectors) of the classical Pauli-product basis with dimension dim

The elements of this basis are the diagonals of the un-normalized Pauli-product basis (of the matching dimension) elements with non-zero diagonal (those using I and Z).

Parameters:

dim (int) – dimension of the vector space.

Returns:

A list of dim numpy arrays each of shape (dim,).

Return type:

list