Photonic integrated circuits for shaped pulse laser systems by