Аннотация:We propose a qualitative model of a pair of artificial atoms: oxygen and hydrogen in a single-mode optical cavity coupled by one valent electron and immersed in a heat bath. The interaction of the electron with the cavity field depends on the state of the nuclei, which in turn is determined by the temperature of the heat bath phonon mode. The system quantum dynamics is simulated by computer. The simulation shows stability of the molecular ion as a whole and of the neutral oxygen atom and the positive hydrogen ion separately at various phonon mode temperatures.