There is provided an optical switch for reducing an apparatus size without
making a structure for switching an output path complicated, wherein the
first reflecting member and the micromirror array, which are optically
coupled with the diffraction grating via the second reflecting member,
are arranged at the same side relative to the diffraction grating.