Implementing controlled NOT gate with optical vortex