Doped semiconductor