Qiskit, Quantum Computing, Quantum Simulation.
eigenvalues of K and |m1>, |m2>, |m3> and so on, are eigenstates of K. Coming back to Zlatko’s example, if after applying X gate(s), we measure the final state with respect to the Z operator, we would expect to get either <1|Z|1> = -1 or <0|Z|0>=+1. This is because X gate flips |0> and |1> as we