Let W be a graph Laplacian (symmetric diagonally dominant, and thus PSD), and X the matrix variable.
Let $<A,B>=Tr(A^TB)$.
$$\text{Maximize}\;\; \displaystyle\sum_{i,j} w_{ij}(x^{(i)}\cdot x^{(j)})$$ $$\text{Subject to}\;\; x^{(i)}\cdot x^{(i)}=1$$
I want to write this in standard semidefinite programming form. The best I've been able to do is
$$\text{Maximize}\;\; <W, X^TX>$$ $$\text{Subject to}\;\; <A_i, X^TX>=1$$
where $A_i$ is a matrix of zeros except for a $1$ at the $i^{th}$ slot on its diagonal, and where $X^TX$ is automatically PSD. If I replace $X^TX$ with $S$ in the above SDP and require that it be PSD, then I can clearly optimize with $S$ as my variable, but there may be no $X^{*}$ which corresponds to $S^{*}$, and if there is, it's not clear how I would recover it.
Also, I'm curious what about the Laplacian ensures the convexity of $\sum_{i,j} w_{ij}(x^{(i)}\cdot x^{(j)})$, is it just the fact that it's PSD, or does it need to be diagonally dominant?