# Lattice splitting: understanding mathematically why it works based on the stabilizer formalism

I am struggling to understand why the lattice splitting procedure works precisely. I am following the appendix in this paper.

: While the answer in this topic answers the question, the concept that allows to properly understand the solution is solved in this topic How to find the stabilizer generators for a post-measurement state?

## The context

I will focus on the merging for rough boundaries as represented in the image below. I assume that the total state at "time 0" is $$|\psi\rangle=|0_L\rangle |0 \rangle |0_L\rangle$$ where the first logical qubit is the one on the left surface, the middle one is the measurement qubit $$M$$ and the right one is the state stored on the right surface.

I need to show that after the lattice merging, which consists in "turning on" the $$X$$ stabilizers $$X_2 X_a X_M$$, $$X_5 X_d X_M$$, and in changing the $$Z$$ stabilizers: $$Z_a Z_c Z_d \to Z_a Z_c Z_d Z_M$$, $$Z_2 Z_3 Z_5 \to Z_2 Z_3 Z_5 Z_M$$, the state at the end of the procedure will become $$|\psi \rangle \to |0_L\rangle$$ which is the logical $$0$$ of the now merged surface. Here I only described "which stabilizer changed", but of course we will have all along many other "stabilizers" activated, $$Z_1 Z_3 Z_4$$ would be an example.

If I properly understand this example, by linearity I could understand what happens for arbitrary initial qubit stored on the two surfaces before merging (as the reasoning would be similar for any computational state).

## My question

In the paper, it is said that before any merging, the stabilizers for $$|0_L\rangle |0 \rangle |0_L \rangle$$ are the following: I agree with that. (don't pay attention to the blue lines right now).

Then, the authors reason sequentially. They consider first "turning on" $$X_2 X_M X_a$$ (and even if not explicitly written, they also do the change $$Z_a Z_c Z_d \to Z_a Z_c Z_d Z_M$$, $$Z_2 Z_3 Z_5 \to Z_2 Z_3 Z_5 Z_M$$. They obtain the following stabilizer table: I agree with everything but the red lines. They are corresponding to the blue lines in the previous table (which represented stabilizers for the logical $$|0_L\rangle$$ for the two surfaces), but now multiplied by $$Z_M$$. Indeed, I remind that the logical $$Z$$ for the first and second surfaces can be written as $$Z_1 Z_2$$ and $$Z_a Z_b$$ respectively.

I understood the presence of the blue lines in the previous table. Even though we were not "actively" measuring the associated Pauli, the state was by definition an eigenstate of those. However, I don't understand the red lines in the second table, and this for the following two reasons:

1. We are not actively measuring $$Z_1 Z_2 Z_M$$ neither $$Z_a Z_b Z_M$$.
2. Even if we are not actively measuring those, nothing tells us that the state would be an eigenstate of those two operators. If it appears to be the case I don't find it obvious and it would have to be shown.

In conclusion: could someone explain to me why the red lines are present in the second table? If I understand this I guess I could understand the rest of the proof yielding to $$|\psi \rangle \to |0_L \rangle$$

$$\pm Z_1 Z_2$$ is a stabilizer of the system, since you've been measuring it repeatedly for awhile.

Now you measure $$Z_M$$. This forces $$\pm Z_M$$ to become a stabilizer of the system. This doesn't affect $$\pm Z_1 Z_2$$ being a stabilizer because $$Z_1 Z_2$$ doesn't overlap with $$Z_M$$ (and even if it did they commute so it's fine).

When $$A$$ and $$B$$ are stabilizers of a system, $$AB$$ is also a stabilizer.

Therefore $$\pm Z_1 Z_2 Z_M$$ is a stabilizer of the system after measuring $$Z_M$$.

This is rather handy, because you're about to start measuring X observables which anticommute with $$Z_1 Z_2$$ and anticommute with $$Z_M$$ but which commute with $$Z_1 Z_2 Z_M$$. So $$Z_1 Z_2 Z_M$$ is the stabilizer to focus on, because it's the one that will survive what's coming.

• Thank you for your answer. In your reasonning you assume that we continue to measure $Z_1 Z_2$. Why would that be the case? This is not a stabilizer we need to measure, but this is the logical operator of the left surface. I agree that at time $0$ everything behave "as if" we were measuring it (because of our starting state). But I don't understand why we are supposed to continue measuring it. Furthermore, the overall goal is to show that the merging operation will work for any logical state prepared. Hence we cannot assume that this operator is continuously measured. Jan 30, 2022 at 18:33
• What I mean by my last sentence is that if you assume that $Z_1 Z_2$ (and $Z_a Z_b$) are continuously measured, maybe you would understand the merging operation for an initial state being $|0_L\rangle |0 \rangle |0_L\rangle$, but this proof would not work anymore for an initial state being for instance $|+_L\rangle |0 \rangle |+_L\rangle$. This is why I don't see how we can assume a continuous measurement of $Z_1 Z_2$ and $Z_a Z_b$ all along all the procedure. The merging would not work for an arbitrary initial state if we did this. I hope it clarifies my trouble. Jan 30, 2022 at 18:38
• Actually I believe I see what you mean. In the first table, I could rewrite my stabilizers $Z_1Z_2$ and $Z_M$ as $Z_1Z_2Z_M$ and $Z_M$. Then, in the second table we start measuring $X_2 X_M X_a$. $Z_1Z_2Z_M$ keeps commuting with it, so I can keep it in the table. However $Z_M$ is anticommuting with it. Hence I have to remove it from the stabilizer list. The reason why I am removing $Z_M$ and not $X_2 X_M X_a$ is because I am actually measuring the latter. Would you agree? Jan 30, 2022 at 19:02
• @StarBucK Yes that's right. You rewrite into $Z_1 Z_2 Z_M$ and $Z_M$ to minimize the number of things you lose. (From earlier: no I don't mean we continue to measure $Z_1 Z_2$ after the merge.) Jan 30, 2022 at 23:14
• Thanks for your answer. While it answers my problem in this specific example (because it is a "simple" one), it helped me to understand my overall difficulty which I phrased here quantumcomputing.stackexchange.com/questions/23891/… This other post is somehow the general approach to your suggestion. Jan 31, 2022 at 19:14