Universal variational quantum computation