All-optical temporal logic gates in localized exciton polaritons | Synapse