Twisted Centralizer Codes (Muchlis, Pradananta, Astuti & Suprijanto, 2021) are defined as
C๐ฝq(A, ฮณ) = {X โ ๐ฝqnรn : AX = ฮณXA},
for A โ ๐ฝqnรn and ฮณ โ ๐ฝq.
This calculator determines the exact dimension and an explicit basis using the module-theoretic approach of Algorithm 3.13.
Input
Example: "0 1 1 1; 1 0 1 1; 1 1 0 1; 1 1 1 0" for a 4ร4 matrix over ๐ฝโ