If I have a wavefunction ##\Psi(X)## that is invariant under the group ##Z_2##, what specifically does that mean? There can be several operators that are representations of the group ##Z_2##, for example the operators
$$\mathbb{Z}_2=\{ \mathbb{I}, -\mathbb{I} \},$$
or
$$\mathbb{Z}_2=\{...