powered by
Determines whether an operation (matrix) is hermitian by comparing it to its adjoint
hermitian(m)
gate operation (gate) that is to be checked
boolean indicating whether matrix is hermitian or not
# NOT RUN { hermitian(matrix(c(0,1,1,0),nrow=2)) # }
Run the code above in your browser using DataLab