It is shown that the Deutsch algorithm can be implemented using high-Q cavities in which the qubits are represented by single cavity modes restricted in the space spanned by the two lowest Fock states.
We propose a scheme for quantum computing using high-Q cavities in which the qubits are represented by single-cavity modes restricted in the space spanned by the two lowest Fock states. We show that single-qubit operations and universal multiple qubit gates can be implemented using atoms sequentially crossing the cavities.
We propose a scheme to implement the n -qubit Deutsch–Jozsa algorithm based on resonant interaction between the atoms and a single-mode cavity. In the scheme, the resonant transitions between two ground states and one excited state of an atom are changed alternately by adjusting the cavity frequency appropriately, and the operations required to complete the algorithm can be significantly simplified following the increment of the number of qubits. The implementation of the scheme in experiment would show the full power of quantum algorithm and would be significative and important for more complicated quantum algorithm in cavity quantum electrodynamics.