qat.quops.math_util.make_standard_vector_basis

qat.quops.math_util.make_standard_vector_basis(dim)

Construct the standard vector basis.

Parameters

dim (int) – dimension of the vectors

Returns

list of basis elements

Return type

list<np.ndarray>

Warning

If dim is big, the memory cost will be huge!