ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.2 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://ncatlab.org/nlab/show/error+correcting+code |
| Last Crawled | 2026-04-11 11:11:57 (5 days ago) |
| First Indexed | 2021-05-06 16:25:12 (4 years ago) |
| HTTP Status Code | 200 |
| Meta Title | error correcting code in nLab |
| Meta Description | null |
| Meta Canonical | null |
| Boilerpipe Text | Contents
Contents
Idea
Examples
References
General
Relation to 2d CFT
Idea
In
coding theory
, an
error correcting code
is a means to encode data in a way that is robust against errors (
noise
).
Very broadly, for
L
L
a
finite set
playing the role of a
space of states
that is to be saved/communicated/analyzed, an error correcting code for
L
L
is an
injection
L
↪
P
L \overset{\;\;\;}{\hookrightarrow} P
into a larger set. The idea is that noise/errors move the image of
L
L
within
P
P
, but if
P
P
is large enough and the embedding chosen well enough, then a sufficiently small number of errors stays within a small neighbourhood of
L
L
in
P
P
that allows to
retract
back to
L
L
.
The simplest example is the
repetition code
, where the inclusion is the
diagonal
on the
n
n
-fold
Cartesian product
L
↪
diag
P
≔
L
×
⋯
×
L
⏟
n
factors
ℓ
↦
(
ℓ
,
⋯
,
ℓ
)
.
\array{
L
&
\overset{diag}{\hookrightarrow}
&
P \coloneqq \underset{n \; factors}{\underbrace{L \times \cdots \times L}}
\\
\ell &\mapsto& (\ell, \cdots, \ell)
}
\,.
This code “protects against
n
/
2
−
1
n/2-1
errors” in an evident sense.
Much attention in
coding theory
is instead on the special class of
linear codes
, where
L
L
and
P
P
carry the structure of
vector spaces
(necessarily over a
finite field
if they are
finite sets
of relevance in practice) and where the inclusion
L
↪
P
L \hookrightarrow P
is a
linear map
.
Examples
linear code
Hamming code
binary linear code
binary Golay code
quantum error correcting code
bit flip code
stabilizer code
surface code
HaPPY code
Majorana dimer code
toric code
References
General
See also the references at
coding theory
and
linear code
.
Victor V. Albert
et al.,
errorcorrectionzoo.org
N. J. A. Sloane
,
Error-Correcting Codes and Cryptography
, The Mathematical Gardner, D. A. Klarner (editor), Prindle, Weber & Schmidt, Boston, MA, 1981, pp. 346-382, Reprinted in “yptologia’’, Vol. 6 (1982), 128-153 and 258-278.
An observation on classical codes preconceiving aspects of
holographic tensor network
quantum error correcting codes
:
Beni Yoshida
,
Information storage capacity of discrete spin systems
, Annals of Physics 338, 134 (2013) (
arXiv:1111.3275
)
Relation to 2d CFT
Construction of chiral
2d SCFTs
from error-correcting codes:
Davide Gaiotto
,
Theo Johnson-Freyd
,
Holomorphic SCFTs with small index
, Canadian Journal of Mathematics ,
74
2 (2022) 573-601 �
arXiv:1811.00589
,
doi:10.4153/S0008414X2100002X
�
On their
elliptic genera
Kohki Kawabata, Shinichiro Yahagi,
Elliptic genera from classical error-correcting codes
�
arXiv:2308.12592
�
Last revised on February 3, 2026 at 11:46:41.
See the
history
of this page for a list of all contributions to it. |
| Markdown | # nLab error correcting code
[Skip the Navigation Links](https://ncatlab.org/nlab/show/error+correcting+code#navEnd) \| [Home Page](https://ncatlab.org/nlab/show/HomePage "Home page") \| [All Pages](https://ncatlab.org/nlab/all_pages "List of all pages") \| [Latest Revisions](https://ncatlab.org/nlab/latest_revisions "Latest edits and page creations") \| [Discuss this page](https://nforum.ncatlab.org/discussion/12802/#Item_4 "Discuss this page in its dedicated thread on the nForum") \|
# Contents
- [Idea](https://ncatlab.org/nlab/show/error+correcting+code#idea)
- [Examples](https://ncatlab.org/nlab/show/error+correcting+code#examples)
- [References](https://ncatlab.org/nlab/show/error+correcting+code#references)
- [General](https://ncatlab.org/nlab/show/error+correcting+code#general)
- [Relation to 2d CFT](https://ncatlab.org/nlab/show/error+correcting+code#relation_to_2d_cft)
## Idea
In [coding theory](https://ncatlab.org/nlab/show/coding+theory), an *error correcting code* is a means to encode data in a way that is robust against errors ([noise](https://ncatlab.org/nlab/show/noise)).
Very broadly, for L L a [finite set](https://ncatlab.org/nlab/show/finite+set) playing the role of a [space of states](https://ncatlab.org/nlab/show/space+of+states) that is to be saved/communicated/analyzed, an error correcting code for L L is an [injection](https://ncatlab.org/nlab/show/injection) L ↪ P L \\overset{\\;\\;\\;}{\\hookrightarrow} P into a larger set. The idea is that noise/errors move the image of L L within P P, but if P P is large enough and the embedding chosen well enough, then a sufficiently small number of errors stays within a small neighbourhood of L L in P P that allows to [retract](https://ncatlab.org/nlab/show/retraction) back to L L.
The simplest example is the *repetition code*, where the inclusion is the [diagonal](https://ncatlab.org/nlab/show/diagonal) on the n n\-fold [Cartesian product](https://ncatlab.org/nlab/show/Cartesian+product)
L
↪
diag
P
≔
L
×
⋯
×
L
⏟
n
factors
ℓ
↦
(
ℓ
,
⋯
,
ℓ
)
.
\\array{ L & \\overset{diag}{\\hookrightarrow} & P \\coloneqq \\underset{n \\; factors}{\\underbrace{L \\times \\cdots \\times L}} \\\\ \\ell &\\mapsto& (\\ell, \\cdots, \\ell) } \\,.
This code “protects against n / 2 − 1 n/2-1 errors” in an evident sense.
Much attention in [coding theory](https://ncatlab.org/nlab/show/coding+theory) is instead on the special class of *[linear codes](https://ncatlab.org/nlab/show/linear+codes)*, where L L and P P carry the structure of [vector spaces](https://ncatlab.org/nlab/show/vector+spaces) (necessarily over a [finite field](https://ncatlab.org/nlab/show/finite+field) if they are [finite sets](https://ncatlab.org/nlab/show/finite+sets) of relevance in practice) and where the inclusion L ↪ P L \\hookrightarrow P is a [linear map](https://ncatlab.org/nlab/show/linear+map).
## Examples
- [linear code](https://ncatlab.org/nlab/show/linear+code)
- [Hamming code](https://ncatlab.org/nlab/show/Hamming+code)
- [binary linear code](https://ncatlab.org/nlab/show/binary+linear+code)
- [binary Golay code](https://ncatlab.org/nlab/show/binary+Golay+code)
- [quantum error correcting code](https://ncatlab.org/nlab/show/quantum+error+correcting+code)
- [bit flip code](https://ncatlab.org/nlab/show/bit+flip+code)
- [stabilizer code](https://ncatlab.org/nlab/show/stabilizer+code)
- [surface code](https://ncatlab.org/nlab/show/surface+code)
- [HaPPY code](https://ncatlab.org/nlab/show/HaPPY+code)
- [Majorana dimer code](https://ncatlab.org/nlab/show/Majorana+dimer+code)
- [toric code](https://ncatlab.org/nlab/show/toric+code)
## References
### General
See also the references at *[coding theory](https://ncatlab.org/nlab/show/coding+theory)* and *[linear code](https://ncatlab.org/nlab/show/linear+code)*.
- [Victor V. Albert](https://ncatlab.org/nlab/show/Victor+V.+Albert) et al., *[errorcorrectionzoo.org](https://errorcorrectionzoo.org/)*
- [N. J. A. Sloane](https://ncatlab.org/nlab/show/N.+J.+A.+Sloane), *Error-Correcting Codes and Cryptography*, The Mathematical Gardner, D. A. Klarner (editor), Prindle, Weber & Schmidt, Boston, MA, 1981, pp. 346-382, Reprinted in “yptologia’’, Vol. 6 (1982), 128-153 and 258-278.
An observation on classical codes preconceiving aspects of [holographic tensor network](https://ncatlab.org/nlab/show/holographic+tensor+network) [quantum error correcting codes](https://ncatlab.org/nlab/show/quantum+error+correcting+codes):
- [Beni Yoshida](https://ncatlab.org/nlab/show/Beni+Yoshida), *Information storage capacity of discrete spin systems*, Annals of Physics 338, 134 (2013) ([arXiv:1111.3275](https://arxiv.org/abs/1111.3275))
### Relation to 2d CFT
Construction of chiral [2d SCFTs](https://ncatlab.org/nlab/show/2d+SCFTs) from error-correcting codes:
- [Davide Gaiotto](https://ncatlab.org/nlab/show/Davide+Gaiotto), [Theo Johnson-Freyd](https://ncatlab.org/nlab/show/Theo+Johnson-Freyd), *Holomorphic SCFTs with small index*, Canadian Journal of Mathematics , **74** 2 (2022) 573-601 �[arXiv:1811.00589](https://arxiv.org/abs/1811.00589), [doi:10.4153/S0008414X2100002X](https://doi.org/10.4153/S0008414X2100002X)�
On their [elliptic genera](https://ncatlab.org/nlab/show/elliptic+genera)
- Kohki Kawabata, Shinichiro Yahagi, *Elliptic genera from classical error-correcting codes* �[arXiv:2308.12592](https://arxiv.org/abs/2308.12592)�
Last revised on February 3, 2026 at 11:46:41. See the [history](https://ncatlab.org/nlab/history/error+correcting+code) of this page for a list of all contributions to it.
[Edit](https://ncatlab.org/nlab/edit/error+correcting+code)[Discuss](https://nforum.ncatlab.org/discussion/12802/#Item_4)[Previous revision](https://ncatlab.org/nlab/revision/error+correcting+code/12)[Changes from previous revision](https://ncatlab.org/nlab/show/diff/error+correcting+code)[History (12 revisions)](https://ncatlab.org/nlab/history/error+correcting+code) [Cite](https://ncatlab.org/nlab/show/error+correcting+code/cite) [Print](https://ncatlab.org/nlab/print/error+correcting+code) [Source](https://ncatlab.org/nlab/source/error+correcting+code) |
| Readable Markdown | ## Contents
- [Idea](https://ncatlab.org/nlab/show/error+correcting+code#idea)
- [Examples](https://ncatlab.org/nlab/show/error+correcting+code#examples)
- [References](https://ncatlab.org/nlab/show/error+correcting+code#references)
- [General](https://ncatlab.org/nlab/show/error+correcting+code#general)
- [Relation to 2d CFT](https://ncatlab.org/nlab/show/error+correcting+code#relation_to_2d_cft)
## Idea
In [coding theory](https://ncatlab.org/nlab/show/coding+theory), an *error correcting code* is a means to encode data in a way that is robust against errors ([noise](https://ncatlab.org/nlab/show/noise)).
Very broadly, for L L a [finite set](https://ncatlab.org/nlab/show/finite+set) playing the role of a [space of states](https://ncatlab.org/nlab/show/space+of+states) that is to be saved/communicated/analyzed, an error correcting code for L L is an [injection](https://ncatlab.org/nlab/show/injection) L ↪ P L \\overset{\\;\\;\\;}{\\hookrightarrow} P into a larger set. The idea is that noise/errors move the image of L L within P P, but if P P is large enough and the embedding chosen well enough, then a sufficiently small number of errors stays within a small neighbourhood of L L in P P that allows to [retract](https://ncatlab.org/nlab/show/retraction) back to L L.
The simplest example is the *repetition code*, where the inclusion is the [diagonal](https://ncatlab.org/nlab/show/diagonal) on the n n\-fold [Cartesian product](https://ncatlab.org/nlab/show/Cartesian+product)
L ↪ diag P ≔ L × ⋯ × L ⏟ n factors ℓ ↦ ( ℓ , ⋯ , ℓ ) . \\array{ L & \\overset{diag}{\\hookrightarrow} & P \\coloneqq \\underset{n \\; factors}{\\underbrace{L \\times \\cdots \\times L}} \\\\ \\ell &\\mapsto& (\\ell, \\cdots, \\ell) } \\,.
This code “protects against n / 2 − 1 n/2-1 errors” in an evident sense.
Much attention in [coding theory](https://ncatlab.org/nlab/show/coding+theory) is instead on the special class of *[linear codes](https://ncatlab.org/nlab/show/linear+codes)*, where L L and P P carry the structure of [vector spaces](https://ncatlab.org/nlab/show/vector+spaces) (necessarily over a [finite field](https://ncatlab.org/nlab/show/finite+field) if they are [finite sets](https://ncatlab.org/nlab/show/finite+sets) of relevance in practice) and where the inclusion L ↪ P L \\hookrightarrow P is a [linear map](https://ncatlab.org/nlab/show/linear+map).
## Examples
- [linear code](https://ncatlab.org/nlab/show/linear+code)
- [Hamming code](https://ncatlab.org/nlab/show/Hamming+code)
- [binary linear code](https://ncatlab.org/nlab/show/binary+linear+code)
- [binary Golay code](https://ncatlab.org/nlab/show/binary+Golay+code)
- [quantum error correcting code](https://ncatlab.org/nlab/show/quantum+error+correcting+code)
- [bit flip code](https://ncatlab.org/nlab/show/bit+flip+code)
- [stabilizer code](https://ncatlab.org/nlab/show/stabilizer+code)
- [surface code](https://ncatlab.org/nlab/show/surface+code)
- [HaPPY code](https://ncatlab.org/nlab/show/HaPPY+code)
- [Majorana dimer code](https://ncatlab.org/nlab/show/Majorana+dimer+code)
- [toric code](https://ncatlab.org/nlab/show/toric+code)
## References
### General
See also the references at *[coding theory](https://ncatlab.org/nlab/show/coding+theory)* and *[linear code](https://ncatlab.org/nlab/show/linear+code)*.
- [Victor V. Albert](https://ncatlab.org/nlab/show/Victor+V.+Albert) et al., *[errorcorrectionzoo.org](https://errorcorrectionzoo.org/)*
- [N. J. A. Sloane](https://ncatlab.org/nlab/show/N.+J.+A.+Sloane), *Error-Correcting Codes and Cryptography*, The Mathematical Gardner, D. A. Klarner (editor), Prindle, Weber & Schmidt, Boston, MA, 1981, pp. 346-382, Reprinted in “yptologia’’, Vol. 6 (1982), 128-153 and 258-278.
An observation on classical codes preconceiving aspects of [holographic tensor network](https://ncatlab.org/nlab/show/holographic+tensor+network) [quantum error correcting codes](https://ncatlab.org/nlab/show/quantum+error+correcting+codes):
- [Beni Yoshida](https://ncatlab.org/nlab/show/Beni+Yoshida), *Information storage capacity of discrete spin systems*, Annals of Physics 338, 134 (2013) ([arXiv:1111.3275](https://arxiv.org/abs/1111.3275))
### Relation to 2d CFT
Construction of chiral [2d SCFTs](https://ncatlab.org/nlab/show/2d+SCFTs) from error-correcting codes:
- [Davide Gaiotto](https://ncatlab.org/nlab/show/Davide+Gaiotto), [Theo Johnson-Freyd](https://ncatlab.org/nlab/show/Theo+Johnson-Freyd), *Holomorphic SCFTs with small index*, Canadian Journal of Mathematics , **74** 2 (2022) 573-601 �[arXiv:1811.00589](https://arxiv.org/abs/1811.00589), [doi:10.4153/S0008414X2100002X](https://doi.org/10.4153/S0008414X2100002X)�
On their [elliptic genera](https://ncatlab.org/nlab/show/elliptic+genera)
- Kohki Kawabata, Shinichiro Yahagi, *Elliptic genera from classical error-correcting codes* �[arXiv:2308.12592](https://arxiv.org/abs/2308.12592)�
Last revised on February 3, 2026 at 11:46:41. See the [history](https://ncatlab.org/nlab/history/error+correcting+code) of this page for a list of all contributions to it. |
| Shard | 14 (laksa) |
| Root Hash | 4727794731343683214 |
| Unparsed URL | org,ncatlab!/nlab/show/error+correcting+code s443 |