All-optical latches using carrier reservoir semiconductor optical amplifiers. (January 2023)