Implementation of quantum logic gates with linear optical elements plays a prominent role in quantum computing due to the relatively easier manipulation and realization. We present efficient schemes to implement controlled-NOT (CNOT) gate and controlled-swap (Fredkin) gate by solely using linear optics. We encode the control qubits and target qudits in photonic polarization (two-level) and spatial degrees of freedom (
d-level), respectively. Based on the hybrid encoding, CNOT and Fredkin gates are constructed in a deterministic way without any borrowed ancillary photons or measurement-induced nonlinearities. Remarkably, the number of linear optics required to implement a CNOT gate has been reduced to one polarization beam splitter (PBS), while only
d PBSs are necessary to implement a generalized Fredkin gate. The optical depths of all schemes are reduced to one and dimension-independent. Besides, the fidelity of our three-qubit Fredkin gate is higher than 99.7\% under realistic conditions, which is higher than the previous schemes.
The errors in linear optics controlled not (C-NOT) gates are analyzed considering the polarization-dependent phase sifts, in addition to the incorrectness of the beam splitting ratios. It is shown that the phase sifts at the optical components is as crucial as other error sources discussed in the previous studies. Such a phase shift unintentionally changes the linearly-polarized photons into a elliptically polarized ones. The operators for a beam splitting device and the process matrix of the C-NOT operation including such errors are also given.
Based on electro-optic Pockels effect of periodically poled lithium niobate, different polarization-based binary all-optical logic functions: controlled-NOT, XOR, and XNOR gates were demonstrated by altering the linear polarization state of input optical signal about 90° on the polarization plant. Because the depletion of signal intensity in polarization-based logic gates is smaller than that of digital logic signal in intensity-based logic gates and almost negligible, this scheme has potential application in realizing complex logic functions by cascading several basic gates.