The problem is norm(u-A*w,2),where u is a column vector, A is a matrix, and w is a column vector. All of these are complex vectors. The constraint is that each element of w has a modulus of 1.

Thank you for your answer.

Modulus equal to 1 is a non-convex constraint.