Beams inputted from a fiber are collected by a lens and are
angular-dispersed by a VIPA. The luminous flux from the VIPA is collected
on a surface-shape variable mirror by a lens. The surface-shape variable
mirror is configured in such a way that a mirror shape can be controlled
by a piezo stage and necessary wavelength dispersion can be applied, if
necessary. Although the beam group reflected on the surface-shape
variable mirror propagates the light path backward, the beam group is
inputted to a position different from the outputted position when the
beam group enters the VIPA. Therefore, a desired wavelength dispersion
can be given to each beam group by performing control of the input
position in the VIPA for each wavelength using the surface-shape variable
mirror.