Construct the standard matrix basis (square matrices).
dim (int) – dimension of the matrices
list of basis elements
list<np.ndarray>
Warning
If dim is big, the memory cost will be huge!