Abstract: | Based on the dependence of the molecular excitation probabilities on the laser phases and amplitudes in the model of a three-mode laser interacting with a three-level molecule, we propose a scheme to implement quantum XOR logic gate and to construct quantum error prevention code. |