Time Evolution of a Qubit Under a Z Hamiltonian