A chromatic dispersion compensator in a single-pass and a double-pass
version is disclosed. In a single-pass version, the compensator has a
diffractive grating for spatially separating an input optical signal into
spatially spaced frequency components and a MEMS array of separate phase
shifters, each for imparting an independent phase shift to a channel
containing a range of the spatially spaced frequency components. In a
double-pass version, a retroreflector is disposed to effect a double pass
of the light beam through the grating and the phase shifters. The
arrangement is effecting in reducing chromatic dispersion of the optical
signal.