$\DeclareMathOperator\Hom{Hom}\DeclareMathOperator\GL{GL}$Let $V, W$ be finite dimensional complex vector spaces and $M\in \Hom(V, W)$ a full rank linear map. I want to see if there exists a Lie group $G$ and representations $\pi: G \to \GL(V)$ and $\rho: G \to \GL(W)$ s.t. $\rho(g) M = M \pi(g)$. The problem is that I don't know what the group $G$ is. I'm looking for an algorithm that will find the group $G$ and the representations $\rho, \pi$ for any $M$. In case it makes things easier, I mostly care about finding unitary symmetries of $M$, meaning that $V,W$ have inner products and the representations are of the form $\pi: G \to U(V)$ and $\rho: G \to U(W)$.
Two questions:
- Is there a well defined notion of the maximal symmetry group of $M$? Obviously, the trivial group will always be a symmetry of $M$, I care about finding all the symmetries.
- Does there exist an algorithm to solve this problem? I'm imagining that the group $G$ could be constructed by finding generators. Starting with Lie algebra generators $X\in \mathfrak{gl}(V), Y\in \mathfrak{gl}(W)$ s.t. $YM = MX$. The process would start with the trivial Lie algebra and would extend it step by step until no more extensions can be found. Then, an analogous process should find all the discrete symmetries. The result should be the maximal symmetry group of $M$ together with the representations $\pi$ and $\rho$.