Quantum marginal problem and N-representability