Photonic computing architectures for classical and quantum information processing