The implementation of a quantum computer requires the realization of a large
number of N-qubit unitary operations which represent the possible oracles or
which are part of the quantum algorithm. Until now there are no standard ways
to uniformly generate whole classes of N-qubit gates. We have developed a
method to generate arbitrary controlled phase shift operations with a single
network of one-qubit and two-qubit operations. This kind of network can be
adapted to various physical implementations of quantum computing and is
suitable to realize the Deutsch-Jozsa algorithm as well as Grover's search
algorithm.Comment: 4 pages. Accepted version; Journal-ref. adde