# Quantum random number generation enhanced by weak-coherent states interference

###### Abstract

We propose and demonstrate a technique for quantum random number generation based on the random population of the output spatial modes of a beam splitter when both inputs are simultaneously fed with indistinguishable weak coherent states. We simulate and experimentally validate the probability of generation of random bits as a function of the average photon number per input, and compare it to the traditional approach of a single weak coherent state transmitted through a beam-splitter, showing an improvement of up to 32%. The ensuing interference phenomenon reduces the probability of coincident counts between the detectors associated with bits 0 and 1, thus increasing the probability of occurrence of a valid output. A long bit string is assessed by a standard randomness test suite with good confidence. Our proposal can be easily implemented and opens attractive performance gains without a significant trade-off.

## I Introduction

Random numbers are an important resource for several applications in science and engineering, as in the Monte-Carlo modeling method MetropolisJASA49 () and cryptography GisinRMP02 (), and also for daily applications, as lotteries and gambling. Random number generators (RNGs) based on a deterministic process, usually an algorithm, generates a sequence that appears to be random at a first glance – in the sense of uniformly distributed statistics – but, in spite of being successfully employed in simulation tools site:mathworks (), each generated bit is predictable in principle. This is a drawback that makes this kind of RNG inappropriate for some sensitive applications, as in quantum key distribution (QKD). Quantum random number generators (QRNGs), on the other hand, are based on intrinsically random quantum mechanical processes and, hence, are considered truly random devices HerreroArxiv16 ().

A very elegant implementation for a QRNG is the path-splitting of photons in a beam splitter (BS) RarityJMO94 (); StefanovJMO00 (); JenneweinRSI00 () and in fact constitutes the operational principle of popular commercially available devices HerreroArxiv16 (). A single photon impinging on a symmetrical BS has identical probabilities of emerging at either of its output modes – the state is thus in a superposition of both spatial modes. If one places one detector at each output of the BS, bits “0” and “1” can be assigned to a valid detection on either side. Faint optical sources are usual in these generators due to their simplicity and efficacy, but the emission of multiple photons limits the maximum probability of generating a random bit because it leads to collisions – coincidence events between the detectors – that are neither assigned as “0” nor “1” and thus discarded. An optimum operation point is thus obtained from the trade-off of avoiding multi-photon states while reducing the vacuum component.

Photon sources based on spontaneous parametric down-conversion could be used to reduce the collision probability by avoiding multi-photon emission in a sub-Poisson emission regime MaCPL04 () or by producing path entangled photons KwonAO09 (). This kind of source, however, has low brightness and is significantly more complex to implement than faint sources.

In this paper we present a technique for enhancing a QRNG based on randomly populating the output spatial modes of a beam splitter by feeding it with indistinguishable mutually-incoherent weak coherent states (WCSs). The interference phenomenon (OuBOOK (); HongPRL86 (); PaulRMP86 (); KimPRA13 (); ThiagoJOSAB15 (); GustavoOL16 (), and references therein) plays the role of reducing the probability of occurrence of a collision. This simple modification from the traditional splitting of a single WCS enhances the probability of generating a valid random bit. We experimentally validate the theoretical model and successfully assess the generated bit sequence using standard randomness tests, proving our proposal to be an attractive approach for a practical QRNG.

## Ii Path-splitting QRNG enhanced by two-photon interference

In a standard path–splitting QRNG, photons are sent into a symmetric beam splitter (BS) and a valid bit is assigned whenever only one of the two single-photon detectors (SPDs) – each placed at one of the output modes – clicks. When dealing with states with more than one photon at the input of the BS – as in the case of WCSs weak coherent states – the coincident counts between the detectors limit the maximum generation probability of the QRNG, as collision events are discarded. Feeding the BS with coherent state and vacuum at the input modes and results in coherent states at the output modes and : ; each photon entering the beam splitter takes a random, independent output. The probability of simultaneously finding and photons at spatial modes and thus follows the Poisson distribution OuBOOK ().

Our proposal is depicted in Fig. 1. Two-photon interference takes a major role in our proposed scheme since the source of randomness is not only the indivisibility of the light quanta, but the bosonic nature of the photons: two indistinguishable photons that impinge on a BS emerge bunched together in a random output mode OuBOOK (). This means the output state is in a superposition of both modes: .

Two indistinguishable WCSs at the input modes of the beam splitter, with uniformly distributed random phases and equal amplitudes , are described by the density operator

(1) |

where is the average number of photons per time interval. By indistinguishable states we mean the polarization, spatial and temporal modes are matched and they have identical values of . This state can be decomposed into pairs of Fock states , where the probability of occurring photons in mode and photons in mode follows the Poisson distribution

(2) |

Each input state results in the output given by OuBOOK ()

(3) |

The probability of simultaneously finding photons at mode and photons at mode is obtained by summing over the projections of the state in eq. (3) weighted by the probability of each input to occur:

(4) |

The maximum contrast of the coincidence counts between modes and is limited to 0.5 in the case of indistinguishable WCSs as inputs due to the finite probability of occurring multi-photon events at the inputs ThiagoJOSAB15 (); GustavoOL16 ().

For perfect single-photon detectors, any non-vacuum number state reaching the device originates a detection event. In practice, however, there is a finite probability of detection of photons at modes and : an -photon state is detected by a (threshold) SPD of overall efficiency with probability MaPRA05 (). This is applied to each output mode, according to the number of photons. The probability of generating a valid bit, , is therefore computed from the events with any number of photons being counted in only one mode. The probability of an event being discarded due to the simultaneous detection at both output modes, , represents a collision. This is computed, neglecting the SPDs dark counts, as

(5) |

The throughput of the generator using continuous-wave light is obtained by multiplying the probability of generating a valid bit by the detection gate frequency.

## Iii Experimental setup

The continuous-wave emission of a telecom DFB laser source at 1547.8 nm is split into two branches by an optical beam splitter (), as shown in the detail of Fig. 1. The signals are decorrelated from each other by an 8-km long optical fiber spool (this spool was chosen to be much longer than the mutual coherence length of the sources, measured as 5.2 m) and sent to BS as two mutually-incoherent independent sources. The two states are power balanced – resulting in identical values of – and their polarization modes, overlapped. The average number of photons per time interval of both states is simultaneously adjusted by the variable optical attenuator (VOA) placed right after the laser source. The all-fiber setup guarantees the spatial modes overlap.

The output modes of BS are connected to an InGaAs/InP avalanche photodiode-based SPD. The detectors operate in gated Geiger mode and are synchronously triggered by a periodic 100 kHz clock signal. At each trigger pulse, the detectors open a 1.6-ns wide temporal gate window with 15% detection efficiency. Afterpulses are avoided by the low gate frequency ThiagoJQE11 (), but an aftercount deadtime can be employed if higher rate is desired with this kind of detector. Maximum interference between the WCSs is ensured with matched states and verified at low by scanning the relative delay between the detection gates of the SPDs, resulting in about 49% visibility.

The detection pulses generated by detectors SPD and SPD are sent to the processing unit (PU), composed by a two-channel 100 MSamples/s acquisition board driven by a personal computer. Both channels are simultaneously sampled, fetched and processed in blocks. If a detection pulse is sampled at only one channel, this is treated as a valid bit, 0 and 1 associated to each channel. Whenever an event occurs at both channels simultaneously, it is considered a collision and is discarded. A predefined temporal matching window is used to account for an eventual offset delay between both channels. The QRNG runs until the desired number of bits is obtained.

The attenuation set at the VOA is varied and the statistics of events is obtained using indistinguishable WCSs. The experiment is repeated with a single WCS by connecting the faint laser source to one input port of the main beam splitter with vacuum at the other.

## Iv Results

The probability of our proposed QRNG to generate a valid output bit or to discard the collision event was numerically simulated. For practical purposes, the probability to generate or discard of bits when using a detector with overall detection efficiency 1 can be computed by replacing for . Different values of at the input modes of the beam splitter (BS at Fig. 1) were employed using eq. (4). The case of a single WCS plus vacuum is used as a benchmark for evaluating the improvement offered by our proposal on the bit generation probability. The probability of simultaneously finding and photons at the output of the BS in this case is directly obtained from the Poisson distribution OuBOOK () . The maximum number of photons used for the expansion of the WCSs keeps the cumulative distribution function of the Poisson distribution greater than 99.9%.

The results, shown in Fig. 2, reveal that the maximum probability of generating a valid random bit per detection gate can be enhanced when two indistinguishable WCSs are used. The experimental results, also presented in Fig. 2, clearly agree with the simulation, validating the model. In the experiment, the average number of photons at the input of the interferometer was varied to have a product in the range from 0.05 up to about 20. The number of events occurring at only one channel and also events simultaneously taken at both detectors were counted. The intrinsic decay in the visibility of the interference with the increase of , as the multi-photon states become more probable, is accounted for by the model and naturally embedded in the experimental results. Degradation of the interference caused by misalignment of the WCSs – see GustavoOL16 () – would reduce the gain of our QRNG over the path-splitting-only method, which tends to zero with fully-distinguishable states.

The highest probability of generating a valid output is 0.50 at 1.4 for the single WCS plus vacuum, and 0.66 at 2.1 when using indistinguishable WCSs – considered as the total number of photons at the input of the beam splitter. The improvement ratio, considering both cases at their optimum condition, is of a factor of 1.32. Even if non-ideal detectors are considered, with , the maximum generation probability can be achieved in both cases by increasing the average number of photons per time interval, meaning that the QRNG performance is not affected by the detection efficiencies or internal optical losses.

Figure 2 also shows the saturation of the coincident counts between both SPDs with the increase in , up to the trigger rate. For high values of , both channels register events with high probability and the number of coincidences naturally increases. With indistinguishable WCSs this increase builds up at at higher values of due to the two-photon interference effect. Even though it eventually saturates, the maximum generation probability of a valid event is higher than that when using a single WCS plus vacuum.

## V Randomness tests

A long random sequence was experimentally generated using our proposed approach of indistinguishable WCSs with the generator set to the maximum probability of generating a valid output. The path-splitting generator is naturally susceptible of producing a biased output, as the transmittance after the BS and the detection efficiency of the SPDs are not perfectly balanced. To equalize the probabilities of generating a zero or a one , originally measured with as 0.49 and 0.51 respectively, we used the von Neumann approach PeresAS92 (). However any de-biasing method used with path-splitting RNGs, including more efficient ones PeresAS92 (), can also be used here.

The produced sequence was tested after ubiasing with the standard NIST randomness test suite (version 1.8) nist (). The 19-Mbits long sequence was split into 19 blocks of bits and the results of the tests are reported in Fig. 3 as p-values, which indicate randomness if above the confidence level of 0.01.

## Vi Conclusion

We report a quantum random number generation method that, using interference of indistinguishable mutually-incoherent weak coherent states, enhances the bit generation probability by up to 32% when compared to the traditional splitting of a single weak coherent state. Whereas this last approach is solely based on the indivisibility of the light quantum, ours also benefits from the bosonic nature of the photons to reduce the coincident events between the output modes (that are discarded). A long bit stream is generated and fed to a standard random number test suite, with the results indicating good confidence in the randomness of the string. Our proposal proves to be a practical, attractive and simple approach to improve the generation of random bits with the inclusion of an extra beam splitter and an optical delay to the traditional approach of a single coherent state (plus vacuum) impinging on a beam splitter.

Acknowledgements.—G. B. X. acknowledges support of FONDECYT no. 1150101, CONICYT PFB08-024 and Milenio RC130001. G. C. A., G. P. T. and J. P. W. acknowledge support of CPNq.

## References

- (1) N. Metropolis and S. Ulam, “The Monte Carlo method,” J. Am. Stat. Assoc. 44, 335–341 (1949).
- (2) N. Gisin, G. Ribordy, W. Tittel, and H. Zbinden, “Quantum cryptography,” Rev. Mod. Phys. 74, 145–195 (2002).
- (3) http://www.mathworks.com/products/matlab/
- (4) M. Herrero-Collantes and J. C. Garcia-Escartin, “Quantum random number generators,” arXiv:1604.03304v1, 2016.
- (5) J. Rarity, P. Owens, and P. Tapster, “Quantum random-number generation and key sharing,” J. Mod. Opt. 41, 2435–2444 (1994).
- (6) A. Stefanov, N. Gisin, O. Guinnard, L. Guinnard, and H. Zbinden, “Optical quantum random number generator,” J. Modern Optics 47, 595–598, 2000.
- (7) T. Jennewein, U. Achleitner, G. Weihs, H. Weinfurter, and A. Zeilinger, “A fast and compact quantum random number generator,” Rev. Sci. Instrum. 71, 1675â-1680 (2000).
- (8) H.-Q. Ma, S.-M. Wang, D. Zhang, J.-T. Chang, L.-L. Ji, Y.-X. Hou, and L.-A. Wu, “A random number generator based on quantum entangled photon pairs,” Chin. Phys. Lett. 21, 1961 (2004).
- (9) O. Kwon, Y.-W. Cho, and Y.-H. Kim, “Quantum random number generator using photon-number path entanglement,” App. Opt. 48, 1774–1778 (2009).
- (10) Z.-Y. J. Ou, Multi-Photon Quantum Interference (Springer, 2007).
- (11) C. K. Hong, Z. Y. Ou, and L. Mandel, “Measurement of subpicosecond time intervals between two photons by interference,” Phys. Rev. Lett. 59, 2044–2046 (1987).
- (12) H. Paul, “Interference between independent photons,” Rev. Mod. Phys. 58, 209 (1986).
- (13) Y.-S. Kim, O. Slattery, P. S. Kuo, and X. Tang, “Conditions for two-photon interference with coherent pulses,” Phys. Rev. A 87, 063843 (2013).
- (14) T. Ferreira da Silva, G. C. do Amaral, D. Vitoreti, G. P. Temporão, and J. P. von der Weid, “Spectral characterization of weak coherent state sources based on two-photon interference,” J. Opt. Soc. Am. B 32, 545–549 (2015).
- (15) G. C. Amaral, T. Ferreira da Silva, G. P. Temporão, and J. P. von der Weid “Few-photon heteorodyne spectroscopy,” Opt. Lett. 41, 1502–1505 (2016).
- (16) X. Ma, B. Qi, Z. Zhao, and H.-K. Lo, “Practical decoy state for quantum key distribution,” Phys. Rev. A 72, 012326 (2005).
- (17) T. Ferreira da Silva, G. B. Xavier, and J. P. von der Weid, “Real-time characterization of gated-mode single-photon detectors,” IEEE J. Quantum Electron. 47, 1251–1256 (2011).
- (18) Y. Peres, “Iterating von Neumann’s procedure for extracting random bits,” Ann. Stat. 20, 590–597 (1992).
- (19) A. Rukhin, J. Soto, J. Nechvatal, M. Smid, E. Barker, S. Leigh, M. Levenson, M. Vangel, D. Banks, A. Heckert, J. Dray, and S. Vo, “A statistical test suite for random and pseudorandom number generators for cryptographic applications,” NIST Special Publication 800-22.