An optical deflector comprises a photonic crystal section, a light lead-in
means for leading in light having a specific wavelength to the photonic
crystal section and an external force application means for deforming the
photonic crystal section by way of mechanical external force and changing
the angle of refraction of the light led in by the light lead-in means in
the photonic crystal section. Such an optical deflector has a compact
configuration and operates at high speed.