This follows from the question Can an Electromagnetic Gauge Transformation be Imaginary?
It's about the Hamiltonian $$H=\frac{(p-A)^2}{2m}$$ in units where $c=e=\hbar=1$. The question regarded a gauge transformation $$\Psi\rightarrow e^{i\chi}$$ where $\chi$ is defined through $$A\rightarrow A-\nabla \chi$$ with $\chi$ being complex. Obviously, $A$ is also complex in this case. A physical motivation for this is to study systems with dissipation. For example, see this paper by Nelson and Hatano: https://arxiv.org/abs/cond-mat/9705290
As pointed out in the answer https://physics.stackexchange.com/a/21608/75628, when $\chi$ is complex, then the gauge group is no longer $U(1)$. Such gauge transformations might be relevant to the field of non-Hermitian matter (or associated continuum theories).
My question is what's the correct gauge transformation in this case? More generally, what's the criterion for finding what the gauge transformation is.
Upon thinking about it, my criterion has been that observable quantities such as $\Psi^* \Psi$ should remain invariant under the gauge transformation. While for real $\chi$ this quantity is invariant if $\Psi^*\rightarrow (e^{i\chi})^\dagger$ ($\dagger$ is put here in order to generalize more easily to $SU(N)$ gauge groups), for complex $\chi$ it is invariant when $\Psi^*\rightarrow (e^{i\chi})^{-1}$ so that the real part of $\chi$ would correspond to the previous $\dagger$ and the imaginary part of it would correspond to a real exponential which would be the inverse of the real exponential coming from the gauge transformation of $\Psi$.
Now, while I'm no expert in group theory in any way, I can see that if the above reasoning is correct, the gauge group is now not compact (as is the case with $SU(N)$). So, is the above reasoning correct? If it is, how do we reconcile $\Psi^*\rightarrow (e^{i\chi})^{-1}$ along with $(\Psi)^* \rightarrow (e^{i\chi})^*=e^{-i\chi^*}$? In general, how do we find the local symmetry transformation of such a theory? What changes if the parameters of an $SU(N)$ group are complex (with the standard convention in physics being to define generators so that the parameters are real in the standard case)?