I am working on the Boolean least squares problem, which comes up a lot in circuit design. In its raw form, it looks like this
$$\begin{array}{ll} \text{minimize} & \operatorname{tr}(A^TAX) - 2b^TAx + b^Tb\\ \text{subject to} & X = xx^T\\ & X_{ii} = 1\end{array}$$
This is definitely not convex because of the first constraint so when we apply a semidefinite relaxation, we can change the first constraint to this
$$\begin{bmatrix} X & x \\ x^T & 1 \end{bmatrix} \succeq 0$$
What exactly is the intuitive reason behind this? How does this new SDP constraint reflect the original constraint?