WLJS LogoWLJS Notebook

HermitianMatrixQ

HermitianMatrixQ[m] gives True if m is explicitly Hermitian (equal to its conjugate transpose), and False otherwise.

Examples

Test for Hermitian matrix:

HermitianMatrixQ[{{1, I}, {-I, 2}}]
(* True *)

Non-Hermitian matrix:

HermitianMatrixQ[{{1, 2}, {3, 4}}]
(* False *)

Please visit the official Wolfram Language Reference for more details.

On this page