Prove if a square root of a Herimitian positive semi-definite matrix is also Herimitian positive semi-definite, then it is unique.
Here is what I have done so far:
By the spectrum theorem, suppose $A$ and $B$ are Herimitian positive semi-definite matrices, then $A$ and $B$ can be written as $$A=Q_1D_1Q_1^*$$ $$B=Q_2D_2Q_2^*,$$ where $D_1, D_2$ are nonnegative diagonal matrices. Suppose $B^2=A$, by the similarity transformation, $D_1$~$D_2^2$.
How can I show $B$ is unique from here?