pygsti.tools.matrixtools.is_hermitian#
- is_hermitian(mx, tol=1e-09)#
Test whether mx is a hermitian matrix.
- Parameters:
mx (numpy array) – Matrix to test.
tol (float, optional) – Tolerance on absolute magitude of elements.
- Returns:
True if mx is hermitian, otherwise False.
- Return type:
bool