In order to observe and research on the output of laser with various gain distribution,different architectures of laser diode were applied.The MATLAB soft was used to simulate the gain distribution in the laser medium and the output of laser.Combining with some experiments,the influence of different laser output under different gain distribution can be analyzed,and the laser quality can be improved with relevant design.