The vacuum state of QCD is a superposition of different ground states with non-tirvial topological charge $\propto n\in \mathbb{Z}$. We lable this vacuum configurations with $|{n}\rangle$. The transition amplitude is given by:
$$ \langle n|m\rangle = \int \mathcal{DA}_{n-m}\ \ \text{exp} (-iS) $$
where $\mathcal{A}_{n-m}$ denots the gauge field configuration to the topological charge $n-m$.
Maybe I missed something but I don't understand why this transition amplitude depends only on the difference $n-m$? Shouldn't one calculate the the vacuum-to-vacuum transition amplitude by the generating functional (including all configurations)?