TITLE: Manifold of Density Matrices
QUESTION [15 upvotes]: Let $\mathrm{M}_{d\times d}\left(\mathbb{C}\right)$  denote the set of all $d\times d$-matrices with complex entries.
My goal is to show that the set
$\mathcal{M}:= \left\{ \rho\in \mathrm{M}_{d\times d}\left(\mathbb{C}\right) \left|\right. \ \rho\geq0 \ , \  {\rm tr}(\rho) = 1 \right\} $ can be endowed with the structure of a smooth manifold (most likely with boundary). 
I have proven that $\mathcal{M}':= \left\{ \rho\in \mathrm{M}_{d\times d}\left(\mathbb{C}\right) \left|\right. \ \rho>0 \ , \  {\rm tr}(\rho) = 1 \right\}$ is indeed a smooth manifold. My argument roughly goes like this: 
First we notice that $\mathrm{M}_{d\times d}\left(\mathbb{C}\right)$ is a $2d^{2}$-dimensional real vector space and the set $\mathrm{H}_{d\times d}\left(\mathbb{C}\right)$ of all hermitian $d\times d$ matrices with complex entries is a $d^{2}$ dimensional real vector subspace. In particular $\mathrm{H}_{d\times d}\left(\mathbb{C}\right)$ trivially
forms a $d^{2}$-dimensional manifold since it's globally diffeomorphic to $\mathbb{R}^{d^{2}}$. 
Next we want to show that the set $\mathrm{P}_{d\times d}\left(\mathbb{C}\right)$ of all positive
$d\times d$-matrices (which is a subset of $\mathrm{H}_{d\times d}\left(\mathbb{C}\right)$) is open in the relative topology of $\mathrm{H}_{d\times d}\left(\mathbb{C}\right)$.
Therefor it constitutes a $d^{2}$-dimensional manifold.
To see this we can consider the map 
\begin{align}
f: \mathrm{H}_{d\times d}\left(\mathbb{C}\right) &\rightarrow \mathbb{R}^{d^{2}} \nonumber\\
A &\mapsto \left(\lambda_{1},...,\lambda_{d^{2}}\right)
\end{align}
which maps a hermitian matrix to its eigenvalues. This map is continuous.
Since $\mathbb{R}_{>0}^{d^{2}}$ is an open set in $\mathbb{R}^{d^{2}}$ it follows that the preimage 
$f^{-1}\left(\mathbb{R}_{>0}^{d^{2}}\right)=\mathrm{P}_{d\times d}\left(\mathbb{C}\right)$ 
is also open in $\mathrm{H}_{d\times d}\left(\mathbb{C}\right)$.
Now consider the map 
\begin{align}
g: \mathrm{H}_{d\times d}\left(\mathbb{C}\right) &\rightarrow \mathbb{R} \nonumber\\
\rho &\mapsto {\rm tr}(\rho).
\end{align}
We need to show that 1 is a regular value of g. To do so we pick a $\rho\in g^{-1}(1)$. 
Next we choose a curve $\gamma: (-\epsilon,\epsilon) \rightarrow \mathcal{M}$ with
$\gamma(0) = \rho$ and $\partial_{t}\gamma(0) = A$ for some $A\in T_{\rho}\mathrm{P}_{d\times d}\left(\mathbb{C}\right)$. 
We calculate that 
\begin{equation}
dg_{\rho}A := \left.\frac{\mathrm{d}}{\mathrm{d}t}\right|_{t=0} {\rm tr}(\gamma(t)) ={\rm tr}(A).
\end{equation}
Certainly $dg_{\rho}$ is surjective. This proofs the result.
I'm wondering whether this proof can be extended to positive-semidefinite matrices since a positive-semidefinite matrix can be approximated by a sequence of positive definite matrices. I'm however not sure whether the "boundary" that we will obtain is still regular in the sense that it contains no "sharp edges". 
I would be more than happy for some suggestions and ideas.

REPLY [4 votes]: Two-by-two semidefinite matrices A (without the trace condition) form a cone with a singularity at the origin.  These can be embedded into three-by-three matrices by means of direct sum with the one-by-one matrix [1-tr(A)].  This suggests that your space will have singularities; this is turned into a proof below.
More specifically, the diagonal matrices in your space $M$ form a triangle $DEF$ in $\mathbb R^3$ in the first octant cut out by the relation $x+y+z=1$.  The three vertices $D,E,F$ are in a single orbit when one acts by conjugation.  This suggests that there might be non-smooth on the boundary of the space, as shown below.
The set of semidefinite matrices $A$ is convex because if $x^* A x\ge0$ and $x^* B x\ge0$ then also $x^* (A+B) x\ge 0$.  Thus your space is a convex set and therefore a ball topologically.  Using radial scaling you can identify it with a metric ball centered at an interior point, and pull back the smooth structure of the metric ball; in this sense, the space does admit "the structure of a smooth manifold". 
However, the boundary of the convex set itself is not smooth. This can be seen as follows.  The vertices and the edges of triangle $DEF$ above lie on the boundary of the convex set, since their determinant is zero.  Meanwhile, each interior point of the triangle is also an interior point of the convex set, since any perturbation of it is still a positive definite matrix.  If the boundary of the convex set were smooth at the vertex $D$, then the tangent plane at $D$ would in particular contain the directions $DE$ and $DF$, and would therefore also contain the entire triangle $DEF$.  But we already know that the interior points of the triangle are not on the boundary.  Hence the boundary of the convex set cannot be smooth at $D$.