Defect centers in diamond are exceptional solid-state quantum systems that can have exceedingly long electron and nuclear spin coherence times. So far, single-qubit gates for the nitrogen nuclear spin, a two-qubit gate with a nitrogen-vacancy (NV) center electron spin, and entanglement between nearby nitrogen nuclear spins have been demonstrated. Here, we develop a scheme to implement a universal two-qubit gate between two distant nitrogen nuclear spins. Virtual excitation of an NV center that is embedded in an optical cavity can scatter a laser photon into the cavity mode; we show that this process depends on the nuclear spin state of the nitrogen atom. If two NV centers are simultaneously coupled to a common cavity mode and individually excited, virtual cavity photon exchange can mediate an effective interaction between the nuclear spin qubits, conditioned on the spin state of both nuclei, which implements a universal controlled-
Z gate. We predict operation times below $10\phantom{\rule{0.16em}{0ex}}\ensuremath{\mu}\mathrm{s}$, which is four orders of magnitude faster than the decoherence time of nuclear spin qubits in diamond.
Raman excited spin coherences were experimentally observed in N-V diamond color centers via nondegenerate four-wave mixing (NDFWM) and electromagnetically induced transparency (EIT). The maximal absorption suppression was found to be 17%, which corresponds to 70% of what is possible given the random geometric orientation of the N-V center in diamond. In the context of quantum computing in solids, this level of transparency represents the efficient preparation of quantum bits (qubits), as well as ability to perform arbitrary single qubit rotations.