The Ministry of Defence is embarking on a year-long project into the possibilities of quantum computing.