I am solving a SDP problem, where serval semidefinite variables are needed.

The variables are written as follows：

variable W(M,M,K) herimitian.

Right?

“M” denotes the size of variables, “k” denotes the number of variables. The diagonal elements of W(:,:,k) should be real numbers. Then, I write “hermitian”.