  We propose a scheme to implement the Deutsch's algorithm through
non-degenerate four-wave mixing process. By employing photon topological
charges of optical vortices, we demonstrate the ability to realize the
necessary four logic gates for all balanced and constant functions. We also
analyze the feasibility of the proposed scheme on the single photon level.
