Hamiltonian reconstruction as metric for variational studies