A European bank has been working with KPMG and a team of scientists to apply quantum computing to portfolio optimization.