Let me try to illustrate my understanding of the issue with entanglement and interference. Consider the following experimental setup:
You produce an electron at point A. From there it can take one of the following paths:
- Travel from A to B and emit a photon and then travel to C and finally to D, where it is detected.
- Same as path 1, except that it goes from C to E, where it is detected.
- Travel from A to G and emit a photon and then travel to F and finally to D.
- Same as path 3, except after F it travels to E.
Assume that at each decision point, A, C and F, the electron has a 50/50 chance of going in either direction.
Ignoring the photons, then the amplitude for the electron to be detected at D would involve interference between paths ABCD and AGFD. The amplitude for the electron to be detected at E would involve interference between paths ABCE and AGFE.
Let's assume that amplitudes are such that, without the photons, the probability would be 0% chance of arriving at D and 100% chance of arriving at E.
If there is no interference, then there is an equal probability of the electron being detected at D or E. So in the absence of interference, there is a 50/50 chance of the electron being detected at D or E. With interference, there is a 0/100 chance.
Entanglement is involved because whether you see the interference or not depends on what is done with the photon. The photon is entangled with the electron. If you measure the photon in such a way that it is possible to determine whether it came from B or G, then that gives "which path" information, and that will destroy the interference pattern. If instead, you erase the "which path" information (by routing the photon from B or G to the same final destination, where information about where it came from is lost), then you restore the interference.
What I don't understand about this type of experiment is the timing. If whether there is interference or not depends on what happens to the photons, it seems that you could delay measuring the photons until after the electron is detected. But by then, the interference or lack of interference would have already come into play.