FIG. 7 is a graph for explaining the principle of waveform shaping in a case where the optical element of the present invention is used as a waveform shaper having a function of waveform shaping, wherein time is plotted in the abscissa axis and the optical intensity of an incident light pulse is plotted in the ordinate axis.