Quantum three-state Potts model