Let $A\in \mathbb{C}^{ n\times n}$ be a Hermitian matrix then find a matrix $X$ such that $X^*AX=B$ where $B \in \mathbb{C}^{p \times p}$ is a given Hermitian matrix and $p< n$.