Mid-infrared frequency comb based on a quantum cascade laser