Q Factor In Optical Communication