Skip to content

HermSolver ​

The complex Hermitian eigendecomposition and the cone solver built on it

3/3 passed in 4ms

TestWhat it doesResult
test_cone_dualityThe 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_scalarOn a diagonal problem with a closed-form optimum the cone solver reaches it.✅ pass
test_eig_spectrumherm_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