Solution (source code)

= Solution

The finite-dimensional <spectral theorem> diagonalizes the <Hermitian matrix> in its <orthonormal eigenbasis>. The <determinant> is the product of the <eigenvalues>:
$$
\boxed{\det H=\lambda_1\lambda_2.}
$$