Characterization of variational quantum algorithms using free fermions