Papers
Topics
Authors
Recent
Search
2000 character limit reached

Gapped Permutation-Invariant Codes

Updated 10 July 2026
  • Gapped permutation-invariant codes are families that use permutation symmetry and engineered support gaps to achieve near-maximal distances and restrict error transitions.
  • In classical settings, they employ orbit decompositions and separability conditions to derive codes with high Hamming distances, also linking to mutually orthogonal Latin squares.
  • In quantum constructions, these codes leverage Dicke state weight separations, residue classes, and orbit theory to satisfy Knill–Laflamme conditions for error suppression.

Gapped permutation-invariant codes are code families whose defining symmetry is invariance under permutations, while their error-control mechanism relies on a deliberate separation of supports. In the classical permutation-code setting, the “gap” refers to minimum distance d=n1d=n-1, i.e. a distance one below the absolute maximum nn, and the codes are often realized as unions of isometry-group orbits in SnS_n. In the quantum setting, the term typically refers to support on Dicke weights, occupation vectors, or congruence classes that are separated far enough that the relevant error operators cannot connect logical supports. These two usages share a common structural theme: symmetry reduces the analysis to orbit structure or irreducible sectors, and the gap suppresses unwanted overlaps or transitions (Janiszczak et al., 2018, Ouyang, 2013, Kubischta et al., 21 May 2026).

1. Formal settings and permutation invariance

For classical permutation codes, the ambient space is the symmetric group SnS_n equipped with the Hamming metric

dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.

A permutation code CSnC\subseteq S_n has minimum distance

d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},

and an (n,d)(n,d)-PA denotes a permutation array of length nn and distance dd. The full isometry group of nn0 is

nn1

generated by left multiplication, right multiplication, and inversion. A code is nn2-invariant if it is a union of nn3-orbits under the induced action, and orbit sizes satisfy nn4 (Janiszczak et al., 2018).

For quantum permutation-invariant codes, the ambient space is the symmetric subspace. For nn5 qudits of local dimension nn6,

nn7

with

nn8

In qubit language, the symmetric subspace is spanned by Dicke states nn9, uniform superpositions over computational basis strings of Hamming weight SnS_n0. In qudit language, the Dicke basis is indexed by compositions SnS_n1 with SnS_n2 (Kubischta et al., 21 May 2026, Bond et al., 11 Mar 2026).

Permutation invariance is therefore realized in two closely related ways. In the classical setting it is invariance under isometries or subgroup actions on SnS_n3; in the quantum setting it is invariance under tensor-factor permutations, usually restricting the code to a fully symmetric irrep. This suggests a common algebraic viewpoint in which symmetry compresses the search space, and the gap controls which transitions remain possible.

2. Meanings of the “gap”

In the classical permutation-array literature, the gap is a near-maximal distance condition. An SnS_n4-PA is one unit below the maximal possible distance SnS_n5. The paper on isometry-invariant permutation codes states explicitly that separable codes are “gapped permutation-invariant codes” with SnS_n6 very close to SnS_n7; for the main constructions, the gap ratios are SnS_n8, SnS_n9, SnS_n0, and SnS_n1 (Janiszczak et al., 2018).

A more refined classical notion is separability. An SnS_n2-PA SnS_n3 is SnS_n4-separable if it is the disjoint union of SnS_n5 codes SnS_n6, each SnS_n7 an SnS_n8-PA of cardinality SnS_n9, and

dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.0

When dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.1, this is equivalent to dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.2 mutually orthogonal Latin squares of order dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.3 (Janiszczak et al., 2018).

In quantum PI coding, the gap is a support-separation condition. Ouyang’s gnu codes occupy Dicke layers dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.4, with dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.5 supported on even dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.6 and dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.7 on odd dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.8; the supports are disjoint and spaced by at least dH(σ,τ):={i[n]:σ(i)τ(i)}=nFix(σ1τ).d_H(\sigma,\tau):=|\{i\in[n]:\sigma(i)\neq \tau(i)\}|=n-|\mathrm{Fix}(\sigma^{-1}\tau)|.9, so errors that shift Hamming weight by less than CSnC\subseteq S_n0 cannot couple the logical supports (Ouyang, 2013). The later numerical study formulates the same principle for both qubits and qudits: qubit supports lie on a gapped set CSnC\subseteq S_n1 with minimum spacing at least CSnC\subseteq S_n2, while qudit supports lie on compositions with common spacing CSnC\subseteq S_n3 in each coordinate, typically with CSnC\subseteq S_n4 for CSnC\subseteq S_n5 correctable Pauli errors (Bond et al., 11 Mar 2026).

Other quantum papers use equivalent constructions without always formalizing the term. In the CSnC\subseteq S_n6-covariant spin-code framework, logical supports occupy residue classes modulo CSnC\subseteq S_n7, so the Dicke weights of CSnC\subseteq S_n8 and CSnC\subseteq S_n9 lie in disjoint congruence classes mod d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},0; the paper states that the constructions are “precisely of that type” even though the term “gapped” is not used there (Kubischta et al., 2023). In the qudit family with parameters d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},1, the codewords are supported on the even-entry occupation layer

d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},2

so any single root move changes parity and leaves the code space, creating what the paper calls an occupation-parity barrier (Kubischta et al., 21 May 2026).

A common misconception is that “gapped” means only large blockwise distance. In this literature it can instead mean near-maximal permutation distance, arithmetic separation of Dicke weights, congruence-class separation modulo a phase order, or parity separation of occupation vectors. The unifying feature is not a single formal definition but controlled non-overlap under the target error action.

3. Classical orbit constructions and the MOLS correspondence

The 2018 construction of isometry-invariant permutation codes uses large subgroups d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},3, typically extensions of d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},4, and forms codes as unions of d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},5-orbits together with orbit decompositions of d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},6. The resulting codes are d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},7-PAs with explicit separable structure, and by the standard correspondence they yield new lower bounds for the maximum number d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},8 of mutually orthogonal Latin squares of order d(C):=min{dH(σ,τ):σ,τC, στ},d(C):=\min\{d_H(\sigma,\tau):\sigma,\tau\in C,\ \sigma\neq\tau\},9 (Janiszczak et al., 2018).

(n,d)(n,d)0 Code parameters Consequence for MOLS
35 (n,d)(n,d)1-PA, size (n,d)(n,d)2, (n,d)(n,d)3-separable (n,d)(n,d)4
48 (n,d)(n,d)5-PA, size (n,d)(n,d)6, (n,d)(n,d)7-separable (n,d)(n,d)8
63 (n,d)(n,d)9-PA, size nn0, nn1-separable nn2
96 nn3-PA, size nn4, nn5-separable nn6

For nn7, the authors take nn8, generate nn9, and use three explicit orbit representatives dd0. The orbit sizes are dd1, dd2, dd3, and dd4 splits into dd5 dd6-orbits of sizes dd7 or dd8, giving a code of size dd9 and a nn00-separable structure (Janiszczak et al., 2018).

For nn01, nn02 has order nn03, extends nn04 with index nn05, and yields orbit sizes nn06, nn07, nn08, nn09, and nn10, totaling nn11. For nn12, nn13 has order nn14, extends nn15 with index nn16, and yields orbit sizes nn17, nn18, nn19, and nn20, totaling nn21. For nn22, nn23 has order nn24, extends nn25 with index nn26, and yields orbit sizes nn27, nn28, nn29, and nn30, totaling nn31 (Janiszczak et al., 2018).

This orbit-based description is presented as an alternative to difference-matrix constructions. The paper states a one-to-one correspondence between normalized nn32-difference matrices and nn33-invariant codes of length nn34 with minimum distance nn35 containing nn36, but then emphasizes that the uniform isometry-group method can go beyond direct difference-matrix realizations and is convenient for computation in MAGMA or GAP (Janiszczak et al., 2018).

4. Quantum Dicke-gap families for Pauli, deletion, and damping errors

The earliest systematic PI construction in the provided corpus is Ouyang’s gnu family. With parameters nn37, nn38, and nn39, the block length is nn40, and the logical states are

nn41

For perfect correction of arbitrary nn42-qubit errors, the choice nn43 gives nn44, while for approximate correction of nn45 spontaneous decays one may take nn46, nn47, and nn48, giving

nn49

The gap guarantees that operators changing Hamming weight by less than nn50 cannot mix the logical supports, and the binomial weighting enforces the needed cancellations in the Knill–Laflamme conditions (Ouyang, 2013).

Deletion correction sharpened this picture. One 2021 result states that any permutation-invariant quantum code of distance nn51 can correct nn52 quantum deletions in both qubit and qudit settings, because on symmetric states the deletion channel is equivalent to partial trace over any fixed nn53 positions (Ouyang, 2021). A related 2021 construction gives explicit weight-set conditions nn54–nn55 for nn56-deletion correction and, in particular, a canonical family with

nn57

where nn58, nn59, and

nn60

For nn61, the same code simultaneously corrects up to nn62 arbitrary qubit errors and up to nn63 deletions (Shibayama et al., 2021).

The later nn64 family generalizes these constructions. It encodes one qubit into

nn65

physical qubits, with logical states supported at weights nn66 and nn67, parity-selecting which terms appear in nn68 and nn69. If nn70, nn71, and either nn72 or nn73, then the code corrects any nn74 Pauli errors; analogous inequalities give deletion and amplitude-damping correction. The paper highlights nn75 as a new optimal nn76 single-deletion-correcting code, nn77 as a nn78 PI code, and nn79 as a nn80 PI code (Aydin et al., 2023).

Shifted GNU codes introduce an additional shift nn81, replacing occupied weights nn82 by nn83 and block length nn84 by nn85, while preserving distance

nn86

For the special choice nn87, nn88, and nn89, the block length becomes nn90, and the code has transversal logical operations nn91 and nn92, where nn93 (Ouyang, 2021).

5. Representation theory, congruence classes, and occupation-parity gaps

One important development interprets gapped PI coding through representation theory rather than only through Hamming-weight arithmetic. In the spin-code framework, a code lives in a single spin-nn94 irrep and is mapped to a PI code on nn95 qubits by the Dicke bootstrap

nn96

For nn97-covariant constructions, the logical supports satisfy

nn98

with nn99. After the Dicke map, the weight supports lie in disjoint residue classes modulo SnS_n00. This residue-class gap is what makes transversal generalized phase gates act with constant phase on each logical codeword and what kills many off-diagonal error terms automatically (Kubischta et al., 2023).

The minimal SnS_n01 family in that framework has SnS_n02 qubits. For SnS_n03, the paper gives an explicit SnS_n04 code with

SnS_n05

on which transversal SnS_n06 acts as the logical gate SnS_n07. Higher-distance SnS_n08-transversal PI codes reported numerically are SnS_n09, SnS_n10, SnS_n11, SnS_n12, and SnS_n13 (Kubischta et al., 2023).

A qudit analogue replaces residue classes by occupation-parity separation. In SnS_n14, the paper constructs permutation-invariant codes with parameters SnS_n15 for every integer SnS_n16. The codewords are supported on packets inside the even-entry occupation layer

SnS_n17

which consists exactly of SnS_n18 and SnS_n19. Because any root operator changes occupation by SnS_n20 in two coordinates, no two distinct vectors in SnS_n21 are root-adjacent, so all root-error Knill–Laflamme conditions vanish automatically. The remaining Cartan conditions reduce to balancing equations on packets organized by edge-colorings of SnS_n22: midpoint packets for odd SnS_n23, and perfect matchings together with a vertex packet for even SnS_n24 (Kubischta et al., 21 May 2026).

The same paper proves minimality: for SnS_n25, no PI code with SnS_n26 can satisfy the distance-2 constraints, while for SnS_n27 such a code exists for every SnS_n28. This makes four physical qudits necessary and sufficient for a distance-two PI code encoding one logical qudit in the symmetric sector (Kubischta et al., 21 May 2026).

These representation-theoretic constructions also clarify a misconception sometimes associated with PI codes. The 2023 spin-code paper states that the only permutation-invariant stabilizer codes are the quantum repetition codes SnS_n29, but non-additive PI codes can realize much richer transversal gate groups, including binary dihedral groups and exact transversal non-Clifford phases (Kubischta et al., 2023).

6. Bounds, numerical evidence, and broader formulations

The 2026 numerical study of PI quantum codes places gapped constructions in an optimization and asymptotic context. It conjectures that qubit PI codes correcting up to SnS_n30 deletion errors obey

SnS_n31

equivalently SnS_n32 for SnS_n33, implying

SnS_n34

It further reports that minimal Pollatsek–Ruskai codes saturate this quadratic scaling numerically, and that for qudit PI codes encoding a single logical qudit, increasing physical local dimension SnS_n35 makes the required block length SnS_n36 decrease monotonically toward the quantum Singleton bound SnS_n37 (Bond et al., 11 Mar 2026).

That study also gives a semi-analytic simplicial qudit extension of Aydin–Alekseyev–Barg constructions. The decision variables are nonnegative weights SnS_n38, normalized by SnS_n39, with the remaining Knill–Laflamme constraints reduced to linear equalities. This formulation reinforces the central role of gaps: separation in Dicke weights or compositions turns orthogonality constraints into combinatorial support conditions, leaving only a smaller balancing problem (Bond et al., 11 Mar 2026).

Permutation invariance has also been used algorithmically for coherent-information optimization. A 2025 paper studies convex mixtures of i.i.d. pure states under i.i.d. channels and evaluates coherent information by Schur–Weyl block decomposition. It interprets non-orthogonal repetition-code-like inputs as statistically gapped PI constructions because the Dicke expansions of SnS_n40 and SnS_n41 are peaked at different mean Hamming weights. Using this framework, the paper reports improved lower bounds on quantum capacities for several channel families, including 2-Pauli, BB84, generalized amplitude damping, dephrasure, and damping-dephasing channels (Bhalerao et al., 13 Aug 2025).

A broader classical analogue appears in multiset coding for permutation channels. There the ambient space is the discrete simplex

SnS_n42

with metric

SnS_n43

In that setting, a “gapped permutation-invariant code” can be interpreted as a multiset code whose minimum SnS_n44-distance exceeds the error radius, and Sidon-set constructions provide both metric and algebraic separation of codewords (Kovačević et al., 2016).

Taken together, these results show that “gapped permutation-invariant codes” are not a single narrow family but a recurrent design paradigm. In classical permutation arrays, the gap is a near-maximal Hamming distance stabilized by large isometry groups and linked to MOLS. In quantum coding, the gap is usually a carefully engineered separation in Dicke weights, occupation vectors, or residue classes, used to nullify low-weight transitions and reduce the remaining constraints to symmetry-adapted balancing equations. This suggests that the enduring content of the term is methodological rather than purely definitional: exploit permutation symmetry to organize the code, and exploit support separation to make the relevant error algebra sparse.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Gapped Permutation-Invariant Codes.