Text this: Exact electronic states with shallow quantum circuits from global optimisation