A little more closely related than you might think.
From the link:
In practical terms, this means that there can be no shared information between the random number generators that determine the parameters of the experiments to be made, and the particles to be measured.
But the same also holds true for the experimenters themselves. It means there can be no information shared between them and the particles to be measured either. In other words, they must have completely free will.
In fact, if an experimenter lacks even a single bit of free will then quantum mechanics can be explained in terms of hidden variables. Conversely, if we accept the veracity of quantum mechanics, then we are able to place a bound on the nature of free will.
That’s an interesting way of stating the problem of entanglement and suggests a number of promising, related conundrums: what of systems that are partially entangled and others in which more than two particle become entangled.
Free will never looked so fascinating.