A dispersion compensator for the compensation of chromatic dispersion in a
multi-channel light signal is provided. The compensator includes a pair of
optical structures each having a waveguide and a Bragg grating provided
therein. The Bragg grating has a plurality of grating components, each
associated with one or a few of the channels to be compensated. An optical
assembly propagates the light signal sequentially through both optical
structures. The periods of the grating components are selected to allow
compensation of chromatic dispersion experienced by this particular
channel or these particular channels, thereby taking into account the
dispersion slope of the light signal. Tuning means are also provided in
order to adjust the dispersion of the grating components of each optical
structures, and proper selection of the tuning parameters allows tuning
independently both the dispersion and dispersion slope.