Extended Data Fig. 7: Protocols for switching between [[7, 1, 3]] and [[10, 1, 2]] codes.

Stabilizers of the target code are measured to obtain the switching syndrome σ. If an error happens (indicated with red arrows), the run must be discarded or additional measurements must be taken.