CVX error: Only scalar quadratic forms can be specified in CVX

That’s a non-convex bilinear expression. If there is any hope of using CVX, you’d have to provide context to see whether there is a reformulation which works for it. But first carefully read

including the part about proving your problem is convex.