In this study, we analyze the effects of thermal annealing by calculating the optical gain in the InGaN/GaN quantum well. The interdiffusion of Ga and In atoms across the interface of the well and the barrier resulting from thermal treatments is described