It is said quantum entanglement works regardless of distance. 2 particles can be entangled and information is shared instantaneously, even if they are lightyears away from each other.
To be perfectly clear: entanglement cannot be used to communicate, no matter how long or how short the spatial separation. This is explained in more depth in this thread, but the basic principle is this:
- Suppose you have two entangled particles, say, spins in the up-down entangled state $|{\uparrow}{\downarrow}\rangle + |{\downarrow}{\uparrow}\rangle$.
- Suppose further that you measure the first particle along the up-down basis, and you get the result $s$. Then that will also project the second spin onto the state $-s$.
- Furthermore, depending on your interpretation of QM and on your overall stance on its foundational issues, it is possible to interpret this as an instantaneous action on the second qubit regardless of the distance between them.
- However: you have no control over whether you will get the result $s={\uparrow}$ or $s={\downarrow}$, so you have no control over the "message" that gets sent.
This can be further formalized in the No-Communication Theorem, which basically says that if the system obeys the rules of quantum mechanics, then no shenanigans that you could conceivably pull along these lines can be used to communicate faster than light. Quantum mechanics is a fully causal theory, i.e. there are no scenarios where the effects of a given cause can be observed outside of its future light cone.
On the other hand, it is possible to interpret the situation described in the bullet points above as the particles "communicating" with each other in a non-causal faster-than-light way and then "conspiring" to make that FTL communications channel unavailable to any macroscopic experiment ─ but the second half of that combo is crucial and can never be left out. Some people are OK with that, but I find it deeply unsatisfying as a philosophical position.
Also, to be perfectly clear, the protocol I described above does not actually rely on entanglement, and it is susceptible to a "Bertlmann's socks" explanation where you just put an $\uparrow$ and a $\downarrow$ spins in unlabeled boxes and ship them off. However, this kind of Local Hidden Variable explanation is insufficient to explain the full set of measurement results possible using entangled states: hidden-variable theories are constrained by Bell's theorem to satisfy a set of inequalities on the types and amounts of correlations that they can show, and there are multiple experiments showing that quantum mechanical systems routinely break those inequalities.
However, with all of those precisions in place:
It is said quantum entanglement works regardless of distance.
Yes, this is correct: as far as we know, all of the above works regardless of the spatial separation between the particles.
But how do we know this still works with such a vast distance between both particles? I can image experiments in a lab, or even on opposites sides of the planet, but not with light years between them. So how do we know?
We have no evidence for this beyond the fact that the theory has worked to explain every experiment we've asked it to explain on all the scales that we've managed to construct working tests of the theory, and the fact that all of our astronomical observations of physics from places that are inaccessible to us (from the presence of helium in the Sun to the thermal spectrum of the cosmic microwave background) can be explained using the same laws of physics that we test using earth-bound laboratories.
It is perfectly possible that any given law of physics will break outside of the range where we've tested it, which is why we keep testing them in newer and bigger regimes; indeed if we do find such deviations, they would be much more interesting than the finding that it's all the same everywhere. However, until and unless we do find such a result, there is no evidence to suggest that it's not the case.