CSS Codes from Dn Root Lattices: An Infinite Family with Rate 1 - 4/K

CSS Codes from D
n
Root Lattices:
Rate 1 − 4/K at Distance 3 and 4
Raghu Kulkarni
SSMTheory and Quantum Computing Group, IDrive Inc., Calabasas, CA 91302, USA
raghu@idrive.com
Abstract
The face-centered cubic lattice gives a CSS code of rate close to 2
/
3 with qubits on its edges.
We show that the construction works on every
D
n
root lattice with
n ≥
3: qubits on the
edges of the
D
n
graph on a torus of side
L
,
Z
-checks on its vertices and
X
-checks on the
points of odd coordinate sum, all of weight
K
= 2
n
(
n −
1). Every qubit lies in exactly
two
X
-checks and two
Z
-checks, so both check matrices are incidence matrices of copies
of the
D
n
graph, and the parameters follow from its cycle and cut spaces. The code is
[[
n
(
n −
1)
L
n
/
2
,
(
n −
2)(
n
+ 1)
L
n
/
2 + 2
,
3 ]] for every even
L ≥
4, with rate tending to
1
−
4
/K
, and minimum-weight decoding reduces to matching. The distance is fixed at 3 by
the triangles of the graph. Keeping only the roots
±e
i
± e
j
whose index pairs
{i, j}
form
a triangle-free graph
P
removes every triangle and gives [[
KL
n
/
4
,
(
K −
4)
L
n
/
4 + 2
,
4 ]]
codes with
K
= 4
|E
(
P
)
|
, so the rate at each check weight is unchanged. In three dimensions
this is a local [[ 2
L
3
, L
3
+ 2
,
4 ]] code with checks of weight 8. Under independent errors
it has a lower failure rate per logical qubit than blocks of the [[15
,
7
,
3]] or [[16
,
6
,
4]] codes,
which also have checks of weight 8, even with an optimal decoder for the blocks and matching
for the lattice code, while using fewer physical qubits per logical qubit. Concatenating the
D
3
, D
4
, D
5
, . . .
codes gives a family with rate above 1
/
3, distance at least 3
ℓ
after
ℓ
levels,
and a threshold under independent errors, at the cost of locality and very large blocks. The
lattice codes are surface codes with the rate of hyperbolic surface codes of equal check weight
but realized on a flat lattice; they are not topological. Scripts verify all parameters for eleven
instances and reproduce every numerical result.
1 Introduction
The face-centered cubic (FCC) arrangement of spheres was conjectured by Kepler in 1611 to be
the densest packing of equal spheres in three dimensions. Gauss proved this for lattice packings
in 1831, and Hales proved the full conjecture in 2005 [
1
], with a formal computer-checked proof
following in 2017 [
2
]. In earlier work [
3
] we showed that the same lattice, read as a graph, gives
a CSS code [
4
,
5
] with rate close to 2
/
3 at distance 3: qubits on the edges,
Z
-checks on the
vertices, and X-checks on the octahedral voids.
This paper shows that the construction works on every
D
n
root lattice with
n ≥
3 and finds
its parameters exactly. The key fact is simple. Every qubit lies in exactly two
Z
-checks, its two
endpoints, and in exactly two
X
-checks, two voids. Both check matrices are therefore incidence
matrices of graphs, and both graphs turn out to be the
D
n
graph. Everything else follows from
standard facts about the cycle space and the cut space of a graph: the number of logical qubits,
the distance, and an efficient decoder. The distance is 3 because the
D
n
graph contains triangles.
Using only the roots whose index pairs form a triangle-free graph removes every triangle and
1
raises the distance to 4, with the same rate at each check weight (Section 7). Concatenating
codes of growing
n
gives a distance that grows without bound at a rate above 1
/
3 (Section 10).
A CSS code in which every qubit lies in exactly two checks of each type is a surface code
in the sense of Bombin and Martin-Delgado [
6
] and Z´emor [
7
]: the
Z
-checks are the vertices,
the qubits the edges and the
X
-checks the faces of a closed 2-complex, and when the complex is
connected the number of logical qubits is
k
= 2
− χ
, where
χ
is its Euler characteristic. The
D
n
codes and their distance-4 variants are instances of this framework, built on a flat lattice.
Our contribution is the explicit families, their exact parameters for every
n
, the comparison with
other codes of the same check weight and distance, and the concatenated family.
Context. Kitaev’s toric code [
8
] and the surface codes [
9
] encode a fixed number of logical
qubits, so their rate goes to zero. Hypergraph product codes [
10
] reach a constant rate with a
distance that grows as the square root of the number of qubits, and recent quantum low-density
parity-check (LDPC) codes [
11
,
12
] reach constant rate and linear distance; see Ref. [
13
] for a
review. Closest to this work are hyperbolic surface codes [
14
,
15
]: a tiling of a hyperbolic surface
by
p
-gons,
q
at each vertex, gives a rate that tends to 1
−
2
/p −
2
/q
, two checks of each type per
qubit, and a distance that grows as the logarithm of the number of qubits. At fixed distance
3, quantum Hamming codes [[2
m
−
1
,
2
m
−
1
−
2
m,
3]] [
16
] have a rate that tends to 1, but
their checks are not local, and concatenating quantum Hamming codes of growing size gives a
constant rate with a distance that grows without bound [
17
]. The
D
n
codes and their distance-4
variants have the rate of the
{K, K}
hyperbolic tiling, 1
−
4
/K
, on a flat lattice in
n
dimensions,
at the price of a fixed distance, 3 or 4. For
n
= 3 the checks act on nearest neighbors in ordinary
three-dimensional space; for
n ≥
4 they are local only in
n
dimensions. The present code differs
from the four-dimensional toric code on the
D
4
lattice [
18
], which has its qubits on triangles and
a distance that grows with L.
What is and is not claimed. With all roots the distance is 3 for every
n
and
L
(Theorem 3).
Every triangle of the lattice is a logical operator, and the triangles generate all but
n
of the
k
logical classes (Proposition 1). Removing the triangles raises the distance to 4, but not further:
a 4-cycle built from a single index pair is always a logical operator (Theorem 4). The codes have
no topological order: making
L
larger adds logical qubits but not protection. They are high-rate
geometric codes of distance 3 or 4, not candidates for a fault-tolerance threshold on their own.
The concatenated codes have a threshold under independent errors, but they are not local and
their blocks are very large. The failure-rate comparison covers errors on data qubits only, not
measurement or circuit faults.
Results. (i) The construction is a CSS code for every
n ≥
3 and even
L ≥
4, and its void graph
is a copy of the
D
n
graph (Lemmas 2 and 3, Theorem 1). (ii) The code is [[
n
(
n −
1)
L
n
/
2
,
(
n −
2)(
n
+ 1)
L
n
/
2 + 2
,
3 ]] (Theorems 2 and 3). (iii) It is a surface code with
k
= 2
− χ
, and all
but
n
of its logical classes are generated by triangles (Remark 1, Proposition 1). (iv) For every
connected triangle-free graph
P
on the
n
coordinate indices, the code built from the roots of
P
is [[
KL
n
/
4
,
(
K −
4)
L
n
/
4 + 2
,
4 ]] with
K
= 4
|E
(
P
)
|
(Theorem 4). (v) Minimum-weight
decoding is a matching problem (Section 8). (vi) The codes match the rate of hyperbolic surface
codes of the same check weight, and at comparable check weight their rate is at least that of
quantum Hamming codes at distance 3 and of extended Hamming CSS codes at distance 4
(Section 9). (vii) Under independent errors, at check weight 8 the lattice code has both a higher
rate and a lower failure rate per logical qubit than the Hamming-type codes; the weight-12
2
lattice codes nearly match the rate of the weight-16 quantum Hamming code with a lower failure
rate; at weight 16 the lattice code trades a higher rate for a higher failure rate (Section 9.1).
(viii) Concatenating
D
3
, D
4
, D
5
, . . .
gives codes with rate above 1
/
3, distance at least 3
ℓ
and
a threshold under independent errors, but they are not local and their blocks grow very fast
(Section 10).
2 The D
n
root lattice
Definition 1. The D
n
root lattice is D
n
= {x ∈ Z
n
: x
1
+ ··· + x
n
≡ 0 (mod 2) }.
It is the
n
-dimensional checkerboard of points with even coordinate sum [
19
]. Its nearest
neighbors are the roots
{±e
i
± e
j
: 1 ≤ i < j ≤ n }, (1)
where
e
i
is the
i
-th unit vector. Each root has squared length 2, and there are
K
= 4
n
2
= 2
n
(
n−
1)
of them. Notable cases are
D
3
∼
=
FCC with
K
= 12, the densest packing in three dimensions [
1
];
D
4
with
K
= 24, the densest lattice packing in four dimensions [
20
]; and
D
8
⊂ E
8
with
K
= 112,
where E
8
, with K = 240, is the densest packing in eight dimensions [21].
We work on the torus (Z/LZ)
n
with L even and L ≥ 4. Its points split into
vertices: n
V
= L
n
/2 points of even sum, voids: n
O
= L
n
/2 points of odd sum.
A void
o
has 2
n
nearest vertices,
o ±e
d
for
d
= 1
, . . . , n
. They are the corners of a cross-polytope:
an octahedron for
n
= 3 and a 16-cell for
n
= 4. Two of them are antipodal if they are
o
+
e
d
and o − e
d
for the same d.
Lemma 1 (Two orbits). Under translations by
D
n
, the vertices form one orbit and the voids
form another.
Proof.
Translation by a vector of even sum keeps the parity of every point. The vertices are
D
n
itself, on which
D
n
acts transitively. The voids are the coset
e
1
+
D
n
, on which
D
n
also acts
transitively.
3 The code
Qubits. One qubit sits on each edge of the
D
n
graph, that is, on each pair of vertices that
differ by a root. For
L ≥
4 the
K
neighbors
v
+
r
of a vertex are distinct points of the torus
(Section 6), so each vertex has K edges; each edge has two ends, so
n
E
=
K
2
n
V
= n(n − 1)
L
n
2
. (2)
Z
-checks. For each vertex
v
, the
Z
-check acts on the
K
edges at
v
. The check matrix
H
Z
is
the vertex-edge incidence matrix of the D
n
graph.
X
-checks. For each void
o
, the
X
-check acts on every edge joining two non-antipodal vertices
of
o
. Two such vertices,
o
+
se
i
and
o
+
te
j
with
i
=
j
and
s, t
=
±
1, differ by
te
j
−se
i
, which is
a root, so the pair is an edge. There are
2n
2
− n
= 2
n
(
n −
1) =
K
such pairs, so every check of
either type has weight
K
. For
n
= 3 the
X
-check is the set of 12 edges of an octahedron (Fig. 1),
and the code is the FCC code of Ref. [3].
3
(a)
Z
-check on a vertex:
its
K
= 12
edges
(b)
X
-check on a void (square):
the
K
= 12
edges among its 6 vertices
(c) A vertex (black) of the void:
the two checks share
2(
n
−
1) = 4
edges
Figure 1: The construction for
n
= 3 (FCC). (a) A
Z
-check: the
K
= 12 edges at a vertex. (b)
An
X
-check: the
K
= 12 edges of the octahedron around a void (open square), joining every
pair of its 6 vertices except the 3 antipodal pairs. (c) A vertex of that octahedron (black) lies on
2(
n −
1) = 4 of the octahedron’s edges (purple). This even overlap is why the two kinds of check
commute.
4 Structure
Lemma 2 (Two checks of each type). Every qubit lies in exactly two
Z
-checks and exactly two
X
-checks. For the edge
{u, u
+
r}
with
r
=
s
i
e
i
+
s
j
e
j
, the two
X
-checks are those of the voids
u + s
i
e
i
and u + s
j
e
j
.
Proof.
The two
Z
-checks are the two endpoints. A void
o
contains the edge if
u
=
o
+
ae
p
and
u
+
r
=
o
+
be
q
with
p
=
q
. The first condition gives
o
=
u − ae
p
, and then
u
+
r − o
=
r
+
ae
p
must be a unit vector. This happens only for
p
=
i
,
a
=
−s
i
or
p
=
j
,
a
=
−s
j
, which gives the
two voids u + s
i
e
i
and u + s
j
e
j
. They differ by a root, so they are distinct on the torus.
Lemma 3 (The void graph is the
D
n
graph). Let
G
O
be the graph whose vertices are the
voids, with one edge for each qubit, joining the two voids whose
X
-checks contain it. Two voids
are joined if and only if they differ by a root, and then by exactly one edge: the voids
o
and
o
+
αe
i
+
βe
j
share only the qubit
{o
+
αe
i
, o
+
βe
j
}
. So
G
O
is a simple graph, translation by
e
1
maps it onto the D
n
graph, and H
X
is its incidence matrix.
Proof.
By Lemma 2 the two voids of the qubit
{u, u
+
s
i
e
i
+
s
j
e
j
}
differ by
s
i
e
i
− s
j
e
j
, a root.
Conversely, a qubit shared by
o
and
o
′
=
o
+
αe
i
+
βe
j
has both ends among the vertices
of both voids. The only vertices of
o
that are also vertices of
o
′
are
o
+
αe
i
=
o
′
− βe
j
and
o
+
βe
j
=
o
′
− αe
i
, and they are not antipodal for either void, so they give exactly one shared
qubit. Translation by e
1
maps voids to vertices and preserves differences.
Theorem 1 (CSS condition). H
X
H
T
Z
= 0 over F
2
for every n ≥ 3 and even L ≥ 4.
Proof.
The entry for a void
o
and a vertex
v
counts the edges of the
X
-check of
o
that end at
v
.
If
v
is not a vertex of
o
, the count is 0. If it is,
v
is joined to every vertex of
o
except itself and
its antipode, so the count is 2n − 2, which is even (Fig. 1c).
4
5 Parameters
We use three standard facts about a graph
G
and its incidence matrix
B
over
F
2
(rows are
vertices, columns are edges) [
22
, Section 1.9]. The kernel of
B
is the cycle space: the sets of
edges at which every vertex has even degree. The row space of
B
is the cut space: the sets of
edges that join a set of vertices to its complement. The rank of
B
is the number of vertices
minus the number of connected components.
Theorem 2 (Parameters). For
n ≥
3 and even
L ≥
4,
rk H
Z
=
n
V
−
1,
rk H
X
=
n
O
−
1, and
the code encodes
k = n
E
− (n
V
− 1) − (n
O
− 1) =
(n − 2)(n + 1)
2
L
n
+ 2
logical qubits. The rate is
k/n
E
= 1
−
4
/K
+ 4
/
(
n
(
n −
1)
L
n
), which tends to 1
−
4
/K
as
L
grows.
Proof.
The roots generate
D
n
, so the
D
n
graph on the torus is connected and
rk H
Z
=
n
V
−
1.
By Lemma 3,
H
X
is the incidence matrix of a copy of the same graph, so
rk H
X
=
n
O
−
1. Then
k
=
n
(
n −
1)
L
n
/
2
− L
n
+ 2 = (
n
2
− n −
2)
L
n
/
2 + 2, and
n
2
− n −
2 = (
n −
2)(
n
+ 1). Dividing
by n
E
and using K = 2n(n − 1) gives the rate.
Remark 1 (Surface-code form). Attach one 2-cell to the
D
n
graph for each void, along a closed
walk that traverses each edge of its
X
-check once; such a walk exists because the edges of an
X
-check form a connected graph in which every vertex has even degree 2(
n −
1). By Lemma 2
every edge lies on exactly two 2-cells, so this is a closed 2-complex, and the code is its surface
code [
6
,
7
]. The formula of Theorem 2 is
k
= 2
−χ
with
χ
=
n
V
−n
E
+
n
O
. More generally, any
CSS code in which every qubit lies in two checks of each type and every check has weight
K
has
2
n
E
/K
checks of each type, with at least one dependency among each, so
k ≥ n
E
(1
−
4
/K
) + 2.
The
D
n
codes meet this bound with equality: they have no redundant checks beyond the two
that every such code has.
Table 1 lists the parameters for small cases. Every entry is checked by computer (Data
Availability Statement).
Table 1: Parameters of the
D
n
codes. All have distance 3 and two checks of each type per qubit.
The first row is the [[192, 130, 3]] FCC code of Ref. [3].
Code n
E
k rate check weight K
D
3
, L = 4 192 130 67.71% 12
D
3
, L = 6 648 434 66.98% 12
D
4
, L = 4 1536 1282 83.46% 24
D
4
, L = 6 7776 6482 83.36% 24
D
5
, L = 4 10240 9218 90.02% 40
D
n
, large L n(n−1)L
n
/2
(n−2)(n+1)
2
L
n
+ 2 1 − 4/K 2n(n−1)
6 Distance
By Lemma 3 both check matrices are incidence matrices. An
X
-type logical operator is a vector
in
ker H
Z
that is not in the row space of
H
X
: a set of edges that is a cycle of the
D
n
graph but
5
not a cut of the void graph
G
O
. A
Z
-type logical operator is, in the same way, a cycle of
G
O
that is not a cut of the D
n
graph.
Theorem 3 (Distance). For every
n ≥
3 and even
L ≥
4,
d
X
=
d
Z
= 3. Every triangle of the
D
n
graph is an X-type logical operator, and every triangle of G
O
is a Z-type logical operator.
Proof.
No logical operator has weight 1 or 2. A nonzero vector of weight at most 2 in the cycle
space would be a loop or a pair of parallel edges. The
D
n
graph on the torus has neither: an
edge
{v, v
+
r}
is a loop only if
r ≡
0 (
mod L
), and two edges
{v, v
+
r}
,
{v, v
+
r
′
}
coincide
only if
r ≡ r
′
(
mod L
). Each coordinate of a root, or of a difference of two roots, lies between
−2 and 2, and L ≥ 4, so neither happens unless r = r
′
. By Lemma 3 the same holds for G
O
.
Triangles are logical operators. If
r
,
s
and
r − s
are roots, the edges of the triangle
{v, v
+
r, v
+
s}
form a cycle of weight 3. A nonzero cut of a connected vertex-transitive graph contains
at least as many edges as the degree [
23
,
24
]. Both graphs are connected (proof of Theorem 2)
and vertex-transitive (Lemma 1) with degree K ≥ 12, so every nonzero stabilizer has weight at
least 12, and the triangle is not one. The same argument applies to triangles of G
O
.
Remark 2 (Why the distance is 3). In any CSS code in which every qubit lies in exactly two
Z
-checks,
ker H
Z
is the cycle space of a graph, and a short cycle is a logical operator unless it is
a product of
X
-checks. Here every nonzero
X
-stabilizer has weight at least
K ≥
12, so every
triangle is a logical operator, and
d
= 3 is a property of the construction, not a limitation of
the analysis. A larger distance needs the short cycles to be stabilizers, as the 4-cycles of the
square-lattice toric code are, or to be absent. Section 7 removes the triangles.
Proposition 1 (Almost all logical operators are local). For every
n ≥
3 and even
L ≥
4, the
triangles of the
D
n
graph together with the
X
-stabilizers generate all but
n
of the
k
classes of
X
-type logical operators. The remaining
n
classes are represented by cycles that wind once around
the torus in a coordinate direction. The same holds for Z-type operators and the void graph.
Proof.
Every triangle lies in a small ball and so is null-homologous on the torus, and so is
every
X
-check, the edge set of one cross-polytope. Conversely, the Delaunay cells of
D
n
are
cross-polytopes and half-cubes [
19
], all of whose 2-faces are triangles of the
D
n
graph, so the
boundaries of these triangles span every null-homologous cycle. The span of the triangles is
therefore exactly the space of null-homologous cycles, it contains the
X
-stabilizers, and the
quotient of the cycle space by it is
H
1
(
T
n
;
F
2
) =
F
n
2
, spanned by the
n
coordinate windings.
The triangles thus generate
k − n
logical classes. The void graph is a translate of the
D
n
graph
(Lemma 3), so the same argument applies to it.
Remark 3 (No topological protection). There is a weight-3 logical operator at every triangle, and
the number of logical qubits grows with the volume. Only
n
of the logical classes need operators
that wrap around the torus. The codes therefore have no topological order, and making
L
larger
adds logical qubits without adding protection.
7 Distance 4 from fewer bonds
The triangles that fix the distance at 3 can be removed by keeping only some of the roots. Let
P
be a graph on the coordinate indices
{
1
, . . . , n}
, and keep the roots
±e
i
± e
j
only for the pairs
{i, j} that are edges of P :
R
P
= {±e
i
± e
j
: {i, j} ∈ E(P ) }, K = |R
P
| = 4 |E(P)|. (3)
6
The
D
n
(
P
) code is built as in Section 3 with
R
P
in place of all roots: one qubit on each edge
{v, v + r} with r ∈ R
P
, a Z-check on each vertex, and for each void o an X-check on the edges
of this graph that join two vertices of
o
. The codes of Sections 3 to 6 are the case where
P
is the
complete graph.
Theorem 4 (Distance 4). Let
n ≥
3, let
L ≥
4 be even, and let
P
be a connected graph on
{
1
, . . . , n}
. Every check of the
D
n
(
P
) code has weight
K
= 4
|E
(
P
)
|
, every qubit lies in exactly
two checks of each type, and the code is
[[ KL
n
/4, (K − 4)L
n
/4 + 2, d ]], d =
(
3 if P contains a triangle,
4 if P is triangle-free.
Proof.
Checks. The
K
roots in
R
P
are distinct modulo
L
(proof of Theorem 3), so each
Z
-check
has weight
K
. Two vertices
o
+
αe
i
and
o
+
βe
j
of a void
o
are joined exactly when
{i, j}
is an
edge of
P
, whatever the signs
α
and
β
, since their difference is a root with index pair
{i, j}
. So
the
X
-check of
o
has 4
|E
(
P
)
|
=
K
edges, and the vertex
o
+
αe
i
lies on 2
deg
P
(
i
) of them, an
even number; the checks commute as in Theorem 1. The proofs of Lemmas 2 and 3 use only the
edges they name, so they hold with
R
P
in place of all roots: every qubit lies in two
X
-checks,
and the void graph is a translate of the graph on the vertices with edges {v, v + r}, r ∈ R
P
.
Parameters. For an edge
{i, j}
of
P
,
R
P
contains
e
i
± e
j
and hence 2
e
i
. For a path
i, j, l
in
P
,
e
i
+
e
l
= (
e
i
− e
j
) + (
e
j
+
e
l
) and
e
i
− e
l
= (
e
i
+
e
j
)
−
(
e
j
+
e
l
). Since
P
is connected,
R
P
therefore generates every root, and so all of
D
n
. Both graphs are connected, and as in Theorem 2,
k = n
E
− (n
V
− 1) − (n
O
− 1) with n
E
= Kn
V
/2 = KL
n
/4 and n
V
= n
O
= L
n
/2.
Upper bounds. Both graphs are connected and vertex-transitive with degree
K ≥
4(
n−
1)
≥
8,
so every nonzero stabilizer has weight at least 8 (proof of Theorem 3). For an edge
{i, j}
of
P
,
let
a
=
e
i
+
e
j
and
b
=
e
i
−e
j
. The vertices
v
,
v
+
a
,
v
+ 2
e
i
,
v
+
b
are distinct and form a 4-cycle,
which is therefore a logical operator of weight 4; the same holds in the void graph. If
P
contains
a triangle
{i, j, l}
, the roots
e
i
−e
j
,
e
j
−e
l
and
e
l
−e
i
lie in
R
P
and sum to zero, so both graphs
contain triangles, and d = 3.
Lower bound for triangle-free
P
. As in Theorem 3, no logical operator has weight 1 or 2.
One of weight 3 would be a triangle: three roots
r, s, t ∈ R
P
with
r
+
s
+
t ≡
0 (
mod L
). Each
coordinate of
r
+
s
+
t
lies between
−
3 and 3, and
L ≥
4, so
r
+
s
+
t
= 0. A coordinate that is
nonzero in exactly one of the three roots, or in all three, is odd and cannot cancel, so every index
is used by zero or two of the three index pairs. Three pairs with this property form a triangle in
P
, which is excluded. The void graph has the same roots, so the same argument applies to it,
and d = 4.
By Mantel’s theorem, the triangle case of Tur´an’s theorem [
22
, Section 7.1], a triangle-free
graph on
n
vertices has at most
⌊n
2
/
4
⌋
edges, reached by the complete bipartite graph with
parts of sizes
⌊n/
2
⌋
and
⌈n/
2
⌉
. In dimension
n
the
D
n
(
P
) codes therefore reach check weight
4
⌊n
2
/
4
⌋
, about half the weight 2
n
(
n −
1) of the full construction. Since every code here has
two checks of each type per qubit, the rate at a given check weight is 1
−
4
/K
in both cases
(Remark 1). Raising the distance from 3 to 4 costs dimension, not rate: weight 12 takes
n
= 3 at
distance 3 but
n
= 4 at distance 4, and weight 24 takes
n
= 4 at distance 3 but
n
= 5 at distance
4. The 4-cycle in the proof is a logical operator for every
P
, so 4 is the largest distance that a
choice of P can give, and as in Remark 3 the codes are not topological.
Three dimensions. For
n
= 3 the only connected triangle-free graph is a path, say 1
−
2
−
3.
Then
R
P
consists of the 8 roots
±e
1
±e
2
and
±e
2
±e
3
: the FCC lattice of Ref. [
3
] with the four
bonds
±e
1
± e
3
removed at each site. Each
Z
-check acts on 8 bonds, and each
X
-check on the 8
7
edges that join the two apexes
o ± e
2
of an octahedron to its other four corners (Fig. 2). The
code is [[ 2
L
3
, L
3
+ 2
,
4 ]], with rate tending to 1
/
2 and checks that act on nearest neighbors in
three dimensions; the smallest case is [[128, 66, 4]]. Table 2 lists this and other instances.
(a)
Z
-check on a vertex:
its
K
= 8
edges
(b)
X
-check on a void:
the
K
= 8
edges at the two apexes
Figure 2: The three-dimensional distance-4 code,
P
the path 1
−
2
−
3, drawn with
e
2
vertical.
(a) A
Z
-check: the 8 bonds
±e
1
± e
2
and
±e
2
± e
3
at a vertex. (b) An
X
-check: the 8 edges
of the octahedron that meet one of its two apexes
o ± e
2
(red); the four dotted edges
±e
1
± e
3
around the equator are not bonds.
Table 2: Parameters of the
D
n
(
P
) codes for triangle-free
P
. All have distance 4 and two checks
of each type per qubit.
n P n
E
k rate check weight K
3 path, L = 4 128 66 51.56% 8
3 path, L = 6 432 218 50.46% 8
4 star K
1,3
, L = 4 768 514 66.93% 12
4 4-cycle, L = 4 1024 770 75.20% 16
4 4-cycle, L = 6 5184 3890 75.04% 16
5 K
2,3
, L = 4 6144 5122 83.37% 24
n any, large L KL
n
/4
K−4
4
L
n
+ 2 1 − 4/K 4|E(P )|
8 Decoding
An
X
error on a set
F
of edges flips each
Z
-check at a vertex of odd degree in
F
. The syndrome
is therefore the set
T
of those vertices, and a minimum-weight correction is a smallest set of edges
whose odd-degree vertices are exactly
T
, a minimum
T
-join. Edmonds and Johnson showed that
this can be found in polynomial time by minimum-weight perfect matching [
25
]. By Lemma 3
the same holds for
Z
errors, with the void graph in place of the
D
n
graph. Minimum-weight
decoding of the
D
n
codes is therefore the same matching problem as for the surface code, on a
denser graph: the matching runs on the complete graph over
T
, weighted by graph distance. A
single error lights up the two ends of its edge, and the unique edge joining them is the correction.
8
As for any degenerate code, minimum-weight decoding is not always the most likely correction,
so it is a practical decoder rather than an optimal one. All of this holds for the
D
n
(
P
) codes,
whose check matrices are also incidence matrices (Theorem 4).
9 Comparison with other codes
Table 3: The
D
n
codes and other CSS families. “Checks per qubit” counts
X
-checks plus
Z-checks; “flat” means built on a Euclidean lattice.
Family rate distance check wt. checks/qubit flat
Toric, surface [8, 9] → 0 ∼
√
N 4 2 + 2 yes
Hyperbolic {K, K} [14] 1 − 4/K ∼ log N K 2 + 2 no
Hypergraph product [10] constant ∼
√
N constant constant no
Good quantum LDPC [11, 12] constant ∼ N constant constant no
Quantum Hamming [16] 1 −
2m
2
m
−1
3 2
m−1
about
m
2
+
m
2
no
D
n
codes (this work) 1 − 4/K 3 K 2 + 2 yes
Extended Hamming CSS [4, 5] 1 −
2m+2
2
m
4 2
m−1
about
m+1
2
+
m+1
2
no
D
n
(P ) codes (this work) 1 − 4/K 4 K 2 + 2 yes
Concatenated Hamming [17] ≈ 0.2 3
ℓ
grows grows no
Concatenated D
n
(this work) > 1/3 ≥ 3
ℓ
grows grows no
Table 3 uses
N
for the number of qubits. The closest relatives are the hyperbolic surface
codes. A tiling of a closed hyperbolic surface by
K
-gons,
K
at each vertex, gives a surface code
with the same check weight, the same two checks of each type per qubit, and the same asymptotic
rate 1
−
4
/K
[
14
], and its distance grows as
log N
[
14
,
15
]. On these measures the hyperbolic
codes are better. What the
D
n
and
D
n
(
P
) codes offer instead is a flat, translation-invariant
geometry: an explicit periodic lattice in
n
dimensions, physically local in three dimensions for
n
= 3, in place of a hyperbolic surface that cannot be embedded in flat space without long-range
connections.
At distance 3 the other natural comparison is with quantum Hamming codes [[2
m
−
1
,
2
m
−
1
−
2
m,
3]] [
16
], whose checks have weight
w
= 2
m−1
. Their rate falls short of 1 by 2
m/
(2
m
−
1),
about
log
2
(2
w
)
/w
, while the
D
n
codes fall short by 4
/K
. Once the weight is above about 8 the
D
n
shortfall is the smaller one, and the
D
n
points lie on or above the quantum Hamming curve
(Fig. 3a). In a quantum Hamming code each qubit takes part in about
m/
2 checks of each type,
so the total grows slowly with the code, from about 4 to 5 near weight 8 to 16; in a
D
n
code it is
exactly 4 at every weight (Fig. 3b). The checks of a quantum Hamming code each act on about
half of the qubits, while the D
n
checks act on one coordination shell or one cross-polytope.
At distance 4 the corresponding comparison is the CSS code built from the extended Hamming
code [2
m
,
2
m
− m −
1
,
4], which contains its dual, the first-order Reed–Muller code. It gives
[[2
m
,
2
m
−
2
m −
2
,
4]] codes [
4
,
5
] whose checks have weight
w
= 2
m−1
, with rate short of 1 by
(
m
+ 1)
/w
, about (
log
2
w
+ 2)
/w
. This is larger than 4
/K
at every weight
K ≥
8. At weight 8
the extended Hamming code is [[16
,
6
,
4]], with rate 0.375, while the three-dimensional
D
3
(
P
)
code has rate close to 1/2; at weight 16 the rates are 0.625 and 0.75 (Fig. 3a).
9.1 Failure rate per logical qubit
The comparisons above are at equal check weight and distance, not at equal protection. A
Hamming-type code is a small block, and many copies can be laid side by side; a large lattice
9
2
2
2
3
2
4
2
5
2
6
2
7
2
8
check weight
0.0
0.2
0.4
0.6
0.8
1.0
rate (large codes)
(a) Rate against check weight
D
n
codes,
d
= 3
D
n
(
P
)
codes,
d
= 4
quantum Hamming,
d
= 3
extended Hamming CSS,
d
= 4
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
check weight
0
2
4
6
8
10
12
checks per qubit (
X
+
Z
)
(b) Checks each qubit takes part in
D
n
and
D
n
(
P
)
: exactly
2 + 2
quantum Hamming: about
m
/2 +
m
/2
extended Hamming: about
m
+ 1
2
+
m
+ 1
2
Figure 3: The
D
n
codes (distance 3) and
D
n
(
P
) codes (distance 4) against quantum Hamming
codes (distance 3) and extended Hamming CSS codes (distance 4). (a) Rate against check weight;
for the lattice codes the rate is the large-
L
value 1
−
4
/K
(gray curve), which is also the rate of
hyperbolic
{K, K}
surface codes. The
D
n
(
P
) points are, from the left,
n
= 3
,
4
,
4
,
5
,
6
,
7
,
8 with
P
a path, a star, a 4-cycle and then complete bipartite graphs with parts as equal as possible.
(b) The number of checks each qubit takes part in,
X
plus
Z
; for the Hamming-type codes it is
the average over qubits.
code is one block in which two nearby errors anywhere can cause a logical failure. To compare
them on equal terms we use the failure rate per logical qubit, 1
−
(1
−P
fail
)
1/k
, where
P
fail
is the
probability that the decoder returns the wrong logical state. Copies of a block have the same
value as one block, so this measures the cost of storing many logical qubits with either kind of
code. The noise model is an independent
X
error with probability
p
on each qubit, with perfect
syndrome measurement.
Z
errors give the same numbers for every code here, because the two
check types play symmetric roles.
Leading order. In all of these codes every nonzero stabilizer has weight at least 8: for the
lattice codes by Theorems 3 and 4, and for the Hamming-type codes because the stabilizers are
codewords of the simplex or first-order Reed–Muller code. A single error is therefore always
corrected. A weight-2 error fails only if another error of weight at most 2 has the same syndrome,
and any two such errors differ by a nontrivial logical operator, so they lie in different logical
classes. If
m
weight-2 errors share a syndrome that no single error has, every decoder fails on
at least
m −
1 of them, and minimum-weight decoding with a random choice among them fails
on exactly
m −
1; if a single error has the syndrome, all
m
fail. Summing over syndromes gives
P
fail
=
A
2
p
2
+
O
(
p
3
), so the failure rate per logical qubit is
c p
2
+
O
(
p
3
) with
c
=
A
2
/k
, and no
decoder does better at this order. For the lattice codes the failing pairs lie on a cycle of length
at most 4, which cannot wrap around a torus with
L ≥
6, so
A
2
/n
E
at
L
= 6 holds for every
larger L. Table 4 lists c.
At weight 8 the three-dimensional
D
3
(
P
) code is better than both Hamming-type codes on
both counts. It uses 2 physical qubits per logical qubit, against 2.14 for [[15
,
7
,
3]] and 2.67 for
[[16
,
6
,
4]], and its failure rate per logical qubit is 10% lower than for [[15
,
7
,
3]] blocks and 23%
lower than for [[16
,
6
,
4]] blocks. There is no Hamming-type code of weight 12; the two weight-12
lattice codes have about the rate of the weight-16 code [[31
,
21
,
3]], a coefficient 14% to 20%
lower, and checks of two-thirds the weight. At weight 16 the comparison turns: the
D
4
(
P
) code
10
Table 4: Leading-order failure rate per logical qubit,
c p
2
, under independent
X
errors with
probability p. Lattice codes are given at large L.
Code check weight distance rate c
[[15, 7, 3]] quantum Hamming 8 3 0.467 15.0
[[16, 6, 4]] extended Hamming 8 4 0.375 17.5
D
3
(P ), P a path 8 4 0.500 13.5
D
3
12 3 0.667 19.0
D
4
(P ), P a star 12 4 0.667 17.75
[[31, 21, 3]] quantum Hamming 16 3 0.677 22.1
[[32, 20, 4]] extended Hamming 16 4 0.625 23.25
D
4
(P ), P a 4-cycle 16 4 0.750 30.0
with
P
a 4-cycle has the highest rate, 0.75, but also the largest coefficient. The advantage of the
lattice codes is therefore at low check weight, not at every weight.
Finite
p
. For the block codes we compute
P
fail
exactly with an optimal (maximum-likelihood)
decoder by summing over all 2
N
X
errors. For the [[1024
,
514
,
4]] code (
D
3
(
P
),
L
= 8) we
estimate it by Monte Carlo with 5
×
10
4
samples per value of
p
, decoded by minimum-weight
perfect matching [
25
] using PyMatching [
26
]. Although its decoder is not optimal, the lattice code
has the lowest failure rate per logical qubit for every
p
from 0.002 to 0.03, and as
p
decreases it
approaches its leading-order value 13
.
5
p
2
(Fig. 4). All three curves fall below their leading-order
values at larger p because of higher-order terms.
These results are for errors on the data qubits only. They do not include measurement errors
or faults in the circuits that measure the checks, which affect both kinds of code and are left
open (Section 11).
0.002 0.005 0.01 0.02 0.03
physical error rate
p
10
11
12
13
14
15
16
17
18
19
(failure rate per logical qubit) /
p
2
[[16,6,4]] blocks, optimal decoder
[[15,7,3]] blocks, optimal decoder
[[1024,514,4]]
D
3
(
P
)
, matching
Figure 4: Failure rate per logical qubit under independent
X
errors, divided by
p
2
, for three
codes with checks of weight 8. Block codes: exact, with an optimal decoder. Lattice code
[[1024
,
514
,
4]]: Monte Carlo with matching, with one standard error shown. Dotted lines: the
leading-order values 17.5, 15.0 and 13.5 from Table 4.
11
10 Growing distance by concatenation
On a flat lattice with local checks, a constant rate forces a bounded distance [
27
], so the distance
can grow at constant rate only if locality is given up. Concatenation does this while keeping every
level a
D
n
code. The rate of the
D
n
code tends to 1 as
n
grows, fast enough that concatenating
D
3
, D
4
, D
5
, . . .
keeps a rate above 1
/
3, while the distance is multiplied by 3 at each level. This
follows the strategy of Yamasaki and Koashi, who concatenate quantum Hamming codes of
growing size [17].
Construction. Let
Q
j
be the
D
j+2
code on a torus of even side
L
j
≥
4, with parameters
[[
N
j
, k
j
,
3]] from Theorem 2. Set
C
1
=
Q
1
. For
j ≥
2, take
N
j
copies of
C
j−1
; for each logical
index
t
of
C
j−1
, encode the
t
-th logical qubits of the
N
j
copies, one from each copy, into a block
of Q
j
[28]. This gives C
j
.
Proposition 2 (Rate above 1/3, distance 3
ℓ
). C
ℓ
is a CSS code with parameters
hh
ℓ
Y
j=1
N
j
,
ℓ
Y
j=1
k
j
, d
ii
, d ≥ 3
ℓ
,
k
N
>
ℓ + 3
3(ℓ + 1)
>
1
3
.
Proof.
The counts of qubits follow from the construction, and
C
ℓ
is CSS because each level is.
For the distance, let
E
be a nontrivial logical operator of
C
j
. Restricted to any copy of
C
j−1
it
commutes with that copy’s stabilizers, so it acts on the copy as a logical operator, of weight at
least
d
(
C
j−1
) if that action is nontrivial. Its combined action on the level-
j
blocks is a nontrivial
logical operator of at least one block of
Q
j
, which acts nontrivially on at least 3 of that block’s
qubits, and these lie in 3 different copies of
C
j−1
. So
d
(
C
j
)
≥
3
d
(
C
j−1
) and
d
(
C
ℓ
)
≥
3
ℓ
. For the
rate, Theorem 2 gives k
j
/N
j
> 1 − 4/K = (n − 2)(n + 1)/(n(n − 1)) with n = j + 2, and
ℓ+2
Y
n=3
n − 2
n − 1
·
n + 1
n
=
1
ℓ + 1
·
ℓ + 3
3
.
Proposition 3 (Threshold under independent errors). Suppose each physical qubit has an
X
error independently with probability
p
, and
C
ℓ
is decoded level by level: each block of
Q
1
by
minimum weight, then each block of
Q
2
using the corrected logical qubits of the level below as its
qubits, and so on. Then every logical qubit of
C
ℓ
has an error with probability at most
p
ℓ
, where
p
0
= p and p
j
=
N
j
2
p
2
j−1
. If
p < p
∗
=
Y
j≥1
N
j
2
−2
−j
,
which is positive, then p
ℓ
→ 0 doubly exponentially in ℓ. The same holds for Z errors.
Proof.
A block of
Q
j
has distance 3, so minimum-weight decoding corrects it whenever at most
one of its qubits has an error. The qubits of a level-
j
block come from different copies of
C
j−1
,
which act on disjoint sets of physical qubits, so their errors are independent, and by induction
each has probability at most
p
j−1
. The probability that at least two have errors is at most
N
j
2
p
2
j−1
, and it bounds the error probability of each logical qubit of the block. Taking logarithms,
2
−ℓ
log p
ℓ
=
log p
+
P
j≤ℓ
2
−j
log
N
j
2
. The sum converges because
log N
j
grows linearly in
j
, so
p
ℓ
→
0 when
p < p
∗
. For a CSS code,
X
errors are decoded with the
Z
-checks alone, so the
argument applies to each error type separately.
12
Table 5: Concatenated codes
C
ℓ
with
L
j
= 4 at every level, and concatenated quantum Hamming
codes with m = 4, 5, . . . for comparison. Both have distance at least 3
ℓ
.
D
3
, D
4
, . . . concatenated Hamming concatenated
ℓ d ≥ N k rate N rate
1 3 192 130 0.677 15 0.467
2 9 294 912 166 660 0.565 465 0.316
3 27 3.0 × 10
9
1.5 × 10
9
0.509 29 295 0.256
4 81 1.9 × 10
14
8.8 × 10
13
0.475 3.7 × 10
6
0.228
∞ > 1/3 ≈ 0.197
Table 5 lists the first levels. Compared with concatenated quantum Hamming codes at the
same distance, the
D
n
concatenation has 1.5 to 2 times the rate, above 1
/
3 in the limit instead
of about 0.2, but its blocks are much larger: at distance 27 it needs 3
×
10
9
qubits, against about
3
×
10
4
. The block size grows as
Q
j
4
j+2
, so the distance 3
ℓ
grows only as
exp
(Θ(
√
log N
)).
The checks of the higher levels act on logical operators of the levels below, so the concatenated
code is neither local nor of bounded check weight, and the threshold bound of Proposition 3,
p
∗
≈
1
.
1
×
10
−6
for
L
j
= 4, is loose because it counts every pair of errors in a block as a failure.
The construction answers whether the
D
n
family can reach a growing distance at constant rate,
but at present block sizes it is a statement about asymptotics rather than a practical code.
Concatenation of small high-rate codes, as in the many-hypercube codes [
29
], is the practical
version of this idea.
11 Open problems
Larger distance on a flat lattice. Theorem 4 reaches distance 4 by removing the triangles, and
no choice of
P
does better, because a 4-cycle built from a single index pair is always a logical
operator. Going further needs the 4-cycles to be stabilizers or to be absent, for example by using
other subsets of the roots. Hyperbolic surface codes reach rate 1
−
4
/K
with growing distance;
whether a flat lattice can carry a surface code with a rate near 1
−
4
/K
and a distance above
4 is open. A distance that grows at constant rate is ruled out for local checks [
27
]; Section 10
reaches it by giving up locality.
The
E
8
lattice.
E
8
has
K
= 240 and contains points with half-integer coordinates, so the
vertex and void structure used here does not carry over directly. Whether an analogous code
exists, which by the count of Remark 1 would have rate close to 1
−
4
/
240 = 59
/
60 if it kept two
checks of each type per qubit, is open.
Measuring the checks. The checks have weight 12 for
n
= 3 and 24 for
n
= 4, and 8 for the
three-dimensional distance-4 code. At distance 3 or 4, a single fault that spreads to two data
qubits can already cause a logical error, so measuring these checks fault-tolerantly needs flag
qubits [
30
] or a careful choice of CNOT order. Working this out, repeating the comparison of
Section 9.1 under circuit noise, and finding equivalent codes with smaller checks, is open.
12 Conclusion
The construction that gives a code of rate close to 2
/
3 on the FCC lattice [
3
] works on every
D
n
root lattice. Because every qubit lies in exactly two checks of each type, both check matrices are
13
incidence matrices of the
D
n
graph, and the code is [[
n
(
n −
1)
L
n
/
2
,
(
n −
2)(
n
+ 1)
L
n
/
2 + 2
,
3 ]]
for every
n ≥
3 and even
L ≥
4. The rate tends to 1
−
4
/K
, the distance is fixed at 3 by the
triangles of the lattice, and minimum-weight decoding is a matching problem. Keeping only the
roots of a triangle-free graph of index pairs removes the triangles and raises the distance to 4
with the same rate at each check weight, including a local three-dimensional [[ 2
L
3
, L
3
+ 2
,
4 ]]
code with checks of weight 8. These lattice codes are surface codes with the rate of hyperbolic
surface codes of the same check weight, realized on a flat lattice at the price of a fixed distance;
at comparable check weight their rate is at least that of quantum Hamming codes at distance 3
and of extended Hamming CSS codes at distance 4, with exactly two checks of each type per
qubit. At check weight 8 the three-dimensional distance-4 code also has a lower failure rate per
logical qubit under independent errors than either Hamming-type code of that weight. Finally,
concatenating
D
3
, D
4
, D
5
, . . .
gives a growing distance at a rate above 1
/
3, at the cost of locality
and very large blocks.
Data Availability Statement
The scripts that verify the results are openly available on GitHub at
https://github.com/
raghu91302/ssmtheory/blob/main/dn_css_codes_scripts.zip
.
verify dn.py
builds the
code for (
n, L
) = (3
,
4)
,
(3
,
6)
,
(4
,
4)
,
(4
,
6) and (5
,
4) and checks every entry of Table 1: the
check weights, two checks of each type per qubit, the CSS condition, the void graph, the ranks
and
k
, and
d
= 3. For the three smallest cases it also checks that the triangles generate all
but
n
of the logical classes (Proposition 1). It then builds the six
D
n
(
P
) codes of Table 2 and
checks the check weights, two checks of each type per qubit, the CSS condition, the ranks and
k
, that both graphs have no triangles (
d ≥
4), and that a 4-cycle of each type is a nontrivial
logical operator (
d ≤
4). For [[128
,
66
,
4]] it also confirms
d
= 4 by an exhaustive search over
all sets of at most four qubits. It uses only the Python standard library and runs in seconds.
failure rates.py
computes the coefficients of Table 4, the exact failure rates of the block codes
and the Monte Carlo estimates for the lattice code, and draws Fig. 4; it also checks the entries
of Table 5 and the value of p
∗
. It needs numpy, matplotlib and pymatching and runs in a few
minutes. make figs.py draws Figs. 1 to 3 and needs numpy and matplotlib.
Declaration of Competing Interest
The author is an employee of IDrive Inc. The author declares no other competing interests.
References
[1]
T. C. Hales, “A proof of the Kepler conjecture,” Ann. Math. 162, 1065 (2005).
doi:10.4007/annals.2005.162.1065.
[2]
T. Hales et al., “A formal proof of the Kepler conjecture,” Forum Math. Pi 5, e2 (2017).
doi:10.1017/fmp.2017.1.
[3]
R. Kulkarni, “A 67%-rate CSS code on the FCC lattice: [[192
,
130
,
3]] from weight-12
stabilizers,” arXiv:2603.20294 (2026).
[4]
A. R. Calderbank and P. W. Shor, “Good quantum error-correcting codes exist,” Phys. Rev.
A 54, 1098 (1996). doi:10.1103/PhysRevA.54.1098.
14
[5]
A. M. Steane, “Multiple-particle interference and quantum error correction,” Proc. R. Soc.
A 452, 2551 (1996). doi:10.1098/rspa.1996.0136.
[6]
H. Bomb´ın and M. A. Martin-Delgado, “Homological error correction: classical and quantum
codes,” J. Math. Phys. 48, 052105 (2007). arXiv:quant-ph/0605094.
[7]
G. Z´emor, “On Cayley graphs, surface codes, and the limits of homological coding for
quantum error correction,” in Coding and Cryptology (IWCC 2009), Lecture Notes in
Computer Science 5557 (Springer, Berlin, 2009), p. 259. hal-00387084.
[8]
A. Yu. Kitaev, “Fault-tolerant quantum computation by anyons,” Ann. Phys. 303, 2 (2003).
doi:10.1016/S0003-4916(02)00018-0.
[9]
E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, “Topological quantum memory,” J. Math.
Phys. 43, 4452 (2002). doi:10.1063/1.1499754.
[10]
J.-P. Tillich and G. Z´emor, “Quantum LDPC codes with positive rate and minimum distance
proportional to the square root of the blocklength,” IEEE Trans. Inf. Theory 60, 1193
(2014). doi:10.1109/TIT.2013.2292061.
[11]
P. Panteleev and G. Kalachev, “Asymptotically good quantum and locally testable classical
LDPC codes,” in Proc. 54th Annual ACM Symposium on Theory of Computing (STOC),
375 (2022). doi:10.1145/3519935.3520017.
[12]
A. Leverrier and G. Z´emor, “Quantum Tanner codes,” in Proc. 63rd IEEE Symposium on
Foundations of Computer Science (FOCS), 872 (2022). doi:10.1109/FOCS54457.2022.00117,
arXiv:2202.13641.
[13]
N. P. Breuckmann and J. N. Eberhardt, “Quantum low-density parity-check codes,” PRX
Quantum 2, 040101 (2021). doi:10.1103/PRXQuantum.2.040101, arXiv:2103.06309.
[14]
N. P. Breuckmann and B. M. Terhal, “Constructions and noise threshold of hyperbolic
surface codes,” IEEE Trans. Inf. Theory 62, 3731 (2016). doi:10.1109/TIT.2016.2555700,
arXiv:1506.04029.
[15]
N. Delfosse, “Tradeoffs for reliable quantum information storage in surface codes and color
codes,” arXiv:1301.6588 (2013).
[16]
A. M. Steane, “Simple quantum error-correcting codes,” Phys. Rev. A 54, 4741 (1996).
doi:10.1103/PhysRevA.54.4741, arXiv:quant-ph/9605021.
[17]
H. Yamasaki and M. Koashi, “Time-efficient constant-space-overhead fault-tolerant quantum
computation,” Nat. Phys. 20, 247 (2024). doi:10.1038/s41567-023-02325-8, arXiv:2207.08826.
[18]
R. Kulkarni, “A four-dimensional toric code on the
D
4
lattice: [[16
L
4
,
6
,
2
L
2
]] with weight-4
X-stabilizers,” Quantum Rep. 8, 116 (2026). doi:10.3390/quantum8040116.
[19]
J. H. Conway and N. J. A. Sloane, Sphere Packings, Lattices and Groups, 3rd ed. (Springer,
New York, 1999). doi:10.1007/978-1-4757-6568-7.
[20]
A. Korkine and G. Zolotareff, “Sur les formes quadratiques,” Math. Ann. 6, 366 (1873).
eudml.org/doc/156622.
15
[21]
M. S. Viazovska, “The sphere packing problem in dimension 8,” Ann. Math. 185, 991 (2017).
doi:10.4007/annals.2017.185.3.7.
[22]
R. Diestel, Graph Theory, 5th ed., Graduate Texts in Mathematics 173 (Springer, Berlin,
2017). doi:10.1007/978-3-662-53622-3.
[23]
W. Mader, “Minimale
n
-fach kantenzusammenh¨angende Graphen,” Math. Ann. 191, 21
(1971). doi:10.1007/BF01433466.
[24]
C. Godsil and G. Royle, Algebraic Graph Theory (Springer, New York, 2001), Section 3.3.
doi:10.1007/978-1-4613-0163-9.
[25]
J. Edmonds and E. L. Johnson, “Matching, Euler tours and the Chinese postman,” Math.
Program. 5, 88 (1973). doi:10.1007/BF01580113.
[26]
O. Higgott and C. Gidney, “Sparse Blossom: correcting a million errors per core second
with minimum-weight matching,” Quantum 9, 1600 (2025). doi:10.22331/q-2025-01-20-1600.
[27]
S. Bravyi, D. Poulin, and B. Terhal, “Tradeoffs for reliable quantum information storage in
2D systems,” Phys. Rev. Lett. 104, 050503 (2010). doi:10.1103/PhysRevLett.104.050503,
arXiv:0909.5200.
[28]
E. Knill and R. Laflamme, “Concatenated quantum codes,” arXiv:quant-ph/9608012 (1996).
[29]
H. Goto, “High-performance fault-tolerant quantum computing with many-hypercube codes,”
Sci. Adv. 10, eadp6388 (2024). doi:10.1126/sciadv.adp6388.
[30]
R. Chao and B. W. Reichardt, “Quantum error correction with only two extra qubits,” Phys.
Rev. Lett. 121, 050502 (2018). doi:10.1103/PhysRevLett.121.050502.
16