There is this highly upvoted but unanswered post at Math.SE. I would like to try some ideas. This requires numerical experiments with Hermitian and positive definite matrices $A$, $B$, and $C$ such that $$ A+B+C=I. $$
Following this answer, I tried to generate such matrices with a translation of their Matlab algorithm:
n = 3; Do[ a = DiagonalMatrix[RandomReal[{0, 1}, n]]; R = MatrixPower[IdentityMatrix[3] - a, 1/2]; (* {U,S,V}=SingularValueDecomposition[ RandomReal[{0,1},{n,n}]+I*RandomReal[{0,1},{n,n}]]; *) U = RandomVariate[GaussianUnitaryMatrixDistribution[n]]; b = R . U . DiagonalMatrix[RandomReal[{0, 1}, n]] . ConjugateTranspose[U] . R; c = IdentityMatrix[3] - a - b; Print[PositiveDefiniteMatrixQ[#] & /@ {a, b, c}]; , {k, 10}] Unfortunately, matrix $C$ is almost never PSD. How to fix the code? Additionally, any ideas how to speed up the calculation or steer it towards matrices with a given norm of deviation from $I$ are welcome.