Counting stabiliser codes for arbitrary dimension

Tanmay Singal, Che Chiang, Eugene Hsu, Eunsang Kim, Hsi-Sheng Goan, Min-Hsiu Hsieh

Quantum 7, 1048 (2023)


In this work, we compute the number of [[n,k]]_d stabilizer codes made up of d-dimensional qudits, for arbitrary positive integers d. In a seminal work by Gross [23] the number of [[n,k]]_d stabilizer codes was computed for the case when d is a prime (or the power of a prime, i.e., d=p^m, but when the qudits are Galois-qudits). The proof in [23] is inapplicable to the non-prime case. For our proof, we introduce a group structure to [[n,k]]_d codes, and use this in conjunction with the Chinese remainder theorem to count the number of [[n,k]]_d codes. Our work overlaps with [23] when d is a prime and in this case our results match exactly, but the results differ for the more generic case. Despite that, the overall order of magnitude of the number of stabilizer codes scales agnostic of whether the dimension is prime or non-prime. This is surprising since the method employed to count the number of stabilizer states (or more generally stabilizer codes) depends on whether d is prime or not. The cardinality of stabilizer states, which was so far known only for the prime-dimensional case (and the Galois qudit prime-power dimensional case) plays an important role as a quantifier in many topics in quantum computing. Salient among these are the resource theory of magic, design theory, de Finetti theorem for stabilizer states, the study and optimisation of the classical simulability of Clifford circuits, the study of quantum contextuality of small-dimensional systems and the study of Wigner-functions. Our work makes available this quantifier for the generic case, and thus is an important step needed to place results for quantum computing with non-prime dimensional quantum systems on the same pedestal as prime-dimensional systems.

Scroll to Top