pygsti.baseobjs.basisconstructors.clgm_vectors

Contents

pygsti.baseobjs.basisconstructors.clgm_vectors#

clgm_vectors(dim)#

Get the elements (vectors) of the classical Gell-Mann basis with dimension dim

The elements of this basis are the diagonals of the un-normalized Gell-Mann basis (of the matching dimension) elements with non-zero diagonal.

Parameters:

dim (int) – dimension of the vector space.

Returns:

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

Return type:

list