hermitian {QuantumOps} | R Documentation |
hermitian
Description
Determines whether an operation (matrix) is hermitian by comparing it to its adjoint
Usage
hermitian(m)
Arguments
m |
gate operation (gate) that is to be checked |
Value
boolean indicating whether matrix is hermitian or not
Examples
hermitian(matrix(c(0,1,1,0),nrow=2))
[Package QuantumOps version 3.0.1 Index]