Analysis of microresonator-based logic gate for high-speed optical computing in integrated photonics