PhD on Quantum key distribution with Rydberg atoms at the University of York