CASPT2 study on low‐lying states of HMgO and HOMg