# Decoherence-assisted detection of entanglement of bipartite states

###### Abstract

We show that the decoherence, which in the long run destroys quantum features of a system, can be used to reveal the entanglement in a two-qubit system. To this end, we consider a criterion that formally resembles the Clauser-Horne-Shimony-Holt (CHSH) inequality. In our case the local observables are set by the coupling of each qubit to the environmental noise, controlled with the dynamical decoupling method. We demonstrate that the constructed inequality is an entanglement criterion—it can only be violated by non-separable initial two-qubit states, provided that the local noises are correlated. We also show that for a given initial state, this entanglement criterion can be repurposed as a method of discriminating between Gaussian and non-Gaussian noise generated by the environment of the qubits. The latter application is important for ongoing research on using qubits to characterize the dynamics of environment that perturbs them and causes their decoherence.

## I Introduction

The coupling of a system to the environment leads to decoherence, which is commonly viewed as an unfortunate but unavoidable obstacle to observing quantum effects Schlosshauer (2005); Hornberger (2009a, b). This is because the loss of coherence of a quantum system due to interaction with its surroundings is an important ingredient of the the quantum-to-classical transition Żurek (2003); Joos et al. (2013). Therefore, to maintain the quantum features, the system must be highly isolated and thus protected against the decoherence. There are numerous ways for achieving this goal: using quantum error correction Shor (1995); Devitt et al. (2013); Demkowicz-Dobrzański and Maccone (2014); Dür et al. (2014); Kessler et al. (2014); Arrad et al. (2014), restricting the dynamics to the decoherence-free subspace when noises experienced by multiple qubits are correlated Duan and Guo (1998); Jeske et al. (2014), or performing dynamical decoupling, i.e., subjecting the qubits to a sequence of unitary operations that make them less sensitive to the environmental noise Viola and Lloyd (1998); Uhrig (2007); Gordon et al. (2008); Cywiński et al. (2008); Khodjasteh et al. (2013); Paz-Silva et al. (2016); Suter and Álvarez (2016). Methods of harnessing the decoherence, dedicated for quantum metrology, have been proposed in various scenarios Chin et al. (2012); Chaves et al. (2013); Smirne et al. (2016); Szańkowski et al. (2014), and in atomic systems coherence times are extended by fine-tuning of the inter-particle interactions Ferrari et al. (2006); Geiger et al. (2018). With the advent of precise and customizable methods of qubit control it has become possible to embrace the environment and thus the process of decoherence. Rather than treating it as an obstacle against the development of quantum technologies, the approach is to make it a part of a task: to characterize the environmental fluctuations by careful analysis of decoherence of a qubit Degen et al. (2017); Szańkowski et al. (2017) or multiple qubits Szańkowski et al. (2016, 2017); Paz-Silva et al. (2017); Krzywda et al. (2017).

Here we demonstrate that the paradigm of destructive decoherence can be reversed to some extent; we show that the coupling to the environment can become a part of a protocol of detecting the entanglement between two qubits. In more detail: we take two qubits, couple them to correlated sources of decoherence, and construct a criterion for detecting their mutual entanglement, which formally resembles the CHSH inequality Clauser et al. (1969). However, contrary to the standard textbook case, the operations performed on each qubit are dynamically generated by the noise, with the strength of coupling to the environment independently tailored for each qubit by an application of an appropriately chosen sequences of the control field pulses Degen et al. (2017); Szańkowski et al. (2017). With the ability to choose distinct settings for pulse sequences controlling each qubit, the local measurements performed after a period of noise-driven evolution result in four values of correlators, that are used to construct the CHSH-like inequality. As in the standard case, the inequality constructed in this way is a genuine criterion for entanglement as it is violated only by non-separable initial states of two qubits. We also demonstrate that from the degree of the violation of such CHSH-like inequality one can deduce if the noise was Gaussian or not, answering thus a nontrivial question Norris et al. (2016); Szańkowski et al. (2017) about the statistics of environmental fluctuations. Finally, a remark is in order on the hierarchy of quantum correlations and the related non-classical effects Cavalcanti et al. (2009). The entanglement is a broad class of correlations, useful for quantum tasks such as the sub shot-noise metrology Giovannetti et al. (2004); Pezzé and Smerzi (2009). Among the entangled states are those, where the Einstein-Podolsky-Rosen steering is observed Einstein et al. (1935); Cavalcanti et al. (2009). An even more narrow subset is formed by states possesing the Bell correlations, which are responsible for the non-locality of quantum mechanics Bell (1964, 1966); Brunner et al. (2014a). Having this hierarchy in mind, we stress that the novel method we consider here, although bears a formal resemblance to the Bell test, cannot be used as a probe of non-locality of quantum mechanics, as the operations acting on each qubit are generated from a common source of noise.

This article is organized as follows. In Sec. II we recall the main aspects of the standard CHSH inequality. Then, in Sec. III we introduce the decoherence-activated separability criterion. And so, in Sec. III.1 we show that the noise acting on the two-qubit systems can be used as a generator of local operations. To independently control the strength of the local couplings, in Sec. III.2, we introduce the pulse sequence control method. In Sec. III.3 we show the inequality is a criterion for the entanglement of the initial state of two qubits, while in Sec. III.4 we discuss the family of states which violate this inequality, and thus are detected by the criterion. We conclude this part in Sec. III.5 with an example of possible experimental implementation of this criterion. In Sec. IV we show that the decoherence-activated separability criterion can be used to distinguish between the Gaussian and non-Gaussian noise. The conclusions are contained in Sec. V, while the Appendix presents details of some of the analytical calculations.

## Ii The CHSH test as a separability criterion

First, we briefly review the standard scheme of the CHSH test.

### ii.1 The formulation of standard CHSH test

Consider a pair of qubits, and , initialized in a state described by the density matrix , operating in the total Hilbert space of both qubits. The quantum-mechanical correlator

(1) |

represents the average result of the measurement performed on the two qubit state , with angles and parameterizing the choice of local observables

(2) |

where , and () are the Pauli operators acting in the Hilbert subspace of qubit . This correlator can be used to construct the CHSH expectation value, parametrized by the choice of observable settings

(3) |

and the CHSH inequality

(4) |

When certain nontrivial conditions, such as space-like separation of measurement events and independence of measurement settings chosen randomly for the two qubits, are fulfilled, the violation of this inequality signifies the non-locality of state , i.e., that the measured correlations described by the combination of correlators composing (3) cannot be explained by any local hidden variable models Brunner et al. (2014b). However, we focus here on a much less demanding application of CHSH inequality to a simpler task: certifying if the state is entangled.

### ii.2 CHSH test as a criterion for separability of two qubit state

The inequality (4) can never be violated when the measurements are performed on a separable two-qubit state of the form

(5) |

where are—in general non-orthogonal—states of qubit , while non-negative ’s add to unity Werner (1989); Horodecki et al. (2009); Plenio and Virmani (2007).

On the other hand, some entangled two-qubit states do violate the CHSH inequality for a proper choice of settings . For instance, in the case of maximally entangled Bell state , where

(6) |

(here are the eigenstates of ), the CHSH expectation value reaches the absolute maximum of when , , , and arbitrary .

Thus, aside from all other contexts, like the Bell non-locality test, the CHSH inequality is a criterion for detecting the entanglement between two qubits. Indeed, as it was observed in e.g., Terhal (2000); Hyllus et al. (2005); Wengerowsky et al. (2018), it is possible to repurpose the CHSH scheme as an entanglement witness. This is done by disassociating the correlator (1) from the initial state by defining the corresponding hermitian operators

(7) |

which are then combined into the CHSH operator

(8) |

Then, one say that has detected the entanglement in two-qubit state , if its expectation value on that state exceeds the threshold for separable states . In other words,

(9) |

Formally, the CHSH operator is not precisely an entanglement witness. Traditionally, the witness is defined as a hermitian operator such that its expectation value on any separable state is non-negative, i.e., . Hence, the entanglement of state is witnessed by when . Of course, it is a trivial matter to construct a proper witness out of the CHSH operator, by simply combining with operator proportional to the identity . In order to cover all cases when the criterion (9) tests positive, one should define two classes of witnesses: , so that is equivalent to , and , for which corresponds to . However, the latter class of witnesses is actually superfluous, because it can be transformed into the former class by a proper choice of the settings, namely .

## Iii Decoherence-activated separability criterion

Below, the decoherence-activated separability criterion is derived from dynamically driven CHSH-like scheme. The key difference between standard CHSH test and this scheme, boils down to one essential modification: the choice of observable settings is taken over by the noise coupled to qubits, that were initialized in a state to be discriminated by the criterion. The source of noise is common for both qubits, thus what we propose here is the entanglement test which cannot be interpreted as a probe of non-locality.

### iii.1 The CHSH test with the noise induced choice of local observables

We now consider a scheme where the dynamics induced by the environmental noise are incorporated into the setup that formally resembles the traditional CHSH separability criterion. The two qubits, positioned at and , initially prepared in the state , are subjected to the external noise represented by a stochastic vector field . For convenience the noise is assumed to be stationary and have zero average. More importantly, it also assumed that the noise is weak as compared to the unperturbed energy splitting of each qubit, described by their free Hamiltonians , possibly with a distinct physical orientiation of the axes for each qubit. Under this assumption, the influence of components of transverse to the quantization axis of qubits is suppressed Szańkowski et al. (2015), and only the fluctuations of longitudinal components affect the qubits. After suppressing the subscript of for simplicity, the qubit-noise coupling is then given by

(10) |

which commutes with the free Hamiltonian . The qubits are allowed to evolve for duration , and then the measurement is performed with both local observables fixed to .

For each realization of drawn from the probability distribution functional , the qubits undergo unitary evolution

(11) |

where the phases accumulated on each qubit are given by

(12) |

Accordingly, the quantum-mechanical expectation value of the measurement result is given by

(13) |

and by comparing the above formula with Eq. (7) we see that, when examined per trajectory of the noise, the Heisenberg picture of the transformation (11) effectively takes over the choice of the angles of local observables, and sets them randomly to and Szańkowski et al. (2015).

In order to obtain the actual average measurement result fit to be represented by a correlator, Eq. (13) must be averaged over realizations of , giving

(14) |

Note that neither , nor its operator counterpart , are useful correlators for the purpose of construction of Bell test or separability criterion, as they do not allow for manipulation of local settings. We enable this crucial element by introducing into our scheme the qubit control based on dynamical-decoupling techniques Szańkowski et al. (2017).

### iii.2 Adjusting the local settings with the qubit control

During the evolution, each qubit is now individually subjected to a sequence of pulses of external field, that cause effectively instantaneous -rotations (i.e., spin-flips). Consequently, the angles accumulated over a course of single realization of are modified according to

(15) |

where are the time-domain filter functions, encapsulating the effects of pulse sequences applied to each qubit de Sousa (2009); Cywiński et al. (2008); Szańkowski et al. (2017). The filter functions have a form of square waves, switching between at moments when a pulse causes the spin-flip, see Fig. 1.

Here we choose to control our qubits with Carr-Purcell sequences Szańkowski et al. (2017), that are defined by the interpulse delay and the series of pulse timings: , and . The filter function induced by such a sequence is periodic, and it is shaped as a square wave that oscillates with well defined frequency . Therefore, the filter lets through the harmonic components of the noise that oscillate with frequencies around (and its odd multiples, because filter function is a square wave, not pure harmonic wave), and suppresses all the other frequencies. The width of the passband of the filter is of the order of , hence the filter is more precise for long evolution durations (equivalently, larger number of pulses). For example, in transition form Eq. (12) to (15), the contribution from time-independent free qubit Hamiltonian (the splittings and ) has been eliminated, because the passband of Carr-Purcell sequences with finite interpulse delay cannot be centered around . Here we choose to control our qubits with Carr-Purcell sequences Szańkowski et al. (2017), that are defined by the interpulse delay and the series of pulse timings: , and . The filter function induced by such a sequence is periodic, and it is shaped as a square wave that oscillates with well defined frequency . Therefore, the filter lets through the harmonic components of the noise that oscillate with frequencies around (and its odd multiples, because filter function is a square wave, not pure harmonic wave), and suppresses all the other frequencies. The width of the passband of the filter is of the order of , hence the filter is more precise for long evolution durations (equivalently, larger number of pulses). For example, in transition form Eq. (12) to (15), the contribution from time-independent free qubit Hamiltonian (the splittings and ) has been eliminated, because the passband of Carr-Purcell sequences with finite interpulse delay cannot be centered around .

For our purposes it is enough to consider two distinct pulse sequences per party, and an additional one only for party ; each of those sequences is playing a role of measurement setting in the standard CHSH scheme. The first setting, labeled as “On”, is realized by choosing such that the passband of the filter aims at harmonic of the noise that is characterized by significant average intensity. To be more concrete, a convenient measure of the spectral contents of the zero average, stationary noise is its spectral density Kogan (1996); Szańkowski et al. (2017), defined as ; it describes the distribution of power into frequency components composing the noise at the location of the respective qubit. Hence, the setting “On” would correspond to the choice of for the respective pulse sequence, so that has an appreciable value. In contrast, the second setting labeled as “Off”, corresponds to such a choice of that . In other words, with setting “Off” the pulse sequence decouples the qubit form the noise, while the setting “On” is designed to produce the opposite effect: to couple the qubit to an intense portion of the noise.

Let us note here, that in principle the “On” setting could also be realized without exerting additional control over qubit, i.e., by allowing the qubit to evolve freely due to the action of unfiltered noise. The drawback of such a simplistic approach is the lack of fine control over the rate of the noise-induced dephasing.

With the first two control sequences included, the ability to manipulate local settings has been restored, and the correlator now reads

(16) | ||||

(17) |

with and equal to “On” or “Off” and given by Eq. (7). The arguments of the exponential functions resulting from the averaging over noise realizations, has been split into distinct parts. First, we have local attenuation functions and , that depend only on the setting of sequence applied locally to qubit and respectively, and it has a form of infinite series of auto-correlation functions of and of all orders (i.e., the cumulant series of the respective stochastic phase) Szańkowski et al. (2017). Then, the non-local attenuation functions, and , are formed by an analogous series, but composed of cross-correlation functions between and , in the case of the former, and between and , in the case of the latter. Consequently, the non-local attenuation functions depend on both settings. Appendix A contains the derivation of this result, and it must be stressed that it was obtained under an additional assumption that the noise, on average, does not cause the phase to shift; in technical terms, this condition is equivalent to the assumption that all attenuation functions are purely real.

Finally, the third option for the setting mentioned above, labeled as “”, is a variation on “On”: it is realized by a control sequence with the same as for “On”, but additionally appended with a single pulse at the very beginning of the evolution. Consequently, the time-domain filter function produced by this pulse sequence is given by , which leads to . Therefore, when the setting for qubit is chosen to be “” instead of “On”, the non-local attenuation functions get transformed according to the following rules

(18a) | ||||

(18b) |

while the local attenuation function remains unchanged, . This ability to transmute non-local attenuation functions one into another is the only purpose for introducing this setting. The usefulness of such a tool will become apparent, when we proceed with the construction of entanglement witnesses and separability criteria out of correlators (17).

### iii.3 Separability criteria

The exact value of attenuation functions depends on the probability distribution , and in general is it impossible to express it in a closed form, with a notable exception of Gaussian noise Cywiński et al. (2008); Szańkowski et al. (2017). However, this difficulty posses no real hindrance for our proceedings. Assuming that the setting “Off” realizes an efficient dynamical decoupling, the correlation functions of the noise local to the decoupled qubit can be set to zero. Then, the attenuation function local to this qubit vanishes, which in turn implies that the non-local attenuation functions disappear as well. Thus, the possible options for local settings generate the following values of the correlators (from this point we shall omit the arguments of the non-zero attenuation functions for clarity):

(19a) | ||||

(19b) | ||||

(19c) | ||||

(19d) | ||||

(19e) |

where the only difference between (19d) and (19e) is the sign change in the terms proportional to .

The correlators (19) are now combined into two hermitian noise-averaged CHSH operators, that are analogous to the class of CHSH operators :

(20a) | ||||

(20b) |

Two fundamental properties, relevant to potential application as a separability criterion, can be inferred from the form of these operators (see Appendix B): (i) the expectation value of (with ) on any separable state is bounded by the threshold of the standard CHSH expectation value, , which is smaller then the overall maximum of , and (ii) for , i.e., in the case when noise field values at the location of each qubit are completely uncorrelated, the expectation value of on any state never exceeds the threshold for separable states.

Therefore, as long as the noises affecting each qubit are correlated, the expectation value of operators (20) can serve as a proper separability criteria

(21) |

Of course, although the criterion never yields false positives, it would be useless unless it is also capable of producing actual true positives. The detection of entanglement with criterion (21) can be demonstrated in the most transparent manner for the case of the system initialized in state and perfectly correlated Gaussian noises driving the evolution. When the noises are Gaussian the series constituting the attenuation functions are truncated at the second order correlation functions:

(22a) | ||||

(22b) | ||||

(22c) |

The perfect correlation means that the noises affecting each qubit are exactly the same for each realization of stochastic process, i.e., (the opposite of uncorrelated noises). In addition, if pulse sequences applied to each qubit are also the same, then the cross-correlation equals the auto-correlations, and consequently the non-local and local attenuation functions become identical, . In these circumstances, the expectation value of -operator (20a) reads

(23) |

This reaches the maximal value of

(24) |

for , and simultaneously is a positive result for detection of entanglement in states .

On the other hand, the expectation value of -operator (20b) on the same state gives only

(25) |

as it fails to reveal the presence of entanglement. However, for the other two Bell states,

(26) |

the capabilities of noise-averaged CHSH operators are reversed: , while . This example justifies the need for introduction of “” setting and the two classes of noise-averaged CHSH operators. It is not dissimilar to the issue with the standard CHSH separability criterion, where the capability to detect a given type of entanglement depended on the settings of local observables .

Similarly to standard CHSH operators, the classes of noise-averaged operators can serve as a constituents of entanglement witnesses. In order to encompass all cases of positives identifiable by criterion (21), one requires four classes of witnesses: , that are capable of discriminating , and , tailored for witnessing the entanglement in . Note that, unlike the case of standard CHSH scheme, none of these classes of witnesses are superfluous.

It is interesting to note that a result identical to the one from Eq. (24) was obtained in Banaszek and Wódkiewicz (1998), in which a maximal violation of CHSH inequality for two-mode squeezed vacuum state produced in a process of nondegenerate optical parametric amplification was considered. The four “measurement settings” in that paper corresponded to four different manipulations, in a form of phase-space displacements, of the tested state followed by a measurement of a product of displaced parity operators. The mathematical equivalence of results follows from a formal analogy between calculation of expectation values of parity operator on Gaussian states of photon field and averaging of Eq. (16) over the realizations of noise with Gaussian statistics.s

### iii.4 The sensitivity of noise-averaged CHSH separability criterion

In previous section it was demonstrated that the noise-averaged CHSH criterion (21) is at least capable of distinguishing maximally entangled Bell states. The question is, how sensitive the criterion is, i.e., how large the set of entangled states that would trigger a positive result is. Instead of trying to identify the exact boundaries of such a set, we will gauge this sensitivity by testing the performance of the criterion on a family of Werner states

(27) |

that are parametrized by .

According to Peres-Horodecki separability criterion Aolita et al. (2015), which is known to have sensitivity for two-qubit states (i.e., it is capable of detecting all entangled two-qubit states), Werner state is entangled for . In comparison, the standard CHSH criterion (9) for optimally chosen settings, detects entanglement if Aolita et al. (2015). Therefore, CHSH criterion is not perfectly sensitive, as it is capable to positively identify only a fraction of entangled states,

(28) |

The noise-averaged CHSH criterion (with the optimal setting ) yields a positive result when

(29) |

which leads to the threshold value of for detecting entanglement in Werner states,

(30) |

The arguments of operator have been included here to underline that the threshold, and consequently the sensitivity of noise-averaged CHSH criterion, depends on the statistics of the noise , as well as the choice of qubit control parameters in the “On” settings. For example, in the case of perfectly correlated Gaussian noise, the threshold can be only as low as , which gives sensitivity of .

In addition, one can observe two universal (i.e., independent of the statistics of the noise) properties of the criterion: (i) in the regime of weak dephasing, when —which in turn imply that and —if the non-local attenuation function is positive, , the threshold is always smaller than one

(31) |

Therefore, independently of the noise statistics, the criterion is capable of detecting some entangled states, but only with a low sensitivity, . (ii) In the opposite regime of strong dephasing, when , the sensitivity of the criterion drops to zero, because

(32) |

as at this point the erosion of quantum correlations due to decoherence has become more of an inhibitor instead a catalyst.

### iii.5 An example of experimental implementation

Below we present an example of a physically realizable system, that would allow for implementation of the separability test (21). Spin qubits based on nitrogen-vacancy (NV) centers in diamond are currently a subject of intense experimental research aimed at using them as sensors of magnetic fields generated by single molecules Staudacher et al. (2013); DeVience et al. (2015); Häberle et al. (2015); Wrachtrup and Finkler (2016); Lovchinsky et al. (2016); Degen et al. (2017). For a molecule consisting of a large number of atoms, the noisy magnetic field generated by nuclei of these atoms can be approximately treated as Gaussian noise Szańkowski et al. (2017) with spectral denisty consisting of narrow peaks centered at frequencies of Larmor precession of distinct nuclear species. NV centers subjected to dynamical decoupling sequences with tuned to these Larmor frequencies of a given nuclear population, have been used to sense single molecules Lovchinsky et al. (2016). A system consisting of two NV center qubits localized in the vicinity of a single molecule is thus a good candidate for demonstration of the above-discussed protocol. As it was discussed in Ref. Krzywda et al. (2017), where interaction of two NV centers with such a noise source was considered, for a particular arrangement of qubits and molecule positions, the directions of qubit’s quantization axes, and the axis of nuclear spin precession induced by the external magnetic field, it is possible to achieve perfect correlation of noises experienced by the two qubits. With such a setup, the attenuation functions are given by , where is a dipole-dipole coupling for the arrangement that gives perfect correlation Krzywda et al. (2017). Taking we obtain the value of required to achieve the maximum of (24).

## Iv Criterion for detection of non-Gaussian statistics of the noise

The maximal value [see Eq. (24)] obtained for Bell states in the case of perfectly correlated Gaussian noise, is in fact also the maximal value attainable for noises with Gaussian statistics in general (see Appendix C). However, it is not the overall maximal value possible for (with ). Therefore, assuming that the noise field coupled to the qubits has zero average and is stationary, the separability criterion (21) can be repurposed as a criterion for discriminating noises with non-Gaussian statistics:

(33) |

where we have included an argument for noise-averaged CHSH operator to reiterate that it depends on the probability distribution of the noise .

An example of positive test by the criterion can be demonstrated with perfectly correlated random telegraph noise, a non-Gaussian stochastic process that jumps between two values, and , at the average rate , where is the correlation time of the noise Galperin et al. (2004); Szańkowski et al. (2013); Ramon (2015). Its spectral density is a Lorentzian of width centered at the zero frequency, hence the “Off” is realized by choosing . Figure 3 depicts the capabilities of criterion (33) to detect non-Gaussianity of the noise, depending on the ratio , and the choice of and the width of the passband (measured in the inverse of the number of pulses, or equivalently, in ) of the “On” control setting. The analytical results presented in the figure were obtained using the expressions for phase evolution of dynamically decoupled qubit coupled to random telegraph noise Ramon (2015) adapted to the case of two qubits coupled to perfectly correlated noises. For more details see Appendix D.

## V Conclusions

We have shown that the coupling to a environment can be used as a tool for the detection of the entanglement between two qubits. In our approach, the correlated sources of decoherence are a part of the mechanism triggering the local operations necessary to construct the separability criterion. The other part is the pulse-control method, which allows to locally fine-tune the strengths of the qubit-noise coupling. The correlators required for constriction of CHSH inequality are obtained by performing a measurement of fixed spin projections, after the duration of noise-driven evolution, during which the qubits are controlled with distinct choices of pulse sequence settings. We have shown that the inequality obtained in this procedure is a true criterion for entanglement—i.e, it is violated only by non-separable initial states. Finally, we have also demonstrated that the level of the violation of the noise-averaged CHSH inequality might provide the information whether the noise had Gaussian statistics or not.

Let us finish with one more remark regarding relation between the above-discussed scheme, that can be thought of as CHSH inequality averaged over an ensemble of measurement settings, and considerations on relation between violation of Bell inequalities and non-locality. As we have discussed at length, the correlation between the noises affecting the two qubits, that is equivalent to correlation between random measurement settings for the two qubits, is a crucial part of the proposed protocol. Such an explicit creation of correlations between measurement settings amounts to a violation of “free choice” assumption that is necessary for relatively straightforward establishment of relation between violation of Bell inequality and ruling out various kinds of local hidden variable models. While partial breaking of this assumption still allows for detection of quantum non-locality Pütz et al. (2014), subtle considerations of this issue are beyond the scope of this work, in which we simply focused on decoherence-activated detection of entanglement.

## Acknowledgements

This work is supported by funds of Polish National Science Center (NCN), grant no. DEC-2015/19/B/ST3/03152. We woud like to thank J. Kaniewski, R. Augusiak, and R. Demkowicz-Dobrzański for enlightening discussions and comments.

## Appendix A The noise-averaged correlator

Here we demonstrate how (17) has been obtained, as an average over realizations of noise of the respective correlator operator. Namely, we have

(34) |

Here, are given by (7), and the exponential functions averaged over noise realizations were identified with the characteristic functions of stochastic phases ,

(35) |

and we assume that characteristic functions are purely real. The logarithm of characteristic function is the cumulant generating function of the stochastic phase,

(36) |

that defines its cumulants (i.e., the correlation functions), according to

(37) |

The local and non-local attenuation functions are thus obtained as

(38a) | ||||

(38b) | ||||

(38c) | ||||

(38d) |

## Appendix B The fundamental properties of

(i) Formally, operators are given by the standard CHSH operator average over noise realizations. Therefore, one can write

(39) |

Note that using similar reasoning one can show that the maximal value of the expectation value on arbitrary state is —the same value as for standard CHSH operator.

(ii) Assume that , and suppose that (note that for uncorrelated noises both noise-averaged CHSH operators are identical), then

Since and is a monotonic function, we have arrived at a contradiction. Therefore, for uncorrelated noises.