q5m.js - Quantum Computing Library - v0.1.1
    Preparing search index...

    Function isHermitian

    • Generic type guard to check if a matrix is Hermitian (H† = H within numerical precision). A Hermitian matrix has the property that it equals its conjugate transpose. Hermitian matrices have real eigenvalues and represent observables in quantum mechanics.

      Parameters

      • matrix: Matrix

        Matrix to check

      Returns matrix is Matrix

      True if matrix is Hermitian within numerical tolerance