Generation of few-cycle dissipative optical solitons in semiconductor quantum dots