Sambuco said:
Thanks
@Demystifier!

Indeed, I had never stopped to think about how important the post-selection role is in preparing Hardy state.
Lucas.
This, in essence, is very simple. Consider a product state
$$|\psi\rangle = |A\rangle |B\rangle$$
Any state can be written as a superposition in some basis. For instance, we can always write
$$|A\rangle = |A_1\rangle + |A_2\rangle$$
$$|A\rangle = |B_1\rangle + |B_2\rangle$$
(for simplicity I suppress the overall normalization of the states, because it's not important for the argument) so
$$|\psi\rangle = |A_1\rangle|B_1\rangle + |A_2\rangle|B_2\rangle + |A_1\rangle|B_2\rangle + |A_2\rangle|B_1\rangle$$
This superposition is still the product state, even if it does not look so at first sight. But if we do a postselection, we effectively remove some terms from the superposition. For example, if we do a postselection that removes the last term ##|A_2\rangle|B_1\rangle##, we end up in the post-selected state
$$|\psi'\rangle = |A_1\rangle|B_1\rangle + |A_2\rangle|B_2\rangle + |A_1\rangle|B_2\rangle$$
This post-selected state is not a product. It is an entangled state, known as Hardy state. This is arguably the simplest way to see how entanglement can result from post-selection.
Of course, a post-selection on an ensemble requires a measurement. In the Hardy setup the measurement is a detection of the pair of photons created by electron-positron annihilation. That corresponds to the case in which the removed term ##|A_2\rangle|B_1\rangle## describes electron and positron brought to the same position, so that they can interact. This means that from the ensemble we remove electrons and positrons that interacted, thus
leaving only those electrons and positrons that never interacted. In this way we get entangled particles that never interacted (because the interacting ones are removed from the ensemble), which is conceptually very similar to entanglement swapping. And yet it is much simpler, because it involves only 2 particles.