Nonlinear optics: Towards polaritonic logic circuits