  We investigate the realization of a simple solid-state quantum computer by
implementing the Deutsch-Jozsa algorithm in a system of Josephson charge
qubits. Starting from a procedure to carry out the one-qubit Deutsch-Jozsa
algorithm we show how the N-qubit version of the Bernstein-Vazirani algorithm
can be realized. For the implementation of the three-qubit Deutsch-Jozsa
algorithm we study in detail a setup which allows to produce entangled states.
