Quantum chaos of the two-level atom