{
  "id": "enwiki-001318177255",
  "slug": "gnu-code",
  "title": "Gnu code",
  "qid": "",
  "lead": "In quantum information, the gnu code refers to a particular family of quantum error correcting codes, with the special property of being invariant under permutations of the qubits. Given integers g (the gap), n (the occupancy), and m (the length of the code), the two codewords are : |0_{\\rm L}\\rangle = \\sum_{\\ell\\, \\textrm{even}\\atop 0\\le\\ell\\le n} \\sqrt{\\frac {2^{n-1}}} |D^m_{g\\ell}\\rangle : |1_{\\rm L}\\rangle = \\sum_{\\ell\\, \\textrm{odd}\\atop 0\\le\\ell\\le n} \\sqrt{\\frac {2^{n-1}}} |D^m_{g\\ell}\\rangle where |D^m_k\\rangle are the Dicke states consisting of a uniform superposition of all weight-k words on m qubits, e.g. : |D^4_2\\rangle = \\frac{|0011\\rangle + |0101\\rangle + |1001\\rangle + |0110\\rangle + |1010\\rangle + |1100\\rangle}{\\sqrt{6}} The real parameter u = \\frac{m}{gn} scales the length of the code. The number u needs to be at least 1. The length m = gnu , hence the name of the code. The distance of the code is the minimum of g and n . For g = n and u \\ge 1 , the gnu code is capable of correcting g-1 erasure errors, or deletion errors. The code can also correct up to \\lfloor(g-1)/2\\rfloor corrupted qubits from the property of the distance.",
  "body": "In quantum information, the gnu code refers to a particular family of quantum error correcting codes, with the special property of being invariant under permutations of the qubits. Given integers g (the gap), n (the occupancy), and m (the length of the code), the two codewords are |0_{\\rm L}\\rangle = \\sum_{\\ell\\, \\textrm{even}\\atop 0\\le\\ell\\le n} \\sqrt{\\frac {2^{n-1}}} |D^m_{g\\ell}\\rangle |1_{\\rm L}\\rangle = \\sum_{\\ell\\, \\textrm{odd}\\atop 0\\le\\ell\\le n} \\sqrt{\\frac {2^{n-1}}} |D^m_{g\\ell}\\rangle where |D^m_k\\rangle are the Dicke states consisting of a uniform superposition of all weight-k words on m qubits, e.g. |D^4_2\\rangle = \\frac{|0011\\rangle + |0101\\rangle + |1001\\rangle + |0110\\rangle + |1010\\rangle + |1100\\rangle}{\\sqrt{6}} The real parameter u = \\frac{m}{gn} scales the length of the code. The number u needs to be at least 1. The length m = gnu , hence the name of the code. The distance of the code is the minimum of g and n . For g = n and u \\ge 1 , the gnu code is capable of correcting g-1 erasure errors, or deletion errors. The code can also correct up to \\lfloor(g-1)/2\\rfloor corrupted qubits from the property of the distance. ==References==",
  "categories": [
    "22985218",
    "23118434",
    "23603337",
    "53200881"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1318177255",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1761122311.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001318177255",
    "type": "webpage",
    "title": "Gnu code",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/gnu-code",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001318177255",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1318177255",
    "note": "Immutable snapshot enwiki-001318177255"
  }
}