Complete all-optical processing polarization-based binary logic gates and optical processors