Start with an entangled pair of spin one-half particles:
$|\psi\rangle = \frac{1}{\sqrt 2}(|\uparrow\rangle_z |\downarrow\rangle_z + |\downarrow\rangle_z |\uparrow\rangle_z)$
This cannot be factored as a product of separate states for the two particles, so therefore is entangled. If we looked at the first particle in isolation, we'd have a mixed state. In particular, if we put it through a Stern-Gerlach analyzer, we'd get 50% up and 50% down. But we don't put it through it yet.
Instead, take the second particle and put it through the following Stern-Gerlach analyzer loop:
where, on the $\uparrow$ branch, the particle is unchanged, but on the $\downarrow$ branch, we have a uniform magnetic field that flips it to $\uparrow$. So, whether we put $\uparrow$ or $\downarrow$ in, we get up $\uparrow$ out.
Now our state is:
$|\psi\rangle = \frac{1}{\sqrt 2}(|\uparrow\rangle_z |\uparrow\rangle_z + |\downarrow\rangle_z |\uparrow\rangle_z)$
$ = \frac{1}{\sqrt 2}(|\uparrow\rangle_z + |\downarrow\rangle_z) \otimes |\uparrow\rangle_z$
$ = |\uparrow\rangle_x |\uparrow\rangle_z$
Which is no longer entangled, and is now a product state. In particular, if we put the first particle through an x-oriented SG analyzer, it looks like it would always come out the $\uparrow$ side.
I think this is wrong, and the first particle would stay in a mixed state. But my question is: what are the rules around when we take the complex sum of states, possibly getting interference, before taking a measurement? This is similar to having "which-way" information but then erasing it without measuring it. Information is lost, we destroy the information in the spin state of the second quantum particle. So now, when the first particle goes through an analyzer, we can't tell which branch it takes, so they should interfere, acting as a pure state rather than a mixture. So I'm confused.