We have prepared the graphene/MoS2 heterostructure by a hydrothermal method, and presented its nonlinear absorption parameters and application as a nonlinear optical modulator in the mid-infrared region. Using the nonlinear optical modulator, stable passively Q-switched operation of an Er3+-doped Zr