How to represent this set of positive semidefinite matrices into a cvx variable?

it should work for any number of dimensions.