qat.quops.math_util.make_standard_matrix_basis
- qat.quops.math_util.make_standard_matrix_basis(dim)
Construct the standard matrix basis (square matrices).
- Parameters
dim (int) – dimension of the matrices
- Returns
list of basis elements
- Return type
list<np.ndarray>
Warning
If dim is big, the memory cost will be huge!