Near-infrared laser pulse induced amplitude modulation of terahertz quantum cascade lasers