Quantum information device based on NV center in diamond