In this work, the variation of the optical gain in the InGaN/GaN quantum well after thermal annealing is simulated. The potential profile change of the quantum well resulting from the interdiffusion of Ga and In atoms across the interface of the well and