Distinct quantum vacua of topologically ordered states can be tunneled into each other via extended operators. The possible applications include condensed matter and quantum cosmology. We present a straightforward approach to calculate the partition function on various manifolds and ground state degeneracy (GSD), mainly based on continuum/cochain topological quantum field theories (TQFTs), in any dimension. This information can be related to the counting of extended operators of bosonic/fermionic TQFTs. On the lattice scale, anyonic particles/strings live at the ends of line/surface operators. Certain systems in different dimensions are related to each other through dimensional reduction schemes, analogous to (de)categorification. Examples include spin TQFTs derived from gauging the interacting fermionic symmetry-protected topological states (with fermion parity \mathbb{Z}_2^f) of symmetry groups \mathbb{Z}_2^f and \mathbb{Z}_2^f in