A nonlinear optical waveguide may be utilized, together with arrayed
waveguide grating demultiplexer/multiplexer and thermo-optic phase
shifters, to achieve pulse compression of optical pulses. In some
embodiments, a relatively compact pulse compressor can be achieved based
on integrated planar lightwave circuit.