  \begin{align*}
    A  & = \min \left(1, \frac{p_1(s_{1/2})}{p_0(s_{1/2})} \cdots \frac{p_{2L}(s_{2L-1/2})}{p_{2L-1}(s_{2L-1/2})} \right)\\
    & = \min \left(1,\frac{\exp(E_1(s_{1/2}))}{\exp(E_0(s_{1/2}))}  \cdots  \frac{\exp(E_{2L}(s_{2L-1/2}))}{\exp(E_{2L-1}(s_{2L-1/2}))} \right).
  \end{align*}
