  In many quantum architectures the solid-state qubits, such as quantum dots or
color centers, are interfaced via emitted photons. However, the frequency of
photons emitted by solid-state systems exhibits slow uncontrollable
fluctuations over time (spectral diffusion), creating a serious problem for
implementation of the photon-mediated protocols. Here we show that a sequence
of optical pulses applied to the solid-state emitter can stabilize the emission
line at the desired frequency. We demonstrate efficiency, robustness, and
feasibility of the method analytically and numerically. Taking nitrogen-vacancy
(NV) center in diamond as an example, we show that only several pulses, with
the width of 1 ns, separated by few ns (which is not difficult to achieve) can
suppress spectral diffusion. Our method provides a simple and robust way to
greatly improve the efficiency of photon-mediated entanglement and/or coupling
to photonic cavities for solid-state qubits.
