Using Newton’s gravitational equation, we have been able to calculate the orbital data of the planets in the solar system more accurately, but there are deviations between these data and astronomical observations. For example, the precession of Mercury’s orbit has a deviation of 43” per century. There are two important gravitational theories in modern physics: general relativity (GR) and quantum mechanics, of which GR has given an explanation for the precession deviation of Mercury, so from the perspective of quantum mechanics, can the quantum gravity equation also be derived? Can it be verified in the calculation of planetary orbits in the solar system? This paper will explore these questions.