  The Deutsch-Jozsa algorithm is a generalization of the Deutsch algorithm
which was the first algorithm written. We present schemes to implement the
Deutsch algorithm and the Deutsch-Jozsa algorithm via cavity QED.
