The quantum N-body problem in the mean-field and semiclassical regime