wave operator hamiltonian operator algebrician kleene operator relational operator quantum logic gate de moivre's theorem chebyshev space switching function cofactor expansion