
2
ent time periodicity in the measurement protocol. The
honeycomb code is based on a subsystem code with a
gauge group generated by terms in the Hamiltonian of
the Kitaev honeycomb model [16]. Notably, this subsys-
tem code stabilizes no logical qubits [17]. However, the
honeycomb code remedies this and dynamically gener-
ates logical qubits by measuring a commuting subset of
the gauge group at each round, which constitutes one-
third of the full set of two-qubit Pauli checks. This dy-
namic protocol generates a different stabilizer group at
each instant in time which differ from that of the original
subsystem code. In particular, the instantaneous stabi-
lizer group of the dynamic code is equivalent to that of a
toric code [18]on a certain superlattice, and the embed-
ded code changes with period 3 while conserving logical
information. Remarkably, the honeycomb code was also
shown to possess a threshold [19,20]. From the quan-
tum matter perspective, the honeycomb code not only
switches between different realizations of Z2topological
order but also exhibits a kind of time crystalline behavior
– while the period of the cycling is 3, the period of the
code is 6 because after 3 rounds an e/mautomorphism
occurs. This idea has been more generally explored in
ref. [21].
In this paper, we propose a new class of Floquet codes
in two and three dimensions that are not based on parent
subsystem codes. Our 2D construction is geometrically
similar to that of the honeycomb code, but possesses an
explicit CSS structure; therefore we call our code the CSS
honeycomb code. We show that this code embeds an in-
stantaneous toric code, conserves logical information and
possesses a threshold for error correction. It also turns
out that the CSS honeycomb code performs an automor-
phism every three rounds. Our 3D construction embeds
two distinct type-I fracton models: we show that it cycles
between realizing instances of checkerboard and X-cube
models [22]while preserving logical information and be-
ing error-correcting as well. This is the first Floquet code
we are aware of that prepares and cycles between fracton
stabilizer codes.
We argue that our 2D code cannot be reduced to the
honeycomb code. However, we show that it is possible
to fault-tolerantly switch between our CSS protocol and
the honeycomb protocol. Moreover, we consider random
disturbances of the protocol in time, thus generalizing
Floquet codes to a large class of monitored random cir-
cuit codes which we call dynamic tree codes, as the path
of a single instance of such a code is a branch of the
history tree of a probabilistic process. We show that a
special class of these codes, i.e. random-flavor Floquet
codes, is fault-tolerant. Next, we construct a probabilis-
tic finite automaton (PFA) that allows one to generate
instances of dynamic tree codes that allow detection and
correction of any single-qubit Pauli error. We conjecture
that a large class of PFA-generated dynamic tree codes
is fault-tolerant with an efficient decoder. This construc-
tion advances us one step closer towards fault-tolerant
random codes. Practically, these codes also work well for
FIG. 1. Fragment of a honeycomb lattice with three-colored
plaquettes (Pr,g,b) and edges. The red, blue and green checks
correspond to the edges connecting two plaquettes of the same
color. The red checks (r) which are measured in rounds 3nare
shown by bold lines and the triangular superlattice is shown
by dashed black lines.
error models that are dynamical in time.
Thus, the dynamic codes we construct in this paper
present a new class of quantum error correcting codes
and suggest a new route towards universal fault-tolerant
schemes for quantum computation, that rely on neither
stabilizer codes, nor subsystem codes, nor Floquet codes
generated from the gauge group of subsystem codes.
The rest of our paper is organized as follows. In sec-
tion II, we introduce the two-dimensional CSS honey-
comb code, discuss it in detail and explain its error-
correction properties. In section III, we elaborate on
an example that generalizes CSS honeycomb codes to
three dimensions and show that the instantaneous code
cycles between different realizations of the checkerboard
and X-cube model. In section IV, dynamic tree codes
are introduced and argued to be a more general struc-
ture (that need not be periodic) bridging the honeycomb
code and the CSS honeycomb codes. We propose a PFA
construction of error-correcting protocols and also gener-
alize dynamic tree codes to 3D.
II. 2D CSS HONEYCOMB CODE
We propose a dynamic quantum error correcting code
built solely out of Xand Z-flavored check operators –
for this reason, we refer to this code as the CSS honey-
comb code. Recall that in the honeycomb code of Hast-
ings and Haah [14], one picks a 3-colorable planar graph
and assigns labels of X,Y, and Zto each of the three
orientations of the edges. The edges of the graph are
also three-colorable, and the dynamic measurement pro-
tocol consists of measuring the two-body Pauli operators
(“checks”) of the flavor corresponding to the orientation
of the bond at all the edges of a given color at each round.
The color of the edge is defined by the colors of the two
plaquettes that it connects, see Fig. II.
In the CSS honeycomb code, the protocol is somewhat
simpler and is shown in Table I. It is partially inspired