Let us briefly recall how one encounters an index of a complex in localization. Cohomological twisting of \(\mathcal {N}=2\)  SYM theories with a \(T^2\) -action with isolated fixed points on a simply-connected compact four-manifold \(X\)  and their localization are described in detail in [1]}, [2]} and we follow their exposition closely.
