Nonlinear polarization rotation in semiconductor optical amplifiers: theory and application to all-optical flip-flop memories | IEEE Journals & Magazine | IEEE Xplore