SDP constraints in nonlinear programm

In this case, you can add a constraint like this A^T \cdot P + P \cdot A = L \cdot L^T since your problem is already non-convex.