Let $n>0$, let $H_n$ be the set of $n \times n$ Hermitian matrices, and let $M_n$ the set of $n \times n$ matrices. Let
$$ K := \left\{ (a,b) \in H_n \times M_n : a + \frac12 b b^* \preceq 0 \right\},$$
where $\preceq$ is to be understood as "negative semidefinite", i.e., the opposite is positive semidefinite. I believe $K$ is a convex closed set, because its characteristic function is a Legendre transform, as shown in lemma 11 of this paper which I'm working on (I took $N = 1$).
I would like to compute, exactly or with an iterative algorithm, the projection on $K$ for the $l^2$ norm build from the Frobenius norm
$$\| (a,b) \| = \sqrt{\|a\|_F^2 + \|b\|_F^2 } ,$$
that is to solve, given $M\in H_n \times M_n $,
$$ \min_{q\in K} \|M-q\|.$$
This problem is somewhat similar to this question, where we see how to compute the projection on positive semidefinite matrices and an interesting subquestion. However, I can't conclude.
What I have done so far
I solved the problem in dimnension 1, that is compute the euclidean projection on $$K= \{(a,b) \in \mathbb R \times \mathbb C \ | \ a + \frac{|b|^2}{2} \leq 0 \}.$$ this problem can be solved using a lagrangian multiplyer and I have coded the solver.
I answered the question for the case when matrices are diagonal, that is, $M$ is a couple of diagonal matrices. The solution is a couple $q$ of diagonal matrices defined essentially by identifying $M_n^2$ with $M_n(\mathbb R^2)$ : $$p_M : \begin{array} {ccccc} M_n^2 & \to & M_n(\mathbb R^2) & \to & M_n(\mathbb R^2) & \to & M_n^2 \\ (x_1,x_2) & \mapsto & [(x_1^i,x_2^i)] & \mapsto & [p(x_1^i,x_2^i)] & \mapsto & (p_1(x_1^i,x_2^i) , p_2(x_1^i,x_2^i)) \end{array} $$ where $p : R \times \mathbb C \to R \times \mathbb C$ is the 1d projection and $p_M$ is the matrix projection i'm searching for.
I was hoping to use this to solve the problem, say, in $H_n \times H_n$, which I might be happy with, using a trick like Von Neumann's inequality like in this question. But I can't conclude if matrices don't commute, because i would actually need components of M to commute, or components of $p(M)$.
So, if anyone has any remark or hint one this, I would sure be very grateful.