Optical xor for Error Detection and Coding of QPSK I and Q Components in PPLN Waveguide