A tunable dispersion compensator in which a heater portion can be easily
constructed to reduce cost. A tunable dispersion compensator includes: an
optical fiber having a grating portion; a heating unit for heating the
grating portion to apply a temperature distribution to the grating
portion; and a control unit for controlling the temperature distribution
applied by the heating unit to control the group delay time
characteristic of the grating portion. The heating unit includes: a
heater including a single conductor having electrical resistors and which
extends in a longitudinal direction of the grating portion over at least
the entire length of the grating portion; and wirings electrically
connected with the heater in respective positions along the longitudinal
direction. The control unit supplies a voltage to each of the wirings.