A device for optical information processing