Аннотация:We propose the algorithm for the quantum computer on the IBM Q platform. By this algorithm one can obtain the multiple-quantum NMR dynamics of the dimer with spins 1/2. Our algorithm includes preparation of thermodynamic equilibrium state as initial conditions for dimer and circuit for evolution under the Hamiltonian of multiple-quantum NMR experiment. Multiple-quantum coherences arise in multiple-quantum NMR experiment. Ones are connected with solid body structure and get a lot of research consequently. Intensities of these coherences are measured at end of experiment. In our algorithm the intensities of multiple-quantum coherences are evaluated by tomography of diagonal elements of final density matrix for dimer.