I want to solve the following equation for $\mathbf{X}\in\mathbb{C}^{N\times M}$, with $M < N$:
$$\mbox{tr}(\mathbf{X}\mathbf{X}^H)\overline{\mathbf{B}}=\mbox{tr}(\mathbf{X}\mathbf{X}^H\mathbf{B})\mathbf{I}$$
where $\mathbf{B}$ is a known $N\times N$ Hermitian positive semidefinite matrix, and $\mathbf{I}$ is the identity matrix. $\overline{\mathbf{B}}$ means the complex conjugate of $\mathbf{B}$.
I have tried to express $\mathbf{B}$ as $\mathbf{B} = \mathbf{b}\mathbf{b}^H$, and got the following equation
$$ \mbox{tr}(\mathbf{X}\mathbf{X}^H)\overline{\mathbf{b}\mathbf{b}^H}=\mbox{tr}(\mathbf{X}\mathbf{X}^H\mathbf{b}\mathbf{b}^H)\mathbf{I} = \mathbf{b}^H\mathbf{X}\mathbf{X}^H\mathbf{b}\mathbf{I} $$
but still hard to solve.
I also tried to vectorize the matrix, and got
$$ \mbox{vec}^H(\mathbf{X})\mbox{vec}(\mathbf{X})\overline{\mathbf{b}\mathbf{b}^H}=\mbox{vec}^H(\mathbf{X})(\mathbf{X}^H \otimes \mathbf{I})\mbox{vec}(\mathbf{b}\mathbf{b}^H)\mathbf{I} = \mbox{vec}^H(\mathbf{X})\mbox{vec}(\mathbf{b}\mathbf{b}^H \mathbf{X}^H)\mathbf{I} $$
But I have no idea how to solve this, could someone please help me with that?