Question: why is q branch forbidden?
Answer: Since a hetero-nuclear diatomic molecule has only one vibrational mode, viz., stretching, it can only occur parallel to the bond axis. ... Thus, on observing the fine infrared spectrum of hetero-nuclear diatomic molecules, we only observe P and R branches. Q branches are not observed.