\[Q(z+\pi)=Q(z),\]