Quantum computation with doped silicon cavities