All-optical Flip-flop Operation Research Articles