All-optical photonic devices are crucial for many important photonic technologies and applications, ranging from optical communication to quantum information processing. Conventional design of ...