Robust and ultrafast state preparation by ramping artificial gauge potentials