toricCode(F,M)
Given a finite field F and an integer matrix M, this method produces a toric code whose lattice polytope $P$ is the convex hull of the row vectors of M. By definition, the toric code is generated by codewords obtained by evaluating the monomials corresponding to the lattice points of $P$ at the points of the algebraic torus (F*)$^m$, where $m$ is the number of columns of M.
|
|
|
|
|
|
|
The object toricCode is a method function with options.