Skip to main content
KetQat

Appearance

Topic · advanced

Floquet Codes

Codes defined by a periodic sequence of non-commuting, low-weight Pauli measurements rather than by a fixed stabilizer group. The state after each round is a stabilizer code, and the schedule, not the set of checks, creates and protects the logical qubits. The honeycomb code is the prime example.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

An ordinary stabilizer code is a fixed set of commuting checks that are measured over and over; the logical qubits live in their joint eigenspace. A Floquet code drops the requirement that the checks commute. It is a schedule: a short list of rounds, each measuring a set of commuting, usually very low-weight Pauli operators, repeated periodically. Checks of consecutive rounds anticommute, so each round partly undoes what the previous one established, and there is no single code space. Instead, after every round the state is stabilized by a well-defined group, the instantaneous stabilizer group, and with a well-chosen schedule this group always leaves the same number of logical qubits untouched while the measurement record contains enough redundancy to detect errors.

The founding example is the honeycomb code of Hastings and Haah. Every measurement acts on just two qubits, yet the code protects two logical qubits on a torus with distance growing with the lattice. Viewed as a static subsystem code its checks encode nothing: the logical qubits are created by the order of the measurements. The attraction is practical. Hardware that measures two-qubit parities natively, such as proposed Majorana-based qubits, can run the code without entangling gates, and in that setting circuit-level simulations give it a high threshold (Gidney et al.; Paetznick et al.).

Intuition

Measure the parity Z1Z2Z_1Z_2 of two qubits, then the parity X2X3X_2X_3, then Z1Z2Z_1Z_2 again. The second measurement scrambles the first outcome, so the third outcome is random: individual check values carry no memory. Products can. Around a hexagon of the honeycomb lattice, the product of the three checks measured in one round and the three measured in the next is a weight-six operator that commutes with every check. Once inferred, its value is reproduced every time the same pair of rounds comes around, and a change signals an error. These repeated products are the detectors of the code.

The logical information survives because every measurement anticommutes with some operator in the current stabilizer group: by the update rule its outcome is then a fair coin that reveals nothing about the encoded state. The price is that a logical operator of one round is not a logical operator of the next. It must be multiplied by checks of the new round, and the observed signs are carried along in software. In the honeycomb code this bookkeeping has a topological meaning: each round swaps the roles of the two kinds of string operators of the embedded toric code.

Prerequisites

The stabilizer formalism and its measurement rule (stabilizer formalism lesson), the toric code and its string operators (topological codes), and the notion of gauge group and bare logical operators of a subsystem code.

Mathematical Definitions

DefinitionFloquet code and instantaneous stabilizer groupPeer-reviewed result

Let C0,C1,…,CT−1\mathcal{C}_0, \mathcal{C}_1, \dots, \mathcal{C}_{T-1} be sets of Hermitian nn-qubit Pauli operators, the checks, such that the operators within each set Cj\mathcal{C}_j commute pairwise. A measurement schedule of period TT measures, in round r=0,1,2,…r = 0, 1, 2, \dots, every check of Cr mod T\mathcal{C}_{r \bmod T}. Checks of different rounds need not commute.

Starting from a state with stabilizer group S(−1)S(-1) (usually the trivial group, for the maximally mixed state), the instantaneous stabilizer group (ISG) S(r)S(r) is the stabilizer group of the state after round rr, obtained from S(r−1)S(r-1) by the update rule for Pauli measurements applied to the checks of round rr, with signs fixed by the outcomes. Each S(r)S(r) defines an ordinary stabilizer code on nn qubits with n−rank⁡S(r)n - \operatorname{rank} S(r) logical qubits.

The schedule is a Floquet code (a code with dynamically generated logical qubits, in the terminology of Hastings and Haah) when, for all rr beyond some initial transient:

  1. S(r)S(r) has the same number k≥1k \ge 1 of logical qubits for every rr;
  2. the measurements of round r+1r+1 reveal nothing about the encoded state: no element of the group generated by S(r)S(r) and the checks of round r+1r+1 is a nontrivial logical operator of S(r)S(r), that is, an operator that commutes with all of S(r)S(r) without lying in ±S(r)\pm S(r);
  3. the outcomes contain detectors: products of outcomes, possibly from different rounds, whose value is fixed in the absence of errors. They play the role of the syndrome.

A logical operator of S(r)S(r) has to be carried to one of S(r+1)S(r+1) by multiplying it with elements of S(r)S(r) and checks of round r+1r+1, and the measured signs enter the Pauli frame. Logical operators that commute with every check are called inner; those that must be updated every round are called outer (Hastings and Haah). Whether a schedule preserves logical information depends on the order of the rounds and not only on the set of checks.

Quantum codeHoneycomb codePeer-reviewed result

Lattice. Take a hexagonal lattice on a torus with npn_p hexagonal plaquettes, so 2np2n_p vertices and 3np3n_p edges, and place one qubit on each vertex. Colour the plaquettes 0,1,20, 1, 2 so that adjacent plaquettes differ (the torus must be chosen compatible with such a colouring). Give each edge the colour of the two plaquettes that its endpoints lead to: an edge of colour cc joins two plaquettes of colour cc and borders the two plaquettes of the other colours. Every vertex then has exactly one incident edge of each colour, and there are npn_p edges of each colour.

Checks. Each edge e={u,v}e = \{u, v\} also has a type xx, yy or zz, chosen so that the three edges at every vertex have different types (for example by direction, as in Kitaev's honeycomb model). The check on ee is Ce=σuaσvaC_e = \sigma^{a}_u \sigma^{a}_v with σa∈{X,Y,Z}\sigma^a \in \{X, Y, Z\} given by its type. Two checks commute when they share no vertex and anticommute when they share one, so checks of the same colour commute.

Schedule. In round rr measure all checks of colour r mod 3r \bmod 3.

Plaquette operators. For a plaquette pp let Wp=∏e∈∂pCeW_p = \prod_{e \in \partial p} C_e, the product of the six checks on its boundary. At each vertex of pp two boundary checks meet with different Paulis, whose product is proportional to the third, so WpW_p is, up to a phase, a weight-six Pauli operator. It commutes with every check. The boundary of a plaquette of colour cc alternates between edges of the two other colours.

As a subsystem code. Hastings and Haah count that the group generated by all checks has rank 3np−13n_p - 1 (the product of all checks is proportional to the identity), its centre has rank np+1n_p + 1 (plaquettes, with one relation, together with products of checks along two non-contractible loops), and so the subsystem code has np−1n_p - 1 gauge qubits and no logical qubits. The measurement order is what creates the logical qubits: with the schedule above the instantaneous stabilizer groups encode two logical qubits on the torus, with distance proportional to the linear size of the lattice. The products of checks along non-contractible loops become the inner logical operators.

Quantum codeCSS honeycomb codePeer-reviewed result

Use the lattice, plaquette colouring and edge colouring of the honeycomb code, with one qubit per vertex. For an edge e={u,v}e = \{u,v\} of colour cc let Xe=XuXvX_e = X_u X_v and Ze=ZuZvZ_e = Z_u Z_v. The CSS honeycomb code measures, in rounds r=0,1,…,5r = 0, 1, \dots, 5 and then periodically,

X-checks of colour 0,Z-checks of colour 1,X-checks of colour 2,Z-checks of colour 0,X-checks of colour 1,Z-checks of colour 2.X\text{-checks of colour } 0,\quad Z\text{-checks of colour } 1,\quad X\text{-checks of colour } 2,\quad Z\text{-checks of colour } 0,\quad X\text{-checks of colour } 1,\quad Z\text{-checks of colour } 2 .

Consecutive rounds use different colours and different Pauli types, so each round's checks anticommute with some checks of the previous round. If round r−1r-1 measured XX-checks of colour aa and round rr measures ZZ-checks of colour bb, the products of the three colour-aa XX-checks around each plaquette of the third colour commute with the new checks and survive; each equals the weight-six operator X⊗6X^{\otimes 6} on that plaquette (and symmetrically with XX and ZZ exchanged). After an initial transient the instantaneous stabilizer group consists of the checks just measured and plaquette operators of both types, and is a toric code up to local operations; the schedule has period 6 and the embedded code cycles with it.

The construction is due to Davydova, Tantivasadakarn and Balasubramanian, who show that the protocol conserves logical information and has a threshold, and stress that, unlike for the honeycomb code, the checks do not form a parent subsystem code. Kesselring et al. independently obtained a CSS Floquet code, the Floquet color code, by viewing Floquet schedules as sequences of anyon condensations in the color code.

Theorems

TheoremStabilizer update rule for Pauli measurementsEstablished result

Let ρ\rho be stabilized by SS and let MM be a Hermitian Pauli operator. Write C={s∈S:sM=Ms}C = \{ s \in S : sM = Ms \} for the elements of SS that commute with MM, and Π±=(I±M)/2\Pi_\pm = (I \pm M)/2 for the projectors onto the two outcomes ±1\pm 1.

  1. Deterministic outcome. If ±M∈S\pm M \in S, the outcome is ±1\pm 1 with certainty and the state is unchanged.
  2. Commuting, undetermined. If MM commutes with every element of SS and ±M∉S\pm M \notin S, the outcome m∈{+1,−1}m \in \{+1, -1\} occurs with probability Tr⁡(Πmρ)\tr(\Pi_m \rho) and the post-measurement state is stabilized by ⟨S,mM⟩\langle S, mM \rangle.
  3. Anticommuting. If MM anticommutes with some g∈Sg \in S, then CC is a subgroup of index 2 in SS, each outcome occurs with probability exactly 1/21/2 whatever ρ\rho is, and the post-measurement state 2 Πmρ Πm2\, \Pi_m \rho\, \Pi_m is stabilized by ⟨C,mM⟩\langle C, mM \rangle, a group of the same order as SS.

In every case the new stabilizer group is ⟨C,mM⟩\langle C, mM \rangle, with mm the outcome. Consequently, if mutually commuting Pauli operators M1,…,MkM_1, \dots, M_k are measured one after another with outcomes m1,…,mkm_1, \dots, m_k, the final state is stabilized by

⟨ {s∈S:sMi=Mis for all i},  m1M1,…,mkMk ⟩,\big\langle\, \{ s \in S : s M_i = M_i s \text{ for all } i \},\; m_1 M_1, \dots, m_k M_k \,\big\rangle ,

independently of the order. This is the bookkeeping rule of the stabilizer formalism introduced by Gottesman (see also section 10.5.8 of Nielsen and Chuang); it is the rule used by Hastings and Haah to define instantaneous stabilizer groups.

Holds when
  • SS is an abelian subgroup of the nn-qubit Pauli group with −I∉S-I \notin S, and every element of SS is Hermitian.
  • The state ρ\rho satisfies sρ=ρs \rho = \rho for every s∈Ss \in S (it is supported in the joint +1+1 eigenspace).
  • The measured operators are Hermitian Pauli operators, measured projectively and without error.
Proof · Proof of the stabilizer update rule for Pauli measurements

Since ρ\rho is Hermitian, sρ=ρs\rho = \rho implies ρs=ρ\rho s = \rho for every s∈Ss \in S. Two Pauli operators either commute or anticommute, and MΠm=mΠmM \Pi_m = m \Pi_m.

Case 1. If mM∈SmM \in S then Tr⁡(Πmρ)=12(1+mTr⁡(Mρ))=12(1+Tr⁡(mMρ))=12(1+Tr⁡ρ)=1\tr(\Pi_m \rho) = \tfrac12 (1 + m \tr(M\rho)) = \tfrac12 (1 + \tr(mM\rho)) = \tfrac12 (1 + \tr \rho) = 1, and ΠmρΠm=ρ\Pi_m \rho \Pi_m = \rho because Πmρ=12(ρ+mMρ)=ρ\Pi_m \rho = \tfrac12(\rho + mM\rho) = \rho.

Case 2. If MM commutes with all of SS, then Πm\Pi_m commutes with every s∈Ss \in S, so ρ′∝ΠmρΠm\rho' \propto \Pi_m \rho \Pi_m satisfies sρ′∝ΠmsρΠm=ΠmρΠms \rho' \propto \Pi_m s \rho \Pi_m = \Pi_m \rho \Pi_m, and mMρ′=mMΠmρΠm/Tr⁡(Πmρ)=ρ′mM \rho' = mM \Pi_m \rho \Pi_m / \tr(\Pi_m\rho) = \rho'. Since mMmM commutes with SS and −mM∉S-mM \notin S (otherwise outcome mm has probability zero by case 1), the group ⟨S,mM⟩\langle S, mM \rangle is abelian and does not contain −I-I.

Case 3. Let g∈Sg \in S anticommute with MM. The map χ:S→{±1}\chi : S \to \{\pm 1\}, sM=χ(s)MssM = \chi(s) Ms, is a homomorphism, onto because χ(g)=−1\chi(g) = -1, with kernel CC; so CC has index 2 and S=C∪gCS = C \cup gC. The outcome probabilities are 12(1±Tr⁡(Mρ))\tfrac12 (1 \pm \tr(M\rho)), and

Tr⁡(Mρ)=Tr⁡(Mgρ)=−Tr⁡(gMρ)=−Tr⁡(Mρg)=−Tr⁡(Mρ),\tr(M\rho) = \tr(M g \rho) = -\tr(g M \rho) = -\tr(M \rho g) = -\tr(M\rho) ,

using gρ=ρg\rho = \rho, anticommutation, cyclicity and ρg=ρ\rho g = \rho. Hence Tr⁡(Mρ)=0\tr(M\rho) = 0 and each outcome has probability 1/21/2. For c∈Cc \in C, c Πm=Πmcc\, \Pi_m = \Pi_m c, so c ρ′=2 ΠmcρΠm=ρ′c\, \rho' = 2\, \Pi_m c \rho \Pi_m = \rho' with ρ′=2ΠmρΠm\rho' = 2\Pi_m \rho \Pi_m; and mMρ′=ρ′mM\rho' = \rho' as before. Every element of CC commutes with gg (as SS is abelian) while MM does not, so ±M∉C\pm M \notin C and ⟨C,mM⟩=C∪mMC\langle C, mM \rangle = C \cup mMC has 2∣C∣=∣S∣2\abs{C} = \abs{S} elements and does not contain −I-I.

In cases 1 and 2, C=SC = S and ⟨C,mM⟩\langle C, mM \rangle is SS or ⟨S,mM⟩\langle S, mM\rangle, so the uniform statement holds.

Sequences. Suppose M1,…,MkM_1, \dots, M_k commute pairwise and let Cj={s∈S:sMi=Mis, i≤j}C_j = \{ s \in S : sM_i = M_i s,\ i \le j \}. Induction hypothesis: after jj measurements the state is stabilized by Sj=⟨Cj,m1M1,…,mjMj⟩S_j = \langle C_j, m_1M_1, \dots, m_jM_j\rangle. Apply the single-measurement rule to Mj+1M_{j+1}. An element c ∏i≤j(miMi)aic\, \prod_{i \le j} (m_iM_i)^{a_i} of SjS_j, with c∈Cjc \in C_j, commutes with Mj+1M_{j+1} if and only if cc does, because each MiM_i commutes with Mj+1M_{j+1}. So the commuting part of SjS_j is ⟨Cj+1,m1M1,…,mjMj⟩\langle C_{j+1}, m_1M_1, \dots, m_jM_j\rangle, and adding mj+1Mj+1m_{j+1}M_{j+1} gives Sj+1S_{j+1}. The final group is symmetric in the MiM_i, so it does not depend on the order. This is the argument of Gottesman, written out in full.

TheoremInstantaneous stabilizer groups of the honeycomb codePeer-reviewed result

Write Cc\mathcal{C}_c for the checks of colour cc and Wc\mathcal{W}_c for the plaquette operators of plaquettes of colour cc, colours taken mod 3. Up to signs, the instantaneous stabilizer groups of the honeycomb code are

S(0)=⟨C0⟩,S(1)=⟨C1,W2⟩,S(2)=⟨C2,W2,W0⟩,S(r)=⟨Cr,W0,W1,W2⟩  (r≥3).S(0) = \langle \mathcal{C}_0 \rangle, \quad S(1) = \langle \mathcal{C}_1, \mathcal{W}_2 \rangle, \quad S(2) = \langle \mathcal{C}_2, \mathcal{W}_2, \mathcal{W}_0 \rangle, \quad S(r) = \langle \mathcal{C}_{r}, \mathcal{W}_0, \mathcal{W}_1, \mathcal{W}_2 \rangle \ \ (r \ge 3).

The plaquette operators of colour r+1r+1 are inferred in round rr as the product of the outcomes of rounds r−1r-1 and rr on the boundary of the plaquette. For r≥3r \ge 3 the 2np2n_p listed generators of S(r)S(r) satisfy exactly two independent relations,

∏pWp∝I,∏p of colour rWp∏e of colour rCe∝I,\prod_{p} W_p \propto I, \qquad \prod_{p \text{ of colour } r} W_p \prod_{e \text{ of colour } r} C_e \propto I ,

so S(r)S(r) has rank 2np−22n_p - 2 on 2np2n_p qubits and fixes a four-dimensional subspace: two logical qubits after every round. This is the analysis of section 1.3 of Hastings and Haah. They show further that the ISG never contains a product of checks along a non-contractible loop (these products are the inner logical operators), and that each S(r)S(r) becomes a toric code on a hexagonal superlattice after a depth-one circuit of two-qubit gates that disentangles one qubit per measured check.

Holds when
  • The honeycomb code on a torus with npn_p plaquettes, three-coloured as in the code record, large enough that every plaquette boundary is a cycle of six distinct edges.
  • Noiseless measurements, starting from the maximally mixed state (trivial ISG); signs of stabilizers are ignored.
Proof · Proof of the instantaneous stabilizer groups of the honeycomb code

Signs and phases are ignored throughout; "==" between groups means equality up to signs of the generators.

Step 1: two colours form hexagons. Fix colours a≠ba \ne b and let cc be the third. Each vertex lies on exactly one plaquette of colour cc, and its two boundary edges there have colours aa and bb (they lie on a plaquette of colour cc, so they are not of colour cc, and the colours at a vertex are distinct). Hence the edges of colours aa and bb form the disjoint union of the boundaries of the colour-cc plaquettes, each a 6-cycle alternating between aa and bb. For such a plaquette pp write Pa(p)P_a(p) for the product of its three colour-aa checks; then Wp=Pa(p)Pb(p)W_p = P_a(p) P_b(p).

Step 2: a commutant. Let FF be a set of colour-aa edges. A colour-bb check CfC_f, f={u,v}f = \{u, v\}, anticommutes with the colour-aa check at uu and with the one at vv and commutes with all others. So ∏e∈FCe\prod_{e \in F} C_e commutes with CfC_f if and only if FF contains both or neither of the colour-aa edges at the ends of ff. Going around each hexagon of step 1, the product commutes with all colour-bb checks if and only if, on every colour-cc plaquette, FF contains all three or none of its colour-aa edges. Hence the elements of ⟨Ca⟩\langle \mathcal{C}_a \rangle that commute with Cb\mathcal{C}_b form the group ⟨Pa(p):p of colour c⟩\langle P_a(p) : p \text{ of colour } c \rangle.

Step 3: induction. By the update rule, measuring the commuting checks Cb\mathcal{C}_b on a state with ISG SS gives ⟨C,Cb⟩\langle C, \mathcal{C}_b \rangle with CC the elements of SS commuting with all of Cb\mathcal{C}_b. Plaquette operators commute with every check, so for S=⟨Ca,W⟩S = \langle \mathcal{C}_a, \mathcal{W} \rangle with W\mathcal{W} any set of plaquette operators, C=⟨Pa(p):p of colour c, W⟩C = \langle P_a(p) : p \text{ of colour } c,\ \mathcal{W}\rangle by step 2. Since Pa(p)=WpPb(p)P_a(p) = W_p P_b(p) and Pb(p)∈⟨Cb⟩P_b(p) \in \langle \mathcal{C}_b \rangle, the result is

⟨Ca,W⟩→ measure Cb ⟨Cb,W,Wc⟩.\langle \mathcal{C}_a, \mathcal{W} \rangle \xrightarrow{\ \text{measure } \mathcal{C}_b\ } \langle \mathcal{C}_b, \mathcal{W}, \mathcal{W}_c \rangle .

Starting from S(−1)={I}S(-1) = \{I\}, measuring C0\mathcal{C}_0 gives S(0)=⟨C0⟩S(0) = \langle \mathcal{C}_0\rangle (case 2 of the rule for each check). Then (a,b,c)=(0,1,2)(a,b,c) = (0,1,2) gives S(1)S(1), (1,2,0)(1,2,0) gives S(2)S(2), (2,0,1)(2,0,1) gives S(3)=⟨C0,W0,W1,W2⟩S(3) = \langle \mathcal{C}_0, \mathcal{W}_0, \mathcal{W}_1, \mathcal{W}_2\rangle, and for r≥3r \ge 3 the step (r,r+1,r+2)(r, r+1, r+2) maps S(r)S(r) to S(r+1)S(r+1) of the stated form. The new plaquette operators of colour c=r+1c = r+1 in round rr (with a=r−1a = r-1, b=rb = r) equal Pr−1(p)Pr(p)P_{r-1}(p) P_r(p), so their values are products of outcomes of rounds r−1r-1 and rr.

Step 4: relations. Identify a product of checks with the set of edges it uses (mod 2). At a vertex, the product of the checks on a set of incident edges is proportional to II only if that set is empty or all three edges, since the three have different Paulis. As the lattice is connected, a product of checks is ∝I\propto I only for the empty set or the set of all edges. Now take AA a set of plaquettes and FF a set of colour-rr edges and suppose ∏p∈AWp∏e∈FCe∝I\prod_{p \in A} W_p \prod_{e \in F} C_e \propto I. The edge set is ∂A+F\partial A + F, where ∂A\partial A is the set of edges bordering exactly one plaquette of AA.

  • If ∂A+F=∅\partial A + F = \emptyset, no edge of colour r+1r+1 or r+2r+2 lies in ∂A\partial A. An edge of colour r+1r+1 borders plaquettes of colours rr and r+2r+2, one of colour r+2r+2 borders colours rr and r+1r+1; so every colour-rr plaquette is in AA exactly when all its six neighbours are. Any two adjacent plaquettes of colours r+1r+1 and r+2r+2 share an edge, and the colour-rr plaquette at either endpoint of that edge borders both of them, so this constraint graph is connected and AA is empty or everything. AA = everything gives ∂A=∅\partial A = \emptyset, F=∅F = \emptyset: the relation ∏pWp∝I\prod_p W_p \propto I.
  • If ∂A+F\partial A + F is all edges, every edge of colour r+1r+1 or r+2r+2 lies in ∂A\partial A, so each colour-rr plaquette differs in membership from all its neighbours: AA is the set of colour-rr plaquettes or its complement. For the former, ∂A\partial A is exactly the edges of colours r+1,r+2r+1, r+2 and FF is all colour-rr edges, the second relation; the complement gives the product of the two relations.

So the relation group is generated by the two relations stated, which are independent (the first involves no checks, the second does), and the rank is np+np−2=2np−2n_p + n_p - 2 = 2n_p - 2. The argument follows section 1.3 of Hastings and Haah, with the commutant and the relation count written out. That the remaining two logical qubits are protected, with the non-contractible check loops acting as nontrivial inner logical operators, is shown there and is not reproved here.

Dynamics of the logical operators

For r≥3r \ge 3 the instantaneous stabilizer group S(r)S(r) is, after disentangling one qubit per measured check, a toric code on a hexagonal superlattice, and its logical operators are the electric and magnetic string operators of that toric code (Hastings and Haah). Products of checks along non-contractible loops commute with every check and are inner logical operators; their eigenvalues are untouched by the schedule. The remaining outer logical operators must be updated each round. Hastings and Haah show that one round maps an electric string of S(r)S(r) to a magnetic string of S(r+1)S(r+1) and vice versa. Because the period, 3, is odd, after one period every outer operator returns multiplied by a parallel inner operator, and the logical dynamics has period 6 even though the measurement sequence has period 3. Aasen, Wang and Hastings develop this into a general picture in which a Floquet schedule implements an automorphism of the anyons of the instantaneous code.

Worked Examples

One hexagon, two rounds

Take a plaquette pp of colour 2 with vertices 1,…,61, \dots, 6 in cyclic order and boundary edges alternating colours 0 and 1. Choose the edge types so that the three edges at each vertex differ:

edge {1,2}\{1,2\} {2,3}\{2,3\} {3,4}\{3,4\} {4,5}\{4,5\} {5,6}\{5,6\} {6,1}\{6,1\}
colour 0 1 0 1 0 1
check Z1Z2Z_1Z_2 X2X3X_2X_3 Y3Y4Y_3Y_4 Z4Z5Z_4Z_5 X5X6X_5X_6 Y6Y1Y_6Y_1

The colour-0 product is P0=Z1Z2 Y3Y4 X5X6P_0 = Z_1Z_2\,Y_3Y_4\,X_5X_6 and the colour-1 product is P1=X2X3 Z4Z5 Y6Y1P_1 = X_2X_3\,Z_4Z_5\,Y_6Y_1. Multiplying qubit by qubit, Z1Y1=−iX1Z_1Y_1 = -iX_1, Z2X2=iY2Z_2X_2 = iY_2, Y3X3=−iZ3Y_3X_3 = -iZ_3, Y4Z4=iX4Y_4Z_4 = iX_4, X5Z5=−iY5X_5Z_5 = -iY_5, X6Y6=iZ6X_6Y_6 = iZ_6, and the phases cancel:

Wp=P0P1=X1 Y2 Z3 X4 Y5 Z6.W_p = P_0 P_1 = X_1\, Y_2\, Z_3\, X_4\, Y_5\, Z_6 .

P0P_0 commutes with every colour-1 check: X2X3X_2X_3 meets it on qubits 2 and 3, where it anticommutes twice. So measuring round 1 leaves the value of P0P_0 intact, and the plaquette value is the product of the six outcomes. If round 0 gives (+1,−1,−1)(+1, -1, -1) on the colour-0 edges and round 1 gives (+1,+1,−1)(+1, +1, -1) on the colour-1 edges, then P0=+1P_0 = +1, P1=−1P_1 = -1 and Wp=−1W_p = -1. The same plaquette is inferred again from rounds 3 and 4; in the absence of errors the product will again be −1-1, and the comparison of the two values is one detector.

Counting on a 6 by 6 torus

A three-colourable torus with 6×6=366 \times 6 = 36 plaquettes has n=72n = 72 qubits and 108108 edges, 36 of each colour. For r≥3r \ge 3 the ISG has 36+36=7236 + 36 = 72 listed generators with two relations, so rank 70 and 72−70=272 - 70 = 2 logical qubits. Each round infers the 12 plaquettes of one colour, so each round contributes 12 detectors, one per plaquette of that colour, comparing with the value inferred three rounds earlier. Viewed as a subsystem code the same lattice has gauge group of rank 3⋅36−1=1073 \cdot 36 - 1 = 107 and stabilizer group of rank 36+1=3736 + 1 = 37, hence (107−37)/2=35(107 - 37)/2 = 35 gauge qubits; 37+35=7237 + 35 = 72 leaves no logical qubit.

Why the order matters

Hastings and Haah note that measuring the checks by Pauli type (xx-edges, then yy-edges, then zz-edges) instead of by colour puts the non-contractible loop operators into the ISG, which measures the logical qubits and destroys them (Hastings and Haah). The set of checks is the same; only the schedule differs.

Applications

Planar codes. A memory on a chip needs boundaries. Planar honeycomb codes using only pairwise checks were constructed by Haah and Hastings, and planar Floquet codes from a different construction by Vuillot, whose boundaries leave the distance constant, so that construction is not fault-tolerant. Gidney, Newman and McEwen benchmarked the planar honeycomb code under circuit noise and estimated that a logical qubit with error rate 10−1210^{-12} at a physical error rate of 10−310^{-3} needs about 7000 physical qubits with entangling gates, or about 900 with native two-qubit parity measurements.

Native pair measurements. In the comparison of Gidney et al., the honeycomb memory compiled into controlled-NOT circuits has a threshold of 0.2–0.3%, below the 0.5–0.7% of the surface code in the same model; with native two-body measurements its threshold is between 1.5% and 2.0% of the error rate of the measurement. The design lesson is that Floquet codes suit hardware whose primitive is a pair measurement, the motivating case being Majorana-based qubits studied by Paetznick et al..

CSS Floquet codes. The CSS honeycomb code uses only XXXX and ZZZZ checks, which lets XX and ZZ errors be decoded separately (Davydova, Tantivasadakarn and Balasubramanian; Kesselring et al.).

Limitations and Common Pitfalls

  • The checks are not the stabilizers. A single check outcome is random once the next round is measured. Decoding uses detectors built from products of outcomes over several rounds, and a detector error model must be derived from the schedule.
  • Logical operators move. Reading out or acting on a logical qubit requires the outer logical operator of the current round, with the sign accumulated from all earlier outcomes. Forgetting the sign updates gives the wrong logical result.
  • The subsystem-code view is misleading. The honeycomb checks have the Kitaev honeycomb model as a parent subsystem code with no logical qubits. Counting logical qubits from the gauge group gives zero; the ISG gives two.
  • Thresholds depend on what is native. The honeycomb code is worse than the surface code when every check is compiled from controlled-NOT gates. Quote the gate model with any threshold.
  • The initial rounds are special. Starting from the maximally mixed state, the full ISG is reached only after the first four rounds; detectors in that window must be defined separately.

The honeycomb checks are the terms of Kitaev's honeycomb model, whose anyon theory is discussed under topological order and anyons. Floquet codes are decoded by matching on detector graphs, as for the surface code (quantum decoders). The lesson on Floquet codes computes the honeycomb ISG round by round and discusses schedules that fail.

Mentions
Mentioned in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Matthew B. Hastings, Jeongwan Haah (2021). Dynamically Generated Logical Qubits. Quantum 5, 564. doi:10.22331/q-2021-10-19-564arXiv:2107.02194
  2. Alexei Kitaev (2006). Anyons in an exactly solved model and beyond. Annals of Physics 321, 2-111. doi:10.1016/j.aop.2005.10.005arXiv:cond-mat/0506438
  3. Craig Gidney, Michael Newman, Austin Fowler, Michael Broughton (2021). A Fault-Tolerant Honeycomb Memory. Quantum 5, 605. doi:10.22331/q-2021-12-20-605arXiv:2108.10457
  4. Craig Gidney, Michael Newman, Matt McEwen (2022). Benchmarking the Planar Honeycomb Code. Quantum 6, 813. doi:10.22331/q-2022-09-21-813arXiv:2202.11845
  5. Jeongwan Haah, Matthew B. Hastings (2022). Boundaries for the Honeycomb Code. Quantum 6, 693. doi:10.22331/q-2022-04-21-693arXiv:2110.09545
  6. Christophe Vuillot (2021). Planar Floquet Codes. arXiv:2110.05348
  7. Adam Paetznick, Christina Knapp, Nicolas Delfosse, … Marcus P. da Silva (2023). Performance of planar Floquet codes with Majorana-based qubits. PRX Quantum 4, 010310. doi:10.1103/PRXQuantum.4.010310arXiv:2202.11829
  8. Margarita Davydova, Nathanan Tantivasadakarn, Shankar Balasubramanian (2023). Floquet codes without parent subsystem codes. PRX Quantum 4, 020341. doi:10.1103/PRXQuantum.4.020341arXiv:2210.02468
  9. Markus S. Kesselring, Julio C. Magdalena de la Fuente, Felix Thomsen, … Benjamin J. Brown (2024). Anyon condensation and the color code. PRX Quantum 5, 010342. doi:10.1103/PRXQuantum.5.010342arXiv:2212.00042
  10. David Aasen, Zhenghan Wang, Matthew B. Hastings (2022). Adiabatic paths of Hamiltonians, symmetries of topological order, and automorphism codes. Physical Review B 106, 085122. doi:10.1103/PhysRevB.106.085122arXiv:2203.11137
  11. Daniel Gottesman (1997). Stabilizer Codes and Quantum Error Correction. PhD thesis, California Institute of Technology. arXiv:quant-ph/9705052
  12. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic's own text checked. Hexagon example recomputed (W_p = X1 Y2 Z3 X4 Y5 Z6 with phases cancelling; outcome bookkeeping) and 6x6 counts confirmed by own GF(2) simulation (ISG rank 70, gauge rank 107, centre rank 37). Compared with Hastings-Haah 2107.02194 (Secs. 1.2-1.4: electric-magnetic exchange each round, outer operators period 6, schedule by Pauli type destroys the logical qubits), Gidney et al. 2108.10457 (0.2-0.3% vs 0.5-0.7%; 1.5-2.0% with native two-body measurements), Gidney-Newman-McEwen 2202.11845 (7000 vs 900 qubits), Haah-Hastings 2110.09545, Vuillot 2110.05348, Aasen-Wang-Hastings 2203.11137, Paetznick et al. 2202.11829, Davydova et al. 2210.02468, Kesselring et al. 2212.00042. Reference metadata matched Crossref or arXiv. Embedded records carry their own review states and were checked separately.

    Vuillot's planar Floquet codes were listed among planar memories without saying that, per the abstract of arXiv:2110.05348, their boundaries leave the distance constant and the construction is not fault-tolerant; added that qualification.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 3c905344a7fe81f9. Source file knowledge/records/topic/floquet-codes.md in the content repository (readable there once it is public).