דף זה טרם תורגם. התוכן מוצג באנגלית.
CSS Codes
Classical linear codes
Classical error correcting codes were first studied in the 1940s, and many different codes are now known, with the most commonly studied and used codes falling into a category of codes known as linear codes. We'll see exactly what the word "linear" means in this context in just a moment, but a very simple way to express what linear codes are at this point is that they're stabilizer codes that happen to be classical. CSS codes are essentially pairs of classical linear codes that are combined together to create a quantum error correcting code. So, for the sake of the discussion that follows, we're going to need to understand a few basic things about classical linear codes.
Let be the binary alphabet for this entire discussion. When we refer to a classical linear code, we mean a non-empty set of binary strings of length for some positive integer which must satisfy just one basic property: if and are binary strings in then the string is also in Here, refers to the bitwise exclusive-OR of and as we encountered multiple times in the "Fundamentals of quantum algorithms" course.
In essence, when we refer to a classical error correcting code as being linear, we're thinking about binary strings of length as being -dimensional vectors, where the entries are all either or and demanding that the code itself forms a linear subspace. Instead of ordinary vector addition over the real or complex numbers, however, we're using addition modulo which is simply the exclusive-OR. That is, if we have two codewords and meaning that and are binary strings in then modulo 2, which is to say must also be a codeword in Notice, in particular, that this implication must be true even if This implies that must include the all-zero string because the bitwise exclusive-OR of any string with itself is the all-zero string.
Example: the 3-bit repetition code
The 3-bit repetition code is an example of a classical linear code. In particular, we have so, with respect to the linearity condition, there are just two possible choices for and two possible choices for It's a trivial matter to go through the four possible pairs to see that we always get a codeword when we take the bitwise exclusive-OR: