Let us consider $N \times N$ complex matrices, with $N >2$. Let D be a diagonal matrix, with $$D_{kk} = \sin \left(\frac{2\pi k}{N}\right), \space k = 0,..N - 1$$
I am looking for two hermitian matrices $H_1$ et $H_2$, such that :
$$ [H_1, H_2] = i\space D$$,where $i$ is the imaginary unit.
Specific answers for particular low values of $N$ (3, for instance) are also welcome, if no general solution can be found.
If you can show that $\sum_{k=0}^{N-1}\sin\left(\frac{2k\pi}{N}\right)=0$, you may apply the result that every traceless skew-Hermitian matrix is the commutator of two Hermitian matrices (see here for a constructive proof).