To convince oneself of the validity of this commutation relation, it suffices to check it in a basis where the
(finite-dimensional) matrix
is diagonal, using the symmetry of the matrix
.