Pulse shaping devices are the key elements for optical signal processing that are capable of reshaping the temporal waveform of optical pulses. The applications of pulse shaping devices include ultrahigh-speed optical telecommunication, ultrafast all-optical computing and information processing, biomedical imaging, and electronic and photonic signal/device characterization and monitoring. For these applications, ultrafast optical waveform shapers capable of synthesizing temporal waveform features down to the sub-picosecond regime are required.