Abstract
We present a Mathematica codebase for computing ℓ-multilinear ranks (ℓ-multiranks) of multiqudit quantum states using tensor-flattening techniques. By calculating the ranks of all bipartition-induced matricizations, the method provides an efficient criterion for detecting Genuine Multipartite Entangled (GME) states in systems with local dimension d. The code automatically generates all required tensor reshapes and outputs the full ℓ-multirank profile, offering a practical tool for characterizing entanglement in high-dimensional multiqudit systems.