An optical element, composed of an one-dimensional photonic crystal of a
triangular prism shape and a multilayer film and a phase modulation unit
are used together, with the phase modulation unit adjacent or abutting to
a light input end surface of the optical element. Input light is
phase-modulated by the phase modulation unit in the same period and
direction as those of photonic crystal so that only specific high-order
band light can be propagated through the optical element. When this
optical element is formed in an optical waveguide, a small-size
spectroscopic device having high resolving power can be provided.