The invention discloses a
nonlinear polarization rotation effect based all-optical adding and subtracting device. The all-optical adding and subtracting device comprises a set of input polarization controllers, a set of optical attenuators, a light-combining device, a
nonlinear polarization rotation device, a light splitting device, a set of polarization controllers and a set of polarized
beam splitters. The device adopts a principle as follows: after data light and non-modulated light are simultaneously injected into a
nonlinear optical fiber or a
nonlinear waveguide, an
optical power change is introduced into a nonlinear
relative phase shift, thereby resulting in the rotation of polarization states of optical signals. At the output end of the
nonlinear optical fiber or
waveguide, the orthogonal polarization states of multiple
wavelength signals are simultaneously filtered by the light splitting device and the polarized
beam splitters, so that various basic combinational logics are completed, and an all-optical half
adder, a half-subtracter, a full
adder and a full subtracter are realized. According to the invention, the logic operation of signals is directly completed in an optical domain, so that an electronic
bottleneck is broken through, and a Tb / s-magnitude all-optical adding and subtracting operation can be realized, and therefore, the device disclosed by the invention can be applied to the fields of light-speed optical
signal processing and light-speed optical switching networks and the like.