Variational quantum solver employing the PDS energy functional