We propose an experiment to generate deterministic entanglement between separate nitrogen-vacancy (NV) centers mediated by the mode of a photonic crystal cavity. Using numerical simulations, the applicability and robustness of the entanglement operation to parameter regimes achievable with the present technology are investigated. We find that even with moderate cavity
Q factors of
104 a concurrence of
c>0.6 can be achieved within a time of ${t}_{\mathrm{max}}\ensuremath{\approx}150$ ns, while
Q factors of
105 promise
c>0.8. Most importantly, the investigated scheme is relatively insensitive to spectral diffusion and differences between the optical transition frequencies of the used NV centers.
We investigate the non-Markovian dynamics of quantum correlation between two initially entangled nitrogen-vacancy centers (NVCs) embedded in photonic-crystal cavities (PCCs). We find that a finite quantum correlation is preserved even asymptotically when the transition frequency of the NVC is within the band gap of the PCC, which is quantitatively different from the result of approaching zero under the Born-Markovian approximation. In addition, once the transition frequency of NVC is far beyond the band gap of the PCC, the quantum correlation initially prepared in NVC will be fully transferred to the reservoirs in the long-time limit. Our result reveals that the interplay between the non-Markovian effect of the structured reservoirs and the existence of emitter-field bound state plays an essential role in such quantum correlation preservation. This feature may open new perspectives for devising active decoherence-immune solid-state optical devices.