The quintic discrete nonlinear Schrödinger equation (QDNLS) is an important model for describing the propagation of discrete self-trapped beams in an array of weakly coupled nonlinear optical waveguides. In this paper, the QDNLS is studied and bright solitons, dark solitons, alternating phase solitons, trigonometric function periodic wave solutions and rational wave solutions with arbitrary parameters are obtained using the extended G'/G-expansion method. The linear stability of the bright soliton, the dark soliton and the rational wave solution is analyzed using the perturbation method, and the conditions that stable solitary wave solutions satisfy are presented. The stable solitary wave solutions to the QDNLS are useful in understanding the complicated physical phenomena described by QDNLS.