Bell tests with minentropy sources
Abstract
Device independent protocols rely on the violation of Bell inequalities to certify properties of the resources available. The violation of the inequalities are meaningless without a few wellknown assumptions. One of these is measurement independence, the property that the source of the states measured in an inequality is uncorrelated from the measurements selected. Since this assumption cannot be confirmed, we consider the consequences of relaxing it and find that the definition chosen is critically important to the observed behavior. Considering a definition that is a bound on the minentropy of the measurement settings, we find lower bounds on the minentropy of the source used to choose the inputs required to deduce any quantum or nonlocal behavior from a Bell inequality violation. These bounds are significantly more restrictive than the ones obtained by endowing the measurementinput source with the further structure of a SanthaVazirani source. We also outline a procedure for finding tight bounds and study the set of probabilities that can result from relaxing measurement dependence.
pacs:
03.65.Ta 03.65.Ud 03.67.aI Introduction
The violation of Bell inequalities can be used to certify important quantum information properties in a blackbox scenario under minimal assumptions. This idea of “deviceindependent” certification started in the context of quantum key distribution, where the violation of Bell inequalities bounds the information leaked to the eavesdropper [1]; [2]; [3]; and it has been extended to various other tasks, notably state certification [1]; [4]; [5], measurement certification [6], and private randomness expansion [7]; [8]; [9]. Ultimately, this stems from the fact that the violation of Bell inequalities certifies the presence of a quantifiable amount of intrinsic randomness: indeed, a contrario, if the outcomes were predictable, one could have predicted them in advance and the measurement could consist of reading from a preexisting list. This is exactly what the violation of Bell inequality certifies as impossible.
Two assumptions are left in deviceindependent certification. The first is nosignaling: the choice of the measurement setting of one party should not be known to the measurement boxes of the other parties before they produce their outcome. This can be guaranteed ultimately by ensuring spacelike separation, although one may also trust a weaker demonstration of separation, as for instance in [7]. The second assumption is measurement independence: the information contained in the boxes in each run should be uncorrelated from the choice of the settings in that run. So far, no way of checking measurement independence is known in a blackbox scenario: the best one can do is to buy the source of and the devices that choose the settings from different providers, who are believed not to be conspiring together. Alternatively, one can partly give up the blackbox scenario, characterize the devices and be confident that the relevant degrees of freedom are uncorrelated.
It is clear that nosignaling and measurement independence cannot be arbitrarily relaxed: if any amount of signaling is allowed, or if arbitary correlation is admitted between source and settings, the violation of a Bell inequality can be obtained with purely classical resources , so there is no hope to conclude that contains intrinsic randomness. However, with the aim of reducing the assumptions of deviceindependent certification to their bare minimum, one can partially relax nosignaling and measurement independence, and ask how much information must be signaled and how much measurement dependence must be allowed for a Bell test to become irrelevant [10]. In this paper, we focus on the latter question, the study of partial measurement dependence (sometimes called reduced measurement independence or reduced “free will”), which has been the object of a few recent studies [11]; [12]; [13]; [14]. In particular, we consider the random source that is required to choose the input settings for a Bell inequality and place bounds on the minentropy necessary to show any difference between local and nosignaling output distributions. Note that if the violation of a Bell inequality is used in a device independent protocol to certify the amplification or expansion of input randomness, this source would serve as the seed randomness in the protocol.
Ii Measurement dependence and its basic consequences
ii.1 Measurement independence
For the sake of this introduction, we consider a bipartite Bell scenario. Operationally, a Bell experiment consists of apparently identical runs
Measurement independence, the assumption that we want to relax, is captured by the condition
(1) 
Under this assumption, the observed statistics are modeled by
(2) 
The specific goal of a Bell test is to assess whether there is intrinsic randomness in the boxes, that is, in the usual terminology, to guarantee that is not a local variable. Mathematically, local variables are defined by . It is useful to stress that, as written, (2) contains an additional assumption, namely that itself is chosen independently in each run according to the distribution . Under measurement independence, it can be proved that this is ultimately not a restriction for Bell tests, although one has to be careful in interpreting statistics from finite samples [15]; [16]; [17].
Measurement independence cannot be denied in a systematic way without undermining the scientific method itself (if a clinical trial is to make sense, whether each patient receives the drug or the placebo cannot depend on the any details of the patients’ conditions). However, it is certainly possible to question measurement independence in a given setup: the devices that determine the inputs may be correlated to the process that determines . The origin of such correlation may be trivial, like the fluctuations in power of the city network to which all the devices are connected; it may be due to lack of attention of the experimentalists, who introduced unwanted connections; or it may be strongly conspiratorial, in an adversarial scenario in which the devices come from an untrusted provider. In all cases, (1) does not hold, nor does the proof that one can restrict the study to independentlychosen .
By relaxing condition (1), one allows correlations between the boxes’ content and the choice of the settings . Bayes theorem implies that
(3) 
The first relation could be read as “the output of the source is restricted for a given choice of settings”, the second as “the choice of settings is restricted for a given output of the source”. Neither needs to refer to a real causal relation: all is compatible with both and being influenced by a common cause (Fig. 1). That being clarified, our discourse will be mostly phrased in the second way (the first way will be used in Section VI). We shall then look at measurement dependence as reducing the probability of certain pairs of settings. In the case where the dependence is sufficient to exclude enough pairs of settings, unwanted features of local variable models may be hidden. This is the same intuition behind the power of the detection loophole; in fact, measurement dependence is even stronger, because it may allow to exclude a single pair of settings, whereas the detection loophole is local and excludes all pairs of settings such that one given setting of (say) Bob is associated to unwanted features. This opens a wealth of possibilities that we review rapidly next.
ii.2 Effects of measurement dependence
The obvious effect of measurement independence is the possibility of faking a violation of Bell inequalities. A Bell inequality is built on a linear combination of , whose maximal value (called algebraic limit) cannot be reached by local variables. If, in each run, one can exclude some suitable pairs of settings in correlation with the content of the boxes , then it becomes possible to reach the algebraic limit while having only local variables in the boxes.
Let us illustrate this point with the most famous Bell inequality, that of Clauser, Horne, Shimony and Holt (CHSH). The inequality reads
(4) 
with . In order to achieve the algebraic limit of , one should have , , and . Local deterministic points exist that satisfy three out of these four conditions. If one wants to achieve the algebraic limit with local variable and measurement dependence, a sufficient strategy is the following: in each run, is chosen among the aforementioned local deterministic points, and the pair of settings corresponding to the unwanted condition is never chosen [10]; [12].
The fact that a sufficient amount of measurement dependence can lead to the algebraic limit has an intriguing consequence for some inequalities. Indeed, in generic inequalities, the algebraic limit may lie even above what can be reached with nosignaling correlations. For instance, the tilted CHSH inequality
(5) 
has an algebraic limit of , but nosignaling correlations can reach only up to 4 if [18]. If measurement dependence is allowed, to the point that one pair of settings can be excluded, then one can achieve the algebraic limit with a convex mixture of
(6) 
where we denoted a local deterministic point as . If a Bell test is run with this underlying strategy, the observed correlations will lie outside the nosignaling polytope, i.e. are formally signaling. Obviously, this does not mean that measurement dependence makes it possible to use entanglement to actually send a message: in order for (say) Alice to send a message to Bob, she must be able to choose her setting at will, which is precisely what measurement dependence denies. At any rate, one must be careful when working with measurement dependence: the worst case are correlations that reach the algebraic limit, not the nosignaling one (to our knowledge, all the studies of measurement dependence so far dealt with inequalities for which the two limits happen to coincide [10]; [11]; [12]; [13]; [14]).
The takeaway message of this paragraph is that one does not have to reach the extreme case of total measurement dependence (i.e. determining uniquely): already with some partial amount of measurement dependence, it becomes impossible to draw any conclusion from the violation of a Bell inequality. This has important consequences when the source is characterized only by its conditional minentropy. Indeed, one of our main result will consist in deriving general bounds for this amount (Section IV). In order to do that, we need first to recall the definition of minentropy and its relation to the SanthaVazirani condition in light of measurement dependence.
Iii Minentropy and measurement dependence
As mentioned, the source of the Bell test behaves according to . Measurement independence implies that has as much entropy or randomness as . In contrast, partial measurement dependence means that there is some randomness in the source, but it is less than the entropy of the distribution . The minentropy and minentropy deficit are measures of randomness of a source, and they partly capture the amount of measurement dependence in special cases. But note that they are not intrinsic measures of measurement dependence (for instance, minentropy deficit equals 0 does not imply measurement independence). If the minentropy is not high enough, it leaves open the possibility of excluding certain settings, which allows faking of Bell violations as we discussed before. This behavior is forbidden in SanthaVazirani sources as explained next.
iii.1 Minentropy vs SanthaVazirani condition
We illustrate our point with an example. The chained inequality is a bipartite Bell inequality with settings for each party and binary outcomes for both measurements on and , which reads
(7)  
It has been used to put stringent bounds on quantum theory thanks to the property that, in the limit , its algebraic limit can be reached with measurements on quantum states [19]; [20].
Out of the possible pairs of settings, are effectively used in the inequality. Furthermore, there exist local deterministic points that can satisfy of these conditions. Therefore, in order to verify any conclusion based on the chained inequality, it is enough to have an amount of measurement dependence that allows the exclusion of only one pair of settings out of . In the limit of large , under whichever measure, such a source is very close to a fully random source: for instance, its minentropy per run (defined below) is , which differs from the fully random value by . This example shows that a source, which would presumably be considered as good as it gets in an abstract assessment, is already catastrophic for the Bell inequality under study. Notice that this remark is not in contradiction with the results of [11], which can be seen as proving that the chained inequality is pretty robust to measurement dependence: indeed, in that work, the additional SanthaVazirani assumption was made on the source, which implies that all the pairs of settings are possible in each run. Our argument, based on excluding one setting in each run, does not apply.
It is now time to present the definitions we have just sketched in their suitable formal setting. We shall consistently use the word source to stress that the source of randomness we are interested in is the randomness of the inputs given the knowledge of the physical process or vice versa, not the randomness possibly present in (which would be the intrinsic randomness of quantum origin in the ideal case).
iii.2 Formal definitions
Here we review rapidly the definitions of wellknown types of sources of randomness for the purpose of this paper, referring to [21] for a comprehensive study.
Consider a random variable in an alphabet of size ; and let be an dit string. In our case, will represent the settings chosen for the Bell test, i.e. in a bipartite scenario. Randomness being synonymous with unpredictability, a source of randomness will be characterized by specifying what one wants to predict and how predictable it is, given some prior information (supposed to be classical throughout this paper). One would then say that the source contains randomness if
(8) 
where . The amount of randomness is quantified by the minentropy
(9) 
Clearly, implies the presence of some randomness. To someone who does not have access to , the source will appear to have minentropy which can only be higher by the data processing inequality. Though obvious, it may be worth stressing that is not the same as , since is not a given probability distribution but a notation for a procedure that picks up the maximum of a probability distribution. As an extreme example, if looks uniform but the knowledge of determines uniquely, one has and .
The loosest characterization of the source, i.e. the one that requires fewer assumptions, simply puts a bound on the minentropy:
Definition 1.
Minentropy source. A random variable is a minentropy source of randomness with respect to another random variable if .
As soon as , the knowledge of does not determine uniquely. One can add some structure to a minentropy source. For instance, a minentropy source is called uniform if for all values of . A block minentropy source is one for which not only the minentropy of the whole string, but the minentropy of blocks is also lower bounded. These notions will not be used in this paper.
As soon as , the definition of minentropy source is compatible with for one string . As hinted in paragraph III.1, the possibility that some settings are not chosen is critical for sources of Bell tests. Because of this, one may want to add to the properties of the source the assumption that all the strings have nonzero probability. This is equivalent to the following type of source:
Definition 2.
SanthaVazirani sources. A random variable is a SanthaVazirani source with respect to (where and ) if
(10) 
If is a bit, is usually written [22]. Some of the most important results in measurement dependence in Bell tests have been obtained for SanthaVazirani sources [11]; [13]; [14]. These results show that there is a real advantage in considering Bellbased randomness, because it overcomes nogo theorems for classical information.
Finally, let us focus on distributions that are independent and identically distributed (i.i.d.) such that
(11) 
This can also be viewed as a block minentropy source where each block consists of only one symbol, . In this case, the SanthaVazirani definition implies:
(12) 
We will use a different notation such that and to make clear that we are in the i.i.d. scenario. Then the definition of uniform minentropy sources is equivalent to the figure of merit of measurement dependence used in [12], namely
(13) 
since is equivalent to . In the following, we will use these two figure of merits interchangeably for i.i.d. models.
Instead of bounding the largest probability, the smallest probability also gives information on measurement dependence, as first proposed in [23]:
(14) 
If only is explicitly bounded, then a bound on can be inferred, however, it might be trivial, since it can be negative: . Bounding only the minentropy of the input source to the Bell test, or equivalently bounding only , which is the guessing probability, allows much different worstcase behavior in Bell tests than when the SanthaVazirani definition is adopted, as we shall now explore.
Iv Lower bound for minentropy sources
We will be dealing with a partite Bell scenario where the party has measurement settings ( for bipartite) and each setting has an arbitrary number of outcomes. The joint configuration of settings with ( for bipartite) is a tuple in the set of all settings of size . In this Section, moreover, we consider a Bell test in which the observed statistics of the settings follow a uniform distribution, that is
(15) 
or equivalently
(16) 
This is not an assumption like those on the nature of the source: is observed in a realization; but it is a frequent working assumption for theoretical works, which was made in all previous works on measurement dependence. In Section V, we shall see that a nonuniform has interesting consequences in studies of measurement dependence.
We are presently able to discuss our main result: a lower bound on the minentropy of the source, below which no conclusion can be drawn from any Bell test, unless further structure is assumed.
iv.1 Reaching the nosignaling limit
The main insight is provided by the following Lemma, which we present in the bipartite scenario (the generalization to multipartite scenarios holds with identical proofs and more cumbersome notation, so we give it in Appendix A):
Lemma 1.
Let be an arbitrary nosignaling distribution with and . For any pair of settings , there exists a local distribution such that
(17)  
Moreover, this result is tight: if another pair of settings is added to the subset of pairs, there exists a nosignaling point for which those probabilities are nonlocal.
Proof.
The proof can be done by constructing explicitly one such local distribution. Let us fix without loss of generality. From the nosignaling distribution , we construct
(18) 
with obvious notations. This is a valid joint probability distribution over the outcomes of all the measurements. Now, on the one hand, the marginals define a local distribution, as first proved by Fine [24]. On the other hand, it is easy to show that : one should sum first over all possible values of to find , after which the sum over the ’s is obvious. Similarly one proves that . So indeed we have a local distribution that mimicks the initial nosignaling one on the desired subset of pairs of settings.
As for the tightness, suppose that we add a single pair of settings, say , to : there exist nosignaling points for which CHSH is violated by the settings , , and ; so those statistics can’t be mimicked by a local distribution. ∎
Now we can state the main theorem:
Theorem 1.
Consider a minentropy source with an observed minentropy for an run bipartite Bell test with inputs on Alice, inputs on Bob and arbitrary alphabets for the outcomes. If
(19) 
no conclusion can be drawn from the Bell test, since the nosignaling limit of the inequality can be reached with local distributions. The generalization of this result to partite Bell tests reads
(20) 
for . Notice in particular that, without further assumptions, any source of randomness with is useless as a source for any Bell tests.
Proof.
We will construct an explicit i.i.d. source which allows the faking of a Bell violation up to the nosignaling bound with appropriate local resources. From Lemma 1 we know that there exist subsets of pairs of settings, for which no difference can be seen if a local distribution is substituted for a possibly nonlocal nosignaling point: in particular, this could be the nosignaling point that reaches the nosignaling limit for the inequality under study. If is sufficiently low, the source will allow only the pairs of settings that belong to one of the and distribute the corresponding local strategy . The source
(21) 
has in each run, whence we have proved the bound (19) as long as we can find such that for all . In the case where is uniform, this can always be found by simply choosing uniformly the pair , i.e. . This concludes the proof for the bipartite case. The proof of the multipartite case is identical using the material of Appendix A. The final remark of Theorem 1 stems from the fact that each Bell test much involve at least two parties and each must have at least two settings.
∎
Because of the tightness of Lemma 1, the bounds (19) and (20) are the best inequalityindependent bounds that one can obtain with i.i.d. sources. Moreover, since there exist inequalities for which the quantum and the nosignaling limits coincide, the bound to reach the quantum limit cannot be better. If the inequality is given, however, much less measurement dependence may be sufficient to reach the nosignaling limit, and even less to reach the quantum limit if it is lower. We elaborate further on this point in the following paragraph.
iv.2 Inequalitydependent bounds
Let define a Bell inequality, whose local, quantum and nosignaling limits are given by , and be the set of settings that are used by the Bell inequality
(22) 
can reach the nosignaling limit of with local strategies for uniform input distributions. In the following section we will show how to obtain bounds for arbitrary and that approach will also give tight bounds and optimal strategies when the inequality is one in which the size of the “hidden sets” varies with .
Further, if , in order to simulate physics one may be content with reaching the quantum limit. A possible i.i.d. source (not proved to be optimal) is the following (see Fig. 2). With probability , the settings are chosen uniformly among all possible tuples: this is measurement independence, so on these cases, and the physical process can be chosen as one of those that saturate . In the other instances, the settings are chosen uniformly in and the physical process is chosen in each case in order to achieve . In other words, this source is a convex combination of the measurement independent uniform source and the source described in the previous paragraph. Note that this new source will automatically satisfy the constraint (. For such a source, therefore, is the probability of each setting in , which reads . With this measurementdependent strategy, one can reach , so for . In summary, the quantum limit can be achieved with an i.i.d. source with
(23) 
that is, a minentropy source with can reach the quantum limit of with local strategies, for a uniform input distribution.
Let us illustrate the methodology with the analysis of some inequalities:

CHSH: here, it is always necessary and sufficient to hide one pair of settings. Therefore and the inequalitydependent bound (22) is the same as the inequalityindependent one (19) to reach the nosignaling limit, as already proved in [12]. Recall that this does not prove the bounds to be tight, because they are based on explicit i.i.d. sources: non i.i.d. sources may lead to tighter bounds, though we do not know any example. As for reaching the quantum limit, we have .

Chained inequality: here again, as we have seen in paragraph III.1, it is always necessary and sufficient to hide only one pair of settings out of , so and for all . As a consequence, in terms of minentropy, the inequalitydependent bound (22) is , which is approximately twice the value obtained from (19). For large , the quantum and nosignaling limits basically coincide.

CGLMP inequalities: like the CHSH inequality, the CGLMP inequalities are two party inequalities where each party has two inputs. However, this family of inequalities has possible outputs for each party. In the quantum case, the CGLMP inequalities can provide more robustness against measurement dependence than the CHSH inequality, in the sense that the minentropy of the inputs given the source must be lower if the quantum bound is to be achieved. The reason is that it has been shown that as , the quantum limit increases and approaches the nosignaling limit [25]; [26]. As can be seen, inspecting equation (23), the value of will increase with , and the value of necessary to reach the quantum limit with local resources increases, until it reaches the nosignaling value in the limit.

Mermin inequalities: Mermin inequalities [27]; [28] are multipartite inequalites such that for odd numbers of parties, the quantum and nosignaling bounds coincide. For this reason, the 5party Mermin inequality was used in [13] to amplify randomness. When the number of parties is an odd number at least 3 only a subset of all possible inputs appear in the corresponding Mermin inequality and the inequalityindependent bound is not tight. In general, for odd parties and [29]. Specifically for the 5party case, and .
V The positive effect of biasing the choices of the settings
Theorem 1 shows that assuming a full minentropy source on the measurement settings, for any meaningful conclusion to be drawn from a Bell test, it must be that . However, recalling that the role of the observed data is actually a constraint imposed on the underlying model (similar to equation (16)), we can hope to use it to our advantage. This motivates the question: for a given value of that is being assumed, what is the optimal distribution on the inputs such that the maximum possible Bell value obtainable with this degree of measurement dependence and only local resources is as low as possible. Because the situation for non i.i.d. models is intractable, we are restricting ourselves to the i.i.d. model for the remaining of this chapter. Here instead of the minentropy, the guessing probability is used exclusively as the figure of merit of measurement dependence. First, we consider the CHSH inequality as an explicit example.
v.1 The CHSH Inequality
Intuitively, we expect that the optimal solution is to set for each input round and for three pairs and for the final pair because in this case cannot contain any further information on than is available simply from observing the distribution . We will highlight an example of this type of distribution later in this section. This is not a uniform distribution, so we can already see that nonuniform input distributions can be beneficial. In this section, we will consider fixed input distributions and find the maximum value that the CHSH inequality can take given a bound on . Note that the method in this section extends to any multipartite Bell inequality.
We want to find the violation , under local resources and measurement dependence, as a function of and . To this end, observe that the local distributions form a convex polytope and so is the set of sources with a fixed value of (the source polytope). Using the decomposition into extremal points of a convex polytope, we have
(24)  
(25) 
where are the extremal points of the local polytope and are the extremal points of the source polytope. Now after multiplying by both sides by , the i.i.d. model with measurement dependence becomes
(26)  
where
(27)  
(28) 
In this notation, the problem becomes a linear program, i.e. finding
(29) 
subjected to the constraints
(30) 
for known values of and . The result is presented in FIG. 3.
Using the numerical results, it is easy to see that the optimal strategy for maximizing the Bell value whether or not the observed distribution is uniform is to choose
(31) 
for each , where is defined in equation (1). Choosing this strategy, it is straightforward to find an analytic expression for :
where for convenience we define . This expression is only valid for (). Notice that when the distribution is uniform and the second term vanishes, leaving a linear expression in .
It is interesting to observe that for the purpose of violating Bell inequalities (that is, demonstrating nonlocality by exceeding ) under measurement dependence, suppose the inputs have privacy quantified by , then it is advantageous for us to purposely select an input distribution that is not uniform. This can be seen easily from for example the red curves for : selecting uniform input distribution allows a violation up to about 2.5 while selecting nonuniform input distribution only allows a lower maximum violation! Note that for nonuniform distributions on the inputs the upper bound on the Bell value is only as low as 2 (the local bound assuming measurement independence) for nonproduct distributions on the inputs. (See the blue dashed curves.) All nonuniform product input distributions can have Bell values larger than 2, if measurement independence is relaxed. Notice also, that the lowest blue curve, the one that takes the value 2 at is the one corresponding to the distribution . This is precisely the form of the distribution on the inputs we has anticipated at the start of this section.
v.2 Generalizations
We have seen that for the case of the CHSH inequality, the strategy outlined in section IV in equation (21) is the optimal strategy even in the case that the distribution is not uniform. In general however this is not the case. It is possible to find some inequalities that together with some distributions do not admit a strategy of the form
(32) 
where is determined by the normalization condition to be .
Let us limit our focus to inequalities with symmetries such that and for all . In that case, equation (16) can be written as a matrix equation, with and written as vectors and is a matrix whose entries are defined by equation (32). If the matrix is is fullrank, then there is a unique solution for that is a valid probability distribution. This will always be the case if and have no common factors.
Examples of cases where the sizes of the sets and have no common factors are any bipartite Bell inequality with terms for all input pairs present and where both parties have the same number of inputs. For these cases, the minentropy bound of section IV also applies for any nonuniform observed distribution on the inputs.
If, for a given inequality, and have at least one common prime factor, there may be some choices of distribution for which the strategy (32) will not be able to reproduce with any valid distribution . In that case, the optimal strategy may have to be found numerically. For the i.i.d. case, one do this by solving a linear program that is a generalization of the one presented in the previous section.
Vi Bounds on the achievable distributions
While the set of distributions obtainable from a measurement independence local model is the local polytope, that obtainable from a measurement dependence model is in principle a larger set. The example in section II.2 makes it clear that this set can even include signaling distributions. Now we wish to study more carefully this new set of distributions. As mentioned in II.1, figures of merit of measurement dependence can be defined as restrictions on instead of . It turns out that in characterizing the set of achievable distributions, it is easier to work with figures of merits based on . In general, specifying does not specify unless and are uniform, in which case the two are proportional. Among the figures of merit one can define is the one by Hall [10]. We shall adopt a slightly modified measure:
Definition 3.
The quantity bounds the distance between the probability distribution over the random variable given access to and the distribution over without information on :
(33) 
with and is the total variational distance.
Essentially this definition bounds the distance of any one element in the distribution away from a strategy independent of Alice and Bob’s inputs and , which is similar in flavour to a SanthaVazirani bound.
Now we wish to compare the point obtainable from a measurement dependence model with local resources,
(34) 
to its corresponding measurement independent point,
(35) 
Their distinguishability is characterized by their total variational distance
(36)  
where we have applied the triangle inequality. In other words,
(37) 
which gives a bound on the distributions that can be created with a measurement dependence model of dependence bounded by .
There is another model that relaxes assumptions about correlations between two parties: quantum “crosstalk” between nonfullyisolated devices [30]. In this case, the assumption that the measurement operators are in a tensor product, , is relaxed and thus it is possible to use the measurement itself to introduce quantum correlations between the two parties. The model was proposed to describe excess correlations that could result from a pair of trapped ions measured while situated next to each other in a refrigerator after being entangled. Comparing our equation (37) with equation (2) in [30], we find that the distributions allowed by crosstalk are formally the same as those allowed by measurement dependence as defined in equation (33), even though the physical interpretation is very different.
Vii Conclusions
Bell tests are an essential tool in deviceindependent approaches. They rely on a set of reasonable assumptions, but some of the assumptions are untestable. In particular, the correlations between source and settings are strictly unobservable and therefore the amount of reduction of measurement independence is ultimately an assumption, either on the power of an adversary, on a physical model for the experiment. This study has demonstrated that when relaxing this assumption, the definition used, be it minentropy or a SanthaVazirani condition, is critical with respect to what kind of guarantees can be obtained from a Bell test. There are results [13]; [31] showing that with a SanthaVazirani source assumption arbitrarily weak randomness can be amplified using a protocol that checks for the violation of a Bell inequality. This cannot be accomplished using a minentropy condition, as we have demonstrated in section IV: for sufficiently low minentropy any inequality can be violated up to its nosignaling bound, using only the classical measurement dependent correlations and in a way that a third party could predict all of the outcomes of the measurements. Even for the protocol in [11] that amplifies bounded randomness (in the SanthaVazirani definition) using violations of the chained Bell inequality, in order to get perfectly free bits out, the number of outputs for this inequality must go to infinity. As we point out in section III.1, in this limit the chained Bell inequality is not robust to any relaxation of input randomness if the minentropy definition is used instead.
The bounds on the minentropy presented in section IV give immediate bounds for any inequality on the amount of input randomness required to draw conclusions about whether the violation of a Bell inequality can give any certification of quantum or nonlocal behavior. The method demonstrated for the CHSH inequality in section V demonstrates how to get tight upper bounds for the value a given Bell inequality can take assuming a minentropy bound for any distribution over the measurement settings. It also shows that there may be advantages to deliberately choosing nonuniform distributions over measurement settings in device independent protocols, depending on what assumptions are being made. Relaxing the assumption of measurementdependence increases the set of probability distributions that can result from a Bell test assuming a local, realistic hidden variable model and section VI gives an expression bounding this increase.
Being as the assumption of measurement independence cannot be confirmed, it is important to understand the consequences for device independent protocols when it is relaxed. It is especially interesting that the minentropy condition, a condition widely adopted in classical security studies [21]; [32]; [33]; [34], is has such a different behavior from the SanthaVazirani condition for these devicetesting purposes. We hope that the bounds and characterizations provided here will be useful for constructing protocols that are more robust to extraneous correlations.
Acknowledgements.
This work is funded by the Singapore Ministry of Education (partly through the Academic Research Fund Tier 3 MOE2012T31009) and the Singapore National Research Foundation. We would like to thank JeanDaniel Bancal, Jeysthur Ang, Roger Colbeck, Yaoyun Shi, Aarthi Sundaram and Miklos Santha for helpful discussions.Appendix A Generalization of Lemma 1 the multipartite case
The bound (20) for the minentropy in a multipartite scenario is based on the generalization of Lemma 1 that we provide here:
Lemma 2.
Let be an arbitrary partite nosignaling distribution with where and is a tuple of outcomes. For any tuple of settings , there exists a local distribution such that
(38)  
Moreover, this result is tight: if another tuple of settings is added to the subset , there exist a nosignaling point for which those probabilities are nonlocal.
Proof.
Again, let us fix without loss of generality. Let be the th party’s outcome given the th measurement setting. From the nosignaling distribution , we construct a valid probability distribution
(39) 
whose marginals define a local distribution by Fine’s result [[24]]. To verify that we have a local distribution that mimics the initial nosignaling one on the desired subset of pairs of settings, consider this example: for the input string with the distribution we sum first over all possible values of each outcome variable to find
(40) 
after which continue to sum over all the except and one is left with a probability distribution on only variables, one for each party. The other verifications are similar. Another way to think of it is to notice that each conditional probability factor on variables (one variable conditioned on other variables) effectively sets a joint probability distribution on those same variables. In the distribution (39) there are such factors and so this is exactly how many local points that can be matched for a given hidden variable value (see equation (20) in the main text). The argument for tightness still works if we consider only two parties among . For any two parties we can choose a pair of inputs for each to return to a CHSHtype scenario, then the argument follows in the same way as in the proof of Lemma 1.
∎
Footnotes
 We focus on the operational description of current experiments and do not consider the more general, but as yet abstract, case of parallel repetition, in which all the inputs are given at the same time.
 The chained Bell inequality is an example of an inequality whose value depends only some of the possible inputs. Only terms such that or and the term for appear.
References
 D. Mayers and A. Yao. Proceedings of the 39th IEEE Conference on Foundations of Computer Science, 1998.
 A. Acín, N. Brunner, N. Gisin, S. Massar, S. Pironio, and V. Scarani. Phys. Rev. Lett., 98:230501, 2007.
 U. Vazirani and T. Vidick. 2012. arXiv:1210.1810.
 C.E. Bardyn, T.C.H. Liew, S. Massar, M. McKague, and V. Scarani. Phys. Rev. A, 80:062327, 2009.
 M McKague, T H Yang, and V Scarani. Robust selftesting of the singlet. Journal of Physics A: Mathematical and Theoretical, 45(45):455304, 2012.
 R. Rabelo, M. Ho, D. Cavalcanti, N. Brunner, and V. Scarani. Phys. Rev. Lett., 107:050502, 2011.
 S. Pironio, A. Acín, S. Massar, A. Boyer de la Giroday, D. N. Matsukevich, P. Maunz, S. Olmschenk, D. Hayes, L. Luo, T. A. Manning, and C. Monroe. Nature, 464:1021, 2010.
 R. Colbeck and A. Kent. J. Phys. A: Math. Theor., 44:095305, 2011.
 U. Vazirani and T. Vidick. 2012. arXiv:1111.6054.
 M. J. W. Hall. Phys. Rev. A, 84:022102, 2011.
 R. Colbeck and R. Renner. Nature Physics, 8:450, 2012.
 Dax Enshan Koh, Michael J. W. Hall, Setiawan, James E. Pope, Chiara Marletto, Alastair Kay, Valerio Scarani, and Artur Ekert. Effects of reduced measurement independence on bellbased randomness expansion. Phys. Rev. Lett., 109:160404, Oct 2012.
 R. Gallego, L. Masanes, G. De La Torre, C. Dhara, L. Aolita, and A. Acín. 2012. arXiv:1210.6514.
 P. Mironowicz and M. Pawłowski. 2013. arXiv:1301.7722.
 J. Barrett, D. Collins, L. Hardy, A. Kent, and S. Popescu. Phys. Rev. A, 66:042111, 2002.
 R.D. Gill. Mathematical Statistics and Applications: Festschrift for Constance van Eeden. Eds: M. Moore, S. Froda and C. Léger. IMS Lecture Notes – Monograph Series, 42:133, 2003.
 Y. Zhang, S. Glancy, and E. Knill. Phys. Rev. A, 84:062118, 2011.
 A. Acín, S. Massar, and S. Pironio. Phys. Rev. Lett., 108:100402, 2012.
 J. Barrett, A. Kent, and S. Pironio. Phys. Rev. Lett., 97:170409, 2006.
 R. Colbeck and R. Renner. Phys. Rev. Lett., 101:050403, 2008.
 S. Vadhan. Pseudorandomness. Foundations and Trends in Theoretical Computer Science. 2012.
 M. Sántha and U. V. Vazirani. Journal of Computer and System Sciences, 33:75, 1984.
 M. Pawłowski, K. Horodecki, P. Horodecki, and R. Horodecki. 2009. arXiv:0902.2162.
 Arthur Fine. Hidden variables, joint probability, and the bell inequalities. Phys. Rev. Lett., 48:291–295, Feb 1982.
 Stefan Zohren and Richard D. Gill. Maximal violation of the collinsgisinlindenmassarpopescu inequality for infinite dimensional states. Phys. Rev. Lett., 100:120406, Mar 2008.
 S. Zohren, P. Reska, R. Gill, and W. Westra. Europhysics Lett., 90:10002, 2010.
 N. D. Mermin. Phys. Rev. Lett., 65:1838, 1990.
 A. V. Belinskii and D.N. Klyshko. Phys. Usp., 36:653, 1993.
 A. Cabello, O. Gühne, and D. Rodriguez. volume 77, page 062106, 2008.
 J. Silman, S. Pironio, and S. Massar. Phys. Rev. Lett., 110:100504, 2013.
 A. Grudka, K. Horodecki, M. Horodecki, P. Horodecki, M. Pawłowski, and R. Ramanathan. 2013. arXiv:1303.5591.
 R. Impagliazzo, L. Levin, and M. Luby. In STOC ’89 Proceedings of the twentyfirst annual ACM symposium on Theory of computing, pages 12–24, 1989.
 Y. Dodis and J. Spencer. In Foundations of Computer Science, 2002. Proceedings. The 43rd Annual IEEE Symposium on, pages 376 – 385, 2002.
 Y. Dodis, S. J. Ong, M. Prabhakaran, and A. Sahai. In Foundations of Computer Science, 2004. Proceedings. 45th Annual IEEE Symposium on, pages 196 – 205, 2004.