Inverse methods in quantum many-body physics