pygsti.baseobjs.basisconstructors.sv_vectors

Contents

pygsti.baseobjs.basisconstructors.sv_vectors#

sv_vectors(dim)#

Get the elements (vectors) of the complex state-vector basis with dimension dim.

That is, the dim standard complex unit vectors of length dim.

Parameters:

dim (int) – dimension of the vector space.

Returns:

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

Return type:

list