Dear Herm,
Can you tell us more about the constraints you have on X? (Without constraints, trace(X'AX) might be unbounded.)
Constraints aside, the way most (all?) complex manifolds are implemented in Manopt is with a real inner product. So for example, we view C^n as essentially equivalent to R^(2n) where there is no strict distinction between real and complex parts., and the inner product is:
<A, B> = real(trace(A'*B))
Then you have the definition of a gradient: grad f(X) is the (unique) vector such that <grad f(X), U> = Df(X)[U] for all vectors U, where Df(X)[U] is the directional derivative of f at X along U.
Plugging these things together, we find that the gradient of f(X) = trace(X'AX) is 2AX (as you would expect; this is assuming A = A' (Hermitian)). There is no Wirtinger calculus to work out.
Please let us know of your experience, we'd be happy to get some feedback about uses of Manopt with complex manifolds (they get tested less often.)
Best,
Nicolas