Generalized
Zp toric codes as qudit low-density parity-check codes
We generalize the Kitaev $\mathbb{Z}_p$ toric code to translation-invariant CSS stabilizer codes on a square lattice by augmenting each stabilizer with two extra qudits. Using Laurent-polynomial and Gr\"obner-basis methods, we compute the logical dimension $k$ without large parity-check matrices and systematically search stabilizer realizations and geometries for $p\in\{3,5,7,11\}$, identifying qudit low-density parity-check (LDPC) codes with optimal finite-size performance, such as $[[242,10,\leq 22]]_3$ and $[[120,6,\leq 20]]_{11}$ with $kd^2/n\le20$. Best $kd^2$ at fixed $n$ grows with $p$, fitting $kd^2=0.0541n^2\ln p+3.84n$, compatible with a Bravyi-Poulin-Terhal-type tradeoff when interaction range grows with system size.