UnitaryMatrixQ
UnitaryMatrixQ(U)returns
Trueif a complex square matrixUis unitary, that is, if its conjugate transposeU^(*)is also its inverse, that is, ifU^(*).U = U.U^(*) = U.U^(-1) - 1 = IwhereIis the identity matrix.
See:
Examples
>> u = {{0, I}, {I, 0}};
>> UnitaryMatrixQ(u)TrueImplementation status
- ✅ - full supported