Programmable photonic integrated circuit and related method of operation (Machine-translation by Google Translate, not legally binding)