I am looking for a function $\phi$ with the properties described below:
- $\phi$ : $\mathbb{Z}_q^{n \times m} \rightarrow \mathbb{Z}_q^{n \times n}$.
$\phi(A) - \phi(B) \neq 0$ and is invertible if $A \neq B$
$\phi(A + B) = \phi(A) + \phi(B)$
Is there a function in literature or how can we design such a deterministic function which satisfies above properties?
The requirement $\phi(A) - \phi(B) \ne 0$ for $A \ne B$ is equivalent to $\phi$ being injective since $\phi(A) - \phi(B) \ne 0$ iff $\phi(A) \ne \phi(B)$.
But $\mathbb{Z}_q^{n \times m}$ has more elements than $\mathbb{Z}_q^{n \times n}$ because $m > n$. Hence no function $\phi : \mathbb{Z}_q^{n \times m} \to \mathbb{Z}_q^{n \times n}$ can be injective.