HermSolver
The complex Hermitian eigendecomposition and the cone solver built on it
3/3 passed in 4ms
| Test | What it does | Result |
|---|---|---|
test_cone_duality | The certified dual on the trace-one problem is the least eigenvalue, and a loose tolerance returns a smaller dual than a tight one, never larger. | ✅ pass |
test_cone_scalar | On a diagonal problem with a closed-form optimum the cone solver reaches it. | ✅ pass |
test_eig_spectrum | herm_eig eigenvalues of pseudorandom Hermitian matrices match numpy's eigvalsh to 1e-11 with reconstruction and unitarity residuals under 1e-13, and the identity returns exact values and orthonormal vectors. | ✅ pass |