Abstract
We establish a topological sum rule, , connecting the geometric phases accumulated by a two-qubit system over a complete basis of initial states to the winding number classifying its Hamiltonian. Implementations of the same gate from different topological classes must distribute these phases differently, making their distinction measurable through the Wootters concurrence. As a corollary, nontrivial topology is a necessary condition for entanglement: only Hamiltonians with access to can generate it.