A QUBO Framework for Team Formation