  We present a protocol to construct an arbitrary quantum circuit. The quantum
bits (qubits) are encoded in polarisation states of single photons. They are
stored in spatially separated dense media deposed in an optical cavity.
Specific sequences of pulses address individually the storage media to encode
the qubits and to implement a universal set of gates. The proposed protocol is
decoherence-free in the sense that spontaneous emission and cavity damping are
avoided. We discuss a coupling scheme for experimental implementation in Neon
atoms.
