Analog-to-digital converters using photonictechnology