w(x)=exp(-Q(x)),