Let's consider, I have an equation U(t2-t1) χ= σzχ. Here U represents the time evolution operator and χ is the spin state. Now if take log of both side, left side gives the Hamiltonian while the right side is not defined (log(-1) is not allowed). What can I do in this case to find the Hamiltonian?