Determining the optimal communication channels of arbitrary optical systems using integrated photonic processors | Litlas