This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

thanks: [email protected]thanks: [email protected]

Bounds on semi-device-independent quantum random number expansion capabilities

Vaisakh Mannalath Jaypee Institute of Information Technology, A-10, Sector 62, Noida UP 201309, India    Anirban Pathak Jaypee Institute of Information Technology, A-10, Sector 62, Noida UP 201309, India
Abstract

The randomness expansion capabilities of semi-device-independent (SDI) prepare and measure protocols are analyzed under the sole assumption that the Hilbert state dimension is known. It’s explicitly proved that the maximum certifiable entropy that can be obtained through this set of protocols is log2[12(1+13)]-\log_{2}\left[\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right)\right] and the same is independent of the dimension witnesses used to certify the protocol. The minimum number of preparation and measurement settings required to achieve this entropy is also proven. An SDI protocol that generates the maximum output entropy with the least amount of input setting is provided. An analytical relationship between the entropy generated and the witness value is obtained. It’s also established that certifiable entropy can be generated as soon as dimension witness crosses the classical bound, making the protocol noise-robust and useful in practical applications.

I Introduction

Randomness plays an important role in simulation algorithms [1, 2, 3], cryptography [4, 5, 6], fundamental sciences [7, 8, 9] and much research has been devoted to the generation of random numbers [10]. Deterministic algorithms can at best create ‘pseudo-random numbers’ that mimic the statistics of ‘true’ random numbers [11]. One needs access to unpredictable physical processes in order to generate truly random numbers [10, 12]. Quantum theory provides well-defined theoretical models which are inherently probabilistic and serve us with good entropy sources to extract randomness [13]. Generating randomness from quantum systems is a matured field [14]. There are now even commercially available quantum random number generators (QRNGs) [15, 16, 17]. These devices are based on methods that are only applicable to their specific experimental setup and corresponding entropy estimates of the output randomness depend on a number of assumptions. Ultimately, these devices require a level of trust in the manufacturer which is not ideal for a number of reasons [10].

For the above-mentioned reasons, it is highly advantageous to have a setup that provides certifiable entropy while making minimal assumptions about its working. Device-independent QRNGs (DI-QRNGs) [18, 19] provide a solution to this problem. By consuming input randomness and using non-locality of quantum theory it can, theoretically, certify the output randomness without characterizing the inner workings of the setup. There has also been numerous experimental demonstrations of this approach [20, 21, 22, 23]. However, protocols for DI-QRNG suffer from practical issues which make them hard to implement outside of a laboratory setup compared to one-way protocols commonly used in commercial devices.

A more practical approach to random number generation is provided by the so-called semi-device-independent QRNGs (SDI-QRNGs) [24, 25, 26, 27, 28, 29]. Unlike, DI-QRNG, complete knowledge of a part of the setup used for random number generation is allowed in SDI-QRNGs. Even though this incurs a weaker form of security compared to the DI counter part, it is much more practical. Realistically, there might be parts of the device that are more error-prone than others. The SDI approach lets you design protocols that can still generate certifiable randomness while leaving such parts uncharacterized [30, 31, 32, 33]. These protocols are also easier to implement since non-local sources are not required and is thus more consumer-friendly. Hence the entropy generation capabilities of the SDI protocols are of particular interest to cryptographers and others who use random numbers for various practical purposes.

In this work, we derive a general upper bound on the amount of entropy generated by a class of SDI protocols. Specifically, we consider prepare and measure protocols of two-dimensional systems and two-outcome measurements. Even though various protocols belonging to this class have been studied previously [24, 25], their analysis has been restricted to some particular dimension witnesses which are used to distinguish quantum processes from classical processes. Our results, however, are independent of dimensional witnesses. We prove that the maximum amount of entropy which could be generated by any protocol of this class is equal to log2[12(1+13)]-\log_{2}\left[\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right)\right]. Moreover, the minimum number of preparation and measurement settings to certify this much entropy is also proven. We give an explicit example of a unique protocol that matches these bounds, proving them to be tight. Furthermore, we derive an analytical relationship between the witness values and the entropy generated with this protocol.

The rest of the paper is organized as follows. In Section II, we briefly describe the SDI model and state some definitions that we use in the subsequent sections. Section III contains results on the limits of output/input randomness. We report an explicit protocol matching these limits and its subsequent analysis in Section IV. In Section V, we present a brief discussion along with some relevant open questions for further research.

II Semi-Device Independent Model

We first illustrate the general structure of the SDI-QRNG protocol that we have considered here. It involves two black boxes shielded from the outside world (see Figure 1). One of the devices (boxes) is used for state preparation while the other one is used for the measurement. The preparation black box, AA has 𝒳\mathcal{X} settings, and the measurement black box, BB has 𝒴\mathcal{Y} settings; 𝒳,𝒴2\mathcal{X},\mathcal{Y}\geq 2 . Depending on the randomly chosen setting among 𝒳\mathcal{X}, AA outputs a quantum system ρx\rho_{x}, x[𝒳]x\in[\mathcal{X}] (we use [N][N] to denote a set of cardinality NN), which will then be sent to the second black box BB for measurement. We assume that the state ρx2\rho_{x}\in\mathbb{C}^{2}; is a two-dimensional system. The measurement device takes ρx\rho_{x} as input and measures it in one of the randomly chosen settings 𝒴\mathcal{Y} and outputs b{0,1}b\in\{0,1\}. This forms one round of the prepare and measure protocol. We can repeat this procedure multiple times to get a probability distribution given by

p(b|x,y)=Tr(ρxMyb),p(b|x,y)=\operatorname{Tr}\left(\rho_{x}M^{b}_{y}\right), (1)

where MybM^{b}_{y} is the measurement operator acting on ρx\rho_{x} with input parameter y[𝒴]y\in[\mathcal{Y}] and output bb.
In order to identify whether the probability distributions truly have a quantum origin or not, dimension witnesses of the form

Wx,ywx,yEx,yW\equiv\sum_{x,y}w_{x,y}E_{x,y} (2)

are usually used, where wx,yw_{x,y} are real coefficients and

Ex,y=P(b=0|x,y).E_{x,y}=P(b=0|x,y).

Under such dimension witnesses, an SDI protocol does not demand any restriction on pre-shared classical correlations between the preparation and measurement devices [34]. Although we do assume that they don’t share any quantum correlations. If we denote by WcW_{c} and WQW_{Q} the classical and quantum upper-bounds of the witness value using two-dimensional systems, whenever,

Wc<WWQW_{c}<W\leq W_{Q} (3)

we can be certain that the protocol has no classical description [34, 24]. Hence the output bb of BB is truly probabilistic in nature and can be used to extract randomness [35, 36].

The entropy in the output bb can be quantified by the following min-entropy function [37]

H(B|𝒳,𝒴)=log2[maxb,x,yp(b|x,y)].H_{\infty}(B|\mathcal{X},\mathcal{Y})=-\log_{2}\left[\max_{b,x,y}p(b|x,y)\right]. (4)

This entropy is considered to be ‘certifiable’ if the corresponding probability distribution satisfies the constraint Equation 3.
Since our witnesses defined by Equation 2 are linear in probabilities, we just need to consider pure states for our analysis as any arbitrary mixed state can be written as a convex combination of pure states [34]. It has also been proven that POVMs can be depicted as a convex combinations of projective measurements in the case of two-measurement outcomes [38, 39]. Furthermore, its known that projective measurements on two dimensional systems can be represented as antipodal unit vectors on the Bloch sphere. In general, the basis elements can be expressed as

My0=12(𝕀+tyσ)My1=12(𝕀tyσ),M^{0}_{y}=\frac{1}{2}(\mathbb{I}+\overrightarrow{t}_{y}\cdot\sigma)\leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ M^{1}_{y}=\frac{1}{2}(\mathbb{I}-\overrightarrow{t}_{y}\cdot\sigma), (5)

where ty\overrightarrow{t}_{y} is a unit vector on the Bloch sphere and σ=(σx,σy,σz)\sigma=(\sigma_{x},\sigma_{y},\sigma_{z}), the Pauli matrices. For preparations, it is enough to consider pure states represented using unit vectors sx\overrightarrow{s}_{x} as

ρx=12(𝕀+sxσ).\rho_{x}=\frac{1}{2}\left(\mathbb{I}+\overrightarrow{s}_{x}\cdot\sigma\right). (6)

Under this representation, probability distribution p(b|x,y)p(b|x,y) can be expressed as

p(b|x,y)=Tr(ρxMyb)=12(1+sxty).p(b|x,y)=\operatorname{Tr}\left(\rho_{x}M^{b}_{y}\right)=\frac{1}{2}\left(1+\overrightarrow{s}_{x}\cdot\overrightarrow{t}_{y}\right). (7)

We may now proceed to prove some general results related to the capabilities of SDI-QRNGs using the definitions and notations introduced in this section.

Refer to caption
Figure 1: We consider the prepare and measure scenario of two-dimensional systems, ρx\rho_{x}. Protocol features two black boxes AA and BB, for preparation and measurement, respectively. AA has 𝒳\mathcal{X} input settings and BB has 𝒴\mathcal{Y} input settings. Based on the input, AA will output a state ρx\rho_{x} and BB will output b{0,1}b\in\{0,1\} based on its input and the state sent by AA.

III Results: Bounds on certifiable entropy

Theorem 1.

A prepare and measure protocol of two-dimensional systems and two-outcome measurements can generate at most log2[12(1+13)]-\log_{2}\left[\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right)\right] bits of certifiable entropy.

Proof.

Maximizing the entropy in Equation 4 amounts to minimizing the quantity maxb,x,yp(b|x,y)\max_{b,x,y}p(b|x,y) over all prepare and measure protocols. We shall achieve this by first defining a lower bound for the quantity to be minimized and then deriving the lowest possible value for the lower bound.
Consider the quantity

plb=maxx1𝒴ymaxbp(b|x,y)p_{lb}=\max_{x}\frac{1}{\mathcal{Y}}\sum_{y}\max_{b}p(b|x,y)

where the average is taken over all the measurement settings. Since mean over a set is lower than the maximum of a set, plbp_{lb} forms a lower bound to maxb,x,yp(b|x,y)\max_{b,x,y}p(b|x,y). We may now derive an expression for plbp_{lb}.
Let us represent the measurement basis for 𝒴\mathcal{Y} measurement settings as

𝒯𝒴={{t1,t1},{t2,t2},,{t𝒴,t𝒴}}.\mathcal{T}_{\mathcal{Y}}=\{\{\overrightarrow{t}_{1},-\overrightarrow{t}_{1}\},\{\overrightarrow{t}_{2},-\overrightarrow{t}_{2}\},\cdots,\{\overrightarrow{t}_{\mathcal{Y}},-\overrightarrow{t}_{\mathcal{Y}}\}\}.

Each of these measurement bases can be represented by a diameter of the Bloch sphere with the basis elements as its endpoints. For example the basis {t1,t1}\{\overrightarrow{t}_{1},-\overrightarrow{t}_{1}\} represents a diameter with t1\overrightarrow{t}_{1} and t1-\overrightarrow{t}_{1} as its endpoints. It is trivial to see that given any two non-perpendicular diameters of a sphere in IR3{\rm I\!R}^{3} the smallest angle between them would be less than or equal to π/2\pi/2. To further illustrate our point, let us consider the bases {ti,ti}\{\overrightarrow{t}_{i},-\overrightarrow{t}_{i}\}and{tj,tj}\{\overrightarrow{t}_{j},-\overrightarrow{t}_{j}\}. If the angle between the vectors ti\overrightarrow{t}_{i} and tj-\overrightarrow{t}_{j} is greater than π/2\pi/2, then the angle between ti\overrightarrow{t}_{i} and tj\overrightarrow{t}_{j} will definitely be less than π/2\pi/2; for any i,j[𝒴]i,j\in[\mathcal{Y}].
Keeping the above arguments in mind, consider a particular case: 𝒴=2\mathcal{Y}=2, with measurement bases as {t1,t1}\{\overrightarrow{t}_{1},-\overrightarrow{t}_{1}\} and {t2,t2}\{\overrightarrow{t}_{2},-\overrightarrow{t}_{2}\}. If we consider the angle between t1\overrightarrow{t}_{1} and t2\overrightarrow{t}_{2} to be less than or equal to π/2\pi/2, then the state ρx\rho_{x} with sx=t1+t2|t1+t2|\overrightarrow{s}_{x}=\frac{\overrightarrow{t}_{1}+\overrightarrow{t}_{2}}{|\overrightarrow{t}_{1}+\overrightarrow{t}_{2}|} maximizes 1𝒴ymaxbp(b|x,y)\frac{1}{\mathcal{Y}}\sum_{y}\max_{b}p(b|x,y), yielding plbp_{lb}. It is easy to see that plbp_{lb} is minimum when t1\overrightarrow{t}_{1} and t2\overrightarrow{t}_{2} are perpendicular to each other.
For now, let us assume that 0θi,jπ/20\leq\theta_{i,j}\leq\pi/2, where θi,j\theta_{i,j} is the angle between the measurement vectors ti\overrightarrow{t}_{i} and tj\overrightarrow{t}_{j} for i,j[𝒴]i,j\in[\mathcal{Y}]. This is in general not true for 𝒴3,\mathcal{Y}\geq 3, but we will give an argument at the end of the proof as to why this assumption is valid enough to find out the minimum value of plbp_{lb}.
Given this setup, consider ρx\rho_{x} with sx=t1+t2++t𝒴|t1+t1++t𝒴|\overrightarrow{s}_{x}=\frac{\overrightarrow{t}_{1}+\overrightarrow{t}_{2}+\cdots+\overrightarrow{t}_{\mathcal{Y}}}{|\overrightarrow{t}_{1}+\overrightarrow{t}_{1}+\cdots+\overrightarrow{t}_{\mathcal{Y}}|}. Note that given the choice of measurement vectors {t1,t2,,t𝒴}\{\overrightarrow{t}_{1},\overrightarrow{t}_{2},\cdots,\overrightarrow{t}_{\mathcal{Y}}\}, this state maximizes 1𝒴ymaxbp(b|x,y)\frac{1}{\mathcal{Y}}\sum_{y}\max_{b}p(b|x,y) since it lies along the average direction of the measurement vectors. Simplification yields

plb=12(1+|t1+t2++t𝒴|𝒴).p_{lb}=\frac{1}{2}\left(1+\frac{|\overrightarrow{t}_{1}+\overrightarrow{t}_{2}+\cdots+\overrightarrow{t}_{\mathcal{Y}}|}{\mathcal{Y}}\right). (8)

We can represent Equation 8 as

plb=12(1+𝒴+2(cosθ1,2++cosθ𝒴1,𝒴)𝒴).p_{lb}=\frac{1}{2}\left(1+\frac{\sqrt{\mathcal{Y}+2(\cos{\theta_{1,2}}+\cdots+\cos{\theta_{\mathcal{Y}-1,\mathcal{Y}}}})}{\mathcal{Y}}\right). (9)
Lemma 1.

For 𝒴\mathcal{Y} unit vectors that lie in an octant of a sphere in 3\mathbb{R}^{3}, the minimum of the sum of cosines of the angles formed between them is equal to 32μ(μ1)+rμ\frac{3}{2}\mu(\mu-1)+r\mu where 𝒴=3μ+r\mathcal{Y}=3\mu+r for positive integers μ\mu and r{0,1,2}r\in\{0,1,2\}.

Proof.

Consider 𝒴\mathcal{Y} vectors {t1,,t𝒴}\{\overrightarrow{t}_{1},\cdots,\overrightarrow{t}_{\mathcal{Y}}\}. The sum to be minimized is

cosθ1,2+cosθ1,3++cosθ𝒴1,𝒴.\cos{\theta_{1,2}}+\cos{\theta_{1,3}}+\cdots+\cos{\theta_{\mathcal{Y}-1,\mathcal{Y}}}.

We can rewrite it as

(cosθ1,2+cosθ1,3++cosθ1,𝒴)++cosθ𝒴1,𝒴.\left(\cos{\theta_{1,2}}+\cos{\theta_{1,3}}+\cdots+\cos{\theta_{1,\mathcal{Y}}}\right)+\cdots+\cos{\theta_{\mathcal{Y}-1,\mathcal{Y}}}.

The terms in the bracket is equal to

t1(t2++t𝒴).\overrightarrow{t}_{1}\cdot\left(\overrightarrow{t}_{2}+\cdots+\overrightarrow{t}_{\mathcal{Y}}\right).

Since every vector lies in the same octant, the dot product is minimized when t1\overrightarrow{t}_{1} is along one of the axis. We can repeat the same process for every other vector until all of them lines up with one of the 33 axes. We have three scenarios based on the value of r{0,1,2}r\in\{0,1,2\};

  • 𝒴=3μ\mathcal{Y}=3\mu: It is trivial to see that the sum is minimum when the vectors are equally distributed among the axes; μ\mu vectors along each axis. The sum of cosines is equal to 3C2μ3\prescript{\mu\mkern-0.5mu}{}{C}_{2}.

  • 𝒴=3μ+1\mathcal{Y}=3\mu+1: An additional vector along any one of the axes, say xx axis. The sum becomes 2C2μ+C2μ+12\prescript{\mu\mkern-0.5mu}{}{C}_{2}+\prescript{\mu+1\mkern-0.5mu}{}{C}_{2}.

  • 𝒴=3μ+2\mathcal{Y}=3\mu+2: Consider the sum of vectors

    t1++t3μ+1.\overrightarrow{t}_{1}+\cdots+\overrightarrow{t}_{3\mu+1}.

    Since they have an arrangement dictated by the previous case, the vector t3μ+2\overrightarrow{t}_{3\mu+2} should end up at yy or zz axis. The sum becomes C2μ+2C2μ+1\prescript{\mu\mkern-0.5mu}{}{C}_{2}+2\prescript{\mu+1\mkern-0.5mu}{}{C}_{2}.

Putting it all together, we have the sum as

(3r)C2μ+rC2μ+1.(3-r)\prescript{\mu\mkern-0.5mu}{}{C}_{2}+r\prescript{\mu+1\mkern-0.5mu}{}{C}_{2}.

Simplifying it we obtain

32μ(μ1)+rμ.\frac{3}{2}\mu(\mu-1)+r\mu.

Since our measurement vectors {t1,t2,,t𝒴}\{\overrightarrow{t}_{1},\overrightarrow{t}_{2},\cdots,\overrightarrow{t}_{\mathcal{Y}}\} are atmost π/2\pi/2 away from each other, we can consider them to lie in the same octant. Applying Lemma 1, Equation 9 becomes,

plb=12(1+𝒴+3μ(μ1)+2rμ𝒴).p_{lb}=\frac{1}{2}\left(1+\frac{\sqrt{\mathcal{Y}+3\mu(\mu-1)+2r\mu}}{\mathcal{Y}}\right). (10)

Substituting 𝒴=3μ+r\mathcal{Y}=3\mu+r we obtain

plb\displaystyle p_{lb} =\displaystyle= 12(1+3μ2+r(2μ+1)3μ+r).\displaystyle\frac{1}{2}\left(1+\frac{\sqrt{3\mu^{2}+r(2\mu+1)}}{3\mu+r}\right). (11)

Thus, for r=0r=0, we have

plb\displaystyle p_{lb} =\displaystyle= 12(1+3μ23μ)\displaystyle\frac{1}{2}\left(1+\frac{\sqrt{3\mu^{2}}}{3\mu}\right) (12)
=\displaystyle= 12(1+13).\displaystyle\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right).

For r{1,2}r\in\{1,2\}, plb>12(1+13)p_{lb}>\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right) and plb12(1+13)p_{lb}\rightarrow\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right) as μ\mu\rightarrow\infty. Thus in general,

plb12(1+13).p_{lb}\geq\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right).

Note that our assumption that 0θi,jπ/20\leq\theta_{i,j}\leq\pi/2 for i,j[𝒴]i,j\in[\mathcal{Y}] is valid enough since the minimum value for plbp_{lb} is obtained when the measurement vectors are along the 33D axes. This implies that by induction, using 𝒴=2\mathcal{Y}=2 as the initial step and the freedom to relabel any measurement basis, we can take any 𝒴\mathcal{Y} measurement vectors to lie in the same octant.

Theorem 2.

A prepare and measure protocol of two-dimensional systems needs at least 44 preparation settings and 33 measurement settings to generate the maximum amount of entropy.

Proof.

From Theorem 1, the maximum entropy is generated when 𝒴=3μ\mathcal{Y}=3\mu. For μ=1\mu=1, we have the minimum number of measurement settings, 𝒴=3\mathcal{Y}=3. We will now try to minimise the number of preparation settings when 𝒴=3\mathcal{Y}=3.
As for the number of preparation settings 𝒳\mathcal{X}, note that it can’t be 22 since the states will be perfectly distinguishable; there is no entropy in the output. When 𝒳=3\mathcal{X}=3 and 𝒴=3\mathcal{Y}=3, a general dimension witness defined by Equation 2 can be expressed as

W\displaystyle W =\displaystyle= w1,1E1,1+w1,2E1,2+w1,3E1,3+w2,1E2,1+w2,2E2,2\displaystyle w_{1,1}E_{1,1}+w_{1,2}E_{1,2}+w_{1,3}E_{1,3}+w_{2,1}E_{2,1}+w_{2,2}E_{2,2} (13)
+w2,3E2,3+w3,1E3,1+w3,2E3,2+w3,3E3,3,\displaystyle+w_{2,3}E_{2,3}+w_{3,1}E_{3,1}+w_{3,2}E_{3,2}+w_{3,3}E_{3,3},

From Theorem 1, maximum entropy generation needs at least 33 measurement settings. Since maximization is over the entire probability distribution, this holds for every preparation setting. Hence, none of the coefficients wx,yw_{x,y} can be 0 for a witness which acheives the maximum entropy. For example, suppose w3,3w_{3,3} is 0. This implies that the state ρ3\rho_{3} depends only on the measurement bases M1M_{1} and M2M_{2}; ρ3\rho_{3} lies in the plane defined by M1M_{1} and M2M_{2}. Subsequently, for a given witness value, maxb,x,yp(b|x,y)12(1+12)>12(1+13)\max_{b,x,y}p(b|x,y)\geq\frac{1}{2}\left(1+\frac{1}{\sqrt{2}}\right)>\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right).
Now that we have established that all coefficients in Equation 13 are non-zero, we can model it as an QRAC-like protocol where preparation states correspond to 33 bit strings and measurement settings determine which bit to guess. Positive coefficients are mapped to bit 0 and negative coefficients to bit 11. For example, consider

R3,3\displaystyle R_{3,3} \displaystyle\equiv E1,1+E1,2+E1,3+E2,1E2,2\displaystyle E_{1,1}+E_{1,2}+E_{1,3}+E_{2,1}-E_{2,2} (14)
E2,3E3,1+E3,2E3,3.\displaystyle-E_{2,3}-E_{3,1}+E_{3,2}-E_{3,3}.

Based on our construction, R3,3R_{3,3} can be defined as the average success probability of an QRAC protocol where preparation states are represented as x{000,011,101}x\in\{000,011,101\} and measurement settings dictate which one of the three bits to guess.

For any such task we can construct a protocol based on the 212\rightarrow 1 QRAC (cf. Figure 2) whose average probability would be greater than 12(1+13)\frac{1}{2}(1+\frac{1}{\sqrt{3}}) , implying the entropy generated will be lesser than log2[12(1+13)]-\log_{2}\left[\frac{1}{2}(1+\frac{1}{\sqrt{3}})\right] (since maxb,x,yp(b|x,y)x,yp(b=xy|x,y)\max_{b,x,y}p(b|x,y)\geq\sum_{x,y}p(b=x_{y}|x,y): xx represents any of the 33-bit strings and xyx_{y} denotes the ythy^{th} bit of that string).
The protocol is represented using Figure 2. A 33 bit string can be written as xx where x{00x3,01x3,10x3,11x3}x\in\{00x_{3},01x_{3},10x_{3},11x_{3}\} and x3x_{3} is the third bit (which could be different for different strings). The task is then straightforward; encode the strings on any three of the four possible states using 212\rightarrow 1 QRAC, where the encoding can be represented as

Encoding{0012(𝕀+12σx+12σy)0112(𝕀+12σx12σy)1012(𝕀12σx+12σy)1112(𝕀12σx12σy).\displaystyle\mbox{Encoding}\begin{cases}00\to\frac{1}{2}\left(\mathbb{I}+\frac{1}{\sqrt{2}}\sigma_{x}+\frac{1}{\sqrt{2}}\sigma_{y}\right)\\ 01\to\frac{1}{2}\left(\mathbb{I}+\frac{1}{\sqrt{2}}\sigma_{x}-\frac{1}{\sqrt{2}}\sigma_{y}\right)\\ 10\to\frac{1}{2}\left(\mathbb{I}-\frac{1}{\sqrt{2}}\sigma_{x}+\frac{1}{\sqrt{2}}\sigma_{y}\right)\\ 11\to\frac{1}{2}\left(\mathbb{I}-\frac{1}{\sqrt{2}}\sigma_{x}-\frac{1}{\sqrt{2}}\sigma_{y}\right).\end{cases}

Decode the first two bits using the measurement bases given by

My{12(𝕀+tyσ),12(𝕀tyσ)}M_{y}\equiv\left\{\frac{1}{2}(\mathbb{I}+\overrightarrow{t}_{y}\cdot\sigma),\frac{1}{2}(\mathbb{I}-\overrightarrow{t}_{y}\cdot\sigma)\right\}

and their corresponding Bloch vectors

Decoding{x1ti(1,0,0)x2ti(0,1,0).\displaystyle\mbox{Decoding}\begin{cases}x_{1}\to\overrightarrow{t}_{i}\equiv(1,0,0)\\ x_{2}\to\overrightarrow{t}_{i}\equiv(0,1,0).\end{cases}

Decode the third bit using

x3t312(1,1,0).x_{3}\to\overrightarrow{t}_{3}\equiv\frac{1}{\sqrt{2}}(1,1,0).

Given the choice of measurement bases and prepared states the average probability is found to be at least,

6(12(1+12))+290.79125.\frac{6\left(\frac{1}{2}(1+\frac{1}{\sqrt{2}})\right)+2}{9}\approx 0.79125.

Hence for such a protocol we have average probability greater than \sim 0.791250.79125 which is greater than 12(1+13)0.78867\frac{1}{2}(1+\frac{1}{\sqrt{3}})\approx 0.78867.

Refer to caption
Figure 2: Bloch sphere diagram of a SDI protocol with 33 preparation setting and 33 measurement settings. The arrows denote the ’up’ direction of the measurement basis and the black dots indicate the encoded states for a particular choice of setting or equivalently, a string of bits. The 33 strings are to be encoded in any of the four vertices. The encoded states of this protocol form a subset of the encoded states in the 212\rightarrow 1 QRAC, which forms a square on the equitorial plane of the Bloch sphere, denoted in this figure using dotted lines.

IV A specific protocol

An explicit protocol to achieve H=log2[12(1+13)]0.34249H_{\infty}=-\log_{2}[\frac{1}{2}(1+\frac{1}{\sqrt{3}})]\approx 0.34249 using 44 preparation settings and 33 measurement settings is given here. It corresponds to an QRAC-like protocol in which the preparation party AA encodes one of the strings x{000,011,101,110}x\in\{000,011,101,110\} to a single qubit and the measurement party BB attempts to decode xy{x1,x2,x3}x_{y}\in\{x_{1},x_{2},x_{3}\} by suitable measurements. Using arguments similar to those used for proving Theorem 2, this protocol can be proven to be unique up to some relabelling of the measurement bases. A suitable dimension witness is provided by

R4,3E000,1+E000,2+E000,3+E011,1E011,2E011,3E101,1+E101,2E101,3E110,1E110,2+E110,3,R_{4,3}\equiv E_{000,1}+E_{000,2}+E_{000,3}+E_{011,1}-\\ E_{011,2}-E_{011,3}-E_{101,1}+E_{101,2}-\\ E_{101,3}-E_{110,1}-E_{110,2}+E_{110,3}, (15)

and whenever

3<R4,323,3<R_{4,3}\leq 2\sqrt{3}, (16)

the protocol has no classical description. Equation 16 was derived from the results provided in [40]. They have treated the protocol as a generalized version of the 212\rightarrow 1 QRAC protocol where BB attempts to decode, in addition to the bits encoded by AA, the parity of the bits as well. The average success probability of this particular protocol have previously found applications in the SDI security of QKD protocols [41]. The corresponding dimension witness has also been applied previously in self testing of POVMs [42, 43] and in reduction of symmetric dimension witnesses [44].
In order to achieve the maximal quantum value 232\sqrt{3}, we may encode the bits using the states given by

Encoding{00012(𝕀+13σx+13σy+13σz)01112(𝕀+13σx13σy13σz)10112(𝕀13σx+13σy13σz)11012(𝕀13σx13σy+13σz).\displaystyle\mbox{Encoding}\begin{cases}000\mapsto\frac{1}{2}\left(\mathbb{I}+\frac{1}{\sqrt{3}}\sigma_{x}+\frac{1}{\sqrt{3}}\sigma_{y}+\frac{1}{\sqrt{3}}\sigma_{z}\right)\\ 011\mapsto\frac{1}{2}\left(\mathbb{I}+\frac{1}{\sqrt{3}}\sigma_{x}-\frac{1}{\sqrt{3}}\sigma_{y}-\frac{1}{\sqrt{3}}\sigma_{z}\right)\\ 101\mapsto\frac{1}{2}\left(\mathbb{I}-\frac{1}{\sqrt{3}}\sigma_{x}+\frac{1}{\sqrt{3}}\sigma_{y}-\frac{1}{\sqrt{3}}\sigma_{z}\right)\\ 110\mapsto\frac{1}{2}\left(\mathbb{I}-\frac{1}{\sqrt{3}}\sigma_{x}-\frac{1}{\sqrt{3}}\sigma_{y}+\frac{1}{\sqrt{3}}\sigma_{z}\right).\end{cases}

and decode the bits using the measurement bases given by

My{12(𝕀+tyσ),12(𝕀tyσ)}M_{y}\equiv\left\{\frac{1}{2}(\mathbb{I}+\overrightarrow{t}_{y}\cdot\sigma),\frac{1}{2}(\mathbb{I}-\overrightarrow{t}_{y}\cdot\sigma)\right\}

with the corresponding Bloch vectors

Decoding{x1t1(1,0,0)x2t2(0,1,0)x3t3(0,0,1).\displaystyle\mbox{Decoding}\begin{cases}x_{1}\to\overrightarrow{t}_{1}\equiv(1,0,0)\\ x_{2}\to\overrightarrow{t}_{2}\equiv(0,1,0)\\ x_{3}\to\overrightarrow{t}_{3}\equiv(0,0,1).\end{cases}

Note that a general two-dimensional witness for 44 preparation settings and 33 measurement settings may not be able to produce the maximum amount of randomness. For example, consider the well known dimension witness I4I_{4} [34, 45], defined as

I4E1,1+E1,2+E1,3+E2,1+E2,2E2,3+E3,1E3,2E4,1I_{4}\equiv E_{1,1}+E_{1,2}+E_{1,3}+E_{2,1}+E_{2,2}-E_{2,3}+E_{3,1}-E_{3,2}-E_{4,1}.

Since the choice of the 4th4^{th} state solely depends on the 1st1^{st} measurement basis, one can always take E4,1E_{4,1} to be 0. This implies that p(b=1|4,1)=1p(b=1|4,1)=1; no entropy is generated in this case. The choice of dimension witness is special in that regard and warrants further analysis. We will now derive an analytical bound on the min-entropy based on the value of the dimension witness. The analysis and methods used is similar to what have been done in [46, 47].
Using Equation 5 and Equation 6, Equation 15 can be written as

R4,3\displaystyle R_{4,3} \displaystyle\equiv E000,1+E000,2+E000,3+E011,1E011,2E011,3\displaystyle E_{000,1}+E_{000,2}+E_{000,3}+E_{011,1}-E_{011,2}-E_{011,3}-
E101,1+E101,2E101,3E110,1E110,2+E110,3\displaystyle E_{101,1}+E_{101,2}-E_{101,3}-E_{110,1}-E_{110,2}+E_{110,3}
=\displaystyle= Tr[ρ000(M10+M20+M30)]+Tr[ρ011(M10M20M30)]+\displaystyle\leavevmode\resizebox{389.89749pt}{}{$\operatorname{\operatorname{Tr}}\left[\rho_{000}\left(M_{1}^{0}+M_{2}^{0}+M_{3}^{0}\right)\right]+\operatorname{\operatorname{Tr}}\left[\rho_{011}\left(M_{1}^{0}-M_{2}^{0}-M_{3}^{0}\right)\right]$}+

Tr[ρ101(M10+M20M30)]+Tr[ρ110(M10M20+M30)]\operatorname{\operatorname{Tr}}\left[\rho_{101}\left(-M_{1}^{0}+M_{2}^{0}-M_{3}^{0}\right)\right]+\operatorname{\operatorname{Tr}}\left[\rho_{110}\left(-M_{1}^{0}-M_{2}^{0}+M_{3}^{0}\right)\right]

=\displaystyle= 12(s000(t1+t2+t3)+\displaystyle\frac{1}{2}\biggl{(}\overrightarrow{s}_{000}\cdot\left(\overrightarrow{t}_{1}+\overrightarrow{t}_{2}+\overrightarrow{t}_{3}\right)\hskip 6.99997pt+
s011(t1t2t3)+\displaystyle\hskip 14.49998pt\overrightarrow{s}_{011}\cdot\left(\overrightarrow{t}_{1}-\overrightarrow{t}_{2}-\overrightarrow{t}_{3}\right)\hskip 8.00003pt+
s101(t1+t2t3)+\displaystyle\hskip 14.49998pt\overrightarrow{s}_{101}\cdot\left(-\overrightarrow{t}_{1}+\overrightarrow{t}_{2}-\overrightarrow{t}_{3}\right)+
s110(t1t2+t3))\displaystyle\hskip 14.49998pt\overrightarrow{s}_{110}\cdot\left(-\overrightarrow{t}_{1}-\overrightarrow{t}_{2}+\overrightarrow{t}_{3}\right)\biggl{)}
\displaystyle\leq 12(|t1+t2+t3|+|t1t2t3|+\displaystyle\frac{1}{2}\biggl{(}\left|\overrightarrow{t}_{1}+\overrightarrow{t}_{2}+\overrightarrow{t_{3}}\right|+\left|\overrightarrow{t}_{1}-\overrightarrow{t}_{2}-\overrightarrow{t}_{3}\right|+
|t1t2+t3|+|t1+t2t3|)\displaystyle\hskip 16.49995pt\left|\overrightarrow{t}_{1}-\overrightarrow{t}_{2}+\overrightarrow{t}_{3}\right|+\left|\overrightarrow{t}_{1}+\overrightarrow{t}_{2}-\overrightarrow{t}_{3}\right|\biggl{)}
\displaystyle\leq 12(3+2(cos(θ1,2)+cos(θ1,3)+cos(θ2,3))+\displaystyle\frac{1}{2}\biggl{(}\sqrt{3+2\left(\cos\left(\theta_{1,2}\right)+\cos\left(\theta_{1,3}\right)+\cos\left(\theta_{2,3}\right)\right)}+
3+2(cos(θ1,2)cos(θ1,3)+cos(θ2,3))+\displaystyle\hskip 16.7pt\sqrt{3+2\left(\cos\left(\theta_{1,2}\right)-\cos\left(\theta_{1,3}\right)+\cos\left(\theta_{2,3}\right)\right)}+
3+2(cos(θ1,2)+cos(θ1,3)cos(θ2,3))+\displaystyle\hskip 16.7pt\sqrt{3+2\left(\cos\left(\theta_{1,2}\right)+\cos\left(\theta_{1,3}\right)-\cos\left(\theta_{2,3}\right)\right)}+
3+2(cos(θ1,2)cos(θ1,3)cos(θ2,3))),\displaystyle\hskip 16.7pt\sqrt{3+2\left(\cos\left(\theta_{1,2}\right)-\cos\left(\theta_{1,3}\right)-\cos\left(\theta_{2,3}\right)\right)}\biggl{)},

where the first inequality follows from |sx|<1|\overrightarrow{s}_{x}|<1. Using Equation 9 we can write plbp_{lb} for our example as

plb=12(1+3+2(cos(θ1,2)+cos(θ1,3)+cos(θ2,3))3).p_{lb}=\frac{1}{2}\leavevmode\resizebox{403.98956pt}{}{{\hbox{ \left(1+\frac{\sqrt{3+2\left(\cos\left(\theta_{1,2}\right)+\cos\left(\theta_{1,3}\right)+\cos\left(\theta_{2,3}\right)\right)}}{3}\right)}}}. (18)

In order to obtain a bounded value of R4,3R_{4,3} as a function of plbp_{lb} we will use the extreme value problem of multi-variable function. Changing variables as

𝒫=(3(2plb1))232a=cosθ1,3b=cosθ2,3\mathcal{P}=\frac{\left(3\left(2p_{lb}-1\right)\right)^{2}-3}{2}\leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ a=\cos{\theta_{1,3}}\leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ b=\cos{\theta_{2,3}}

and applying it to LABEL:Wlong, we obtain

R4,3max{(q,r)}{12(3+2𝒫+3+2(2q𝒫)+3+2(2r𝒫)+3+2(𝒫(2q+2r)))},R_{4,3}\leq\max_{\{(q,r)\}}\biggl{\{}\frac{1}{2}\biggl{(}\sqrt{3+2\mathcal{P}}+\sqrt{3+2\left(2q-\mathcal{P}\right)}+\\ \sqrt{3+2\left(2r-\mathcal{P}\right)}+\sqrt{3+2\left(\mathcal{P}-\left(2q+2r\right)\right)}\biggl{)}\biggl{\}}, (19)

where (q,r)\left(q,r\right) is one of the real roots of equation set with variables (a,b)\left(a,b\right) given by,

12(22(2a𝒫)+322(𝒫2a2b)+3)=0,\displaystyle\frac{1}{2}\left(\frac{2}{\sqrt{2(2a-\mathcal{P})+3}}-\frac{2}{\sqrt{2(\mathcal{P}-2a-2b)+3}}\right)=0,
12(22(2b𝒫)+322(𝒫2b2a)+3)=0.\displaystyle\frac{1}{2}\left(\frac{2}{\sqrt{2(2b-\mathcal{P})+3}}-\frac{2}{\sqrt{2(\mathcal{P}-2b-2a)+3}}\right)=0.
(20)

The equation set provided above is obtained by taking the derivatives of LABEL:Wlong with respect to aa and bb. It turns out that the solutions of Equation 20 should satisfy the condition

a=b=𝒫/3cosθ1,2=cosθ1,3=cosθ2,3.a=b=\mathcal{P}/3\implies\cos{\theta_{1,2}}=\cos{\theta_{1,3}}=\cos{\theta_{2,3}}. (21)
Refer to caption
Figure 3: Bloch sphere diagram of a SDI protocol with 44 preparation setting and 33 measurement settings. The arrows denote the ’up’ direction of the measurement basis and the black dots indicate the encoded states for a particular choice of string/setting. The encoded states form a tetrahedron inside the Bloch sphere. They also form a subset of the encoded states in the 313\rightarrow 1 QRAC, which forms a cube, denoted in this figure using dotted lines.

Since plbp_{lb} is defined as maxx1𝒴ymaxbp(b|x,y)\max_{x}\frac{1}{\mathcal{Y}}\sum_{y}\max_{b}p(b|x,y), by Equation 21 all the terms in the summation are equal. This means that when R4,3R_{4,3} is maximized, plbp_{lb} is equivalent to maxb,x,yp(b|x,y)\max_{b,x,y}p(b|x,y). Hence the maximization will yield a tight upper bound on the randomness generated by this protocol. Also, Equation 21 reduces our problem to a single variable one.
Substituting Equation 21 in LABEL:Wlong and Equation 18, we get

R4,3\displaystyle R_{4,3} \displaystyle\leq 12(332a+6a+3),\displaystyle\frac{1}{2}\left(3\sqrt{3-2a}+\sqrt{6a+3}\right),
plb\displaystyle p_{lb} =\displaystyle= 12(136a+3+1).\displaystyle\frac{1}{2}\left(\frac{1}{3}\sqrt{6a+3}+1\right). (22)

Solving Equation 22 we obtain

plb112(R4,3+6+3(12R4,32)).p_{lb}\leq\frac{1}{12}\left(R_{4,3}+6+\sqrt{3(12-R_{4,3}^{2})}\right). (23)
Refer to caption
Figure 4: (Color online) Relationship between dimension witness value and upper bound on the entropy created by the protocol discussed in Section IV.

This forms a min-entropy bound for the particular protocol as shown in Figure 4. Since the choice of angles is unique when R4,3=23R_{4,3}=2\sqrt{3} i.e.,

θ1,2=θ1,3=θ2,3=π/2,\theta_{1,2}=\theta_{1,3}=\theta_{2,3}=\pi/2,

it yields the maximum amount of certifiable randomness; H0.34249H_{\infty}\approx 0.34249. Also note that since plbp_{lb} forms an upper bound to the average success probability of the protocol, Equation 23 implies that certifiable randomness can be generated as soon as one violates the classical bound on witness. This is particularly relevant in practical setups, which might not be able to achieve the maximum possible quantum violation. The protocols is thus noise-robust, and has immediate applications in practical SDI-QRNG setups.
Since we assume that devices are shielded from the outside world, the randomness used to choose the input settings in each round can be used for other purposes. Hence the total output randomness from each round is more than what is being used to start the process. In order to increase randomness expansion even further, one can consider using a fixed subset of input setting for randomness generation for most rounds and a randomly chosen input setting for rest of the rounds [48, 46, 49]. If the number of rounds is large enough, one can use the subset of rounds wherein the input setting where randomly chosen in order to estimate the witness value [20].

V Discussions and outlook

A tight bound on the entropy generation rate is derived for SDI prepare and measure protocols for two-dimensional systems and two-outcome measurements solely from geometrical arguments. The maximum entropy generated from such a class of protocols is found to be equal to log2[12(1+13)]-\log_{2}\left[\frac{1}{2}\left(1+\frac{1}{\sqrt{3}}\right)\right]. Here it will be apt to note the results of a previous work [50] which suggests an upper bound on the certifiable randomness from a quantum black box as log2[min{l,k+1}]-\log_{2}\left[\min\{l,k+1\}\right], where ll is the number of outputs for a measurement (22 in our case) and kk is the number of preparation settings. For the particular class of protocols that we are considering, this result forms a trivial bound of 11 bit of certifiable entropy. Our results are much more strict in that regard. It was also conjectured in [25] that 313\rightarrow 1 QRAC generates the maximum amount of randomness among n1n\rightarrow 1 QRAC protocols. We have proved that this is indeed the case. Our results are more general than QRAC protocols and also independent of any dimension witness. We have also provided an explicit protocol generating the maximum amount of entropy while having the least amount of input settings. The protocol generates as much entropy as 313\rightarrow 1 QRAC protocol does, however it requires lesser input settings. Note that even though the protocol generates maximum entropy when W=WQW=W_{Q}, it still remains an open question if one can extract more randomness than what is given in Figure 4 when W<WQW<W_{Q}. Since Equation 23 is tied to a specific dimension witness i.e., R4,3R_{4,3}, it would be worthwhile to investigate whether the methods by Wang et. al. [51] would be able to extract more randomness when 3<R4,3<233<R_{4,3}<2\sqrt{3}. Inspired by the DI approach used in [49, 52], they used the full observed statistics to certify randomness rather than restricting to a particular inequality.
The results reported here are not only new and useful, it also opens up possibilities for a set of interesting investigations. An immediate generalisation of the presented work would be to consider the limits on entropy generation for ll-outcome measurements on dd-dimensional systems; l,d>2l,d>2. It would also be interesting to investigate the randomness expansion capabilities of such protocols with partially free random sources as the input seed [53, 54]. Given the advantage of our protocol over the 313\rightarrow 1 QRAC with perfect random sources, it would be interesting to see a comparison with partially free sources [55]. Another possible avenue for research would be to consider the randomness generation ability for multiple users as discussed in [56].

Acknowledgment

Authors acknowledge the support from the QUEST scheme of Interdisciplinary Cyber Physical Systems (ICPS) program of the Department of Science and Technology (DST), India (Grant No.: DST/ICPS/QuST/Theme-1/2019/14 (Q80)). They also thank Manik Banik, Ram Krishna Patra, Sandeep Mishra, R Srikanth, H. S. Karthik, H. Akshata Shenoy and Kishore Thapliyal for their interest and feedback on the work.

References