Diagonalisation
An operator is diagonal in some basis exactly when its eigenvectors span the space, which happens whenever it has as many distinct eigenvalues as the dimension.
An operator is diagonal in some basis exactly when its eigenvectors span the space, which happens whenever it has as many distinct eigenvalues as the dimension.