Frequency locking of single-mode 3.5-THz quantum cascade lasers using a gas cell