Nanolaser and cavity quantum electro-dynamics: