[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Next Article in Journal
Reporting Standards for Bayesian Network Modelling
Previous Article in Journal
Shannon Entropy Computations in Navier–Stokes Flow Problems Using the Stochastic Finite Volume Method
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Post-Processing Method for Quantum Random Number Generator Based on Zero-Phase Component Analysis Whitening

National Key Laboratory of Security Communication, Institute of Southwestern Communication, Chengdu 610041, China
*
Authors to whom correspondence should be addressed.
Entropy 2025, 27(1), 68; https://doi.org/10.3390/e27010068
Submission received: 18 December 2024 / Revised: 9 January 2025 / Accepted: 13 January 2025 / Published: 14 January 2025
(This article belongs to the Special Issue Network Information Theory and Its Applications)

Abstract

:
Quantum Random Number Generators (QRNGs) have been theoretically proven to be able to generate completely unpredictable random sequences, and have important applications in many fields. However, the practical implementation of QRNG is always susceptible to the unwanted classical noise or device imperfections, which inevitably diminishes the quality of the generated random bits. It is necessary to perform the post-processing to extract the true quantum randomness contained in raw data generated by the entropy source of QRNG. In this work, a novel post-processing method for QRNG based on Zero-phase Component Analysis (ZCA) whitening is proposed and experimentally verified through both time and spectral domain analysis, which can effectively reduce auto-correlations and flatten the spectrum of the raw data, and enhance the random number generation rate of QRNG. Furthermore, the randomness extraction is performed after ZCA whitening, after which the final random bits can pass the NIST test.

1. Introduction

Random numbers (RNs) are widely used in many fields, such as games, simulations, and cryptography [1]. In the field of cryptography and information security, reliable generation of unpredictable random sequences is an important issue. Depending on the means of generation, random numbers can be divided into two main types: pseudo-random numbers and true random numbers. Pseudo-random numbers are statistically random sequences generated using deterministic algorithms whose randomness depends on the initial seed and the mathematical algorithm, and thus do not achieve true randomness [2]. Quantum Random Number Generators (QRNGs) are a type of true random number generator that exploit the inherent randomness results from quantum processes to create random numbers with informational provable security [3].
In recent years, many QRNG schemes have been proposed, and significant progress has been achieved [4]. For example, one important scheme based on the detection of single photon’s path choice after a 50:50 beam splitter has been implemented [5,6]. Another significant scheme based on single photon detection is to measure the arrival times of photons on a photodetector, which has been studied and achieves a higher generation rate [7,8,9]. However, due to the dead time of single photon detector (SPD), the generation rate of the two schemes are limited. To achieve a higher generation rate, QRNG schemes based on macroscopic detection are proposed by researchers, including measuring the vacuum fluctuations [10,11,12,13,14], the quantum phase noise [15,16,17,18,19], and the amplified spontaneous emission noise [20,21,22]. The output of the quantum entropy sources of these schemes is continuous, and the advantage is that the generation rate is very high, reaching 100 Gbps level [14,19,22,23].
Generally, the typical structure of a QRNG is shown as Figure 1, which consists of the quantum entropy source (QES), sampling, and post-processing. The QES usually includes the quantum state preparation, quantum state detection, then the sampling is performed which can generate the raw data sequence. Due to the classical noise and device imperfections of the QRNG system, the raw data contains bias and correlation inevitably. In order to obtain better randomness, it is necessary to perform post-processing. Many approaches for post-processing have been proposed and demonstrated, such as the Von Neumann method and the universal hash function [24].
In general, to avoid oversampling, which leads to high auto-correlation and reduced randomness of the raw data, the sampling rate in the experiment cannot significantly exceed the bandwidth of the QES, which is generally limited to within a maximum sampling rate of twice the bandwidth of the QES. The final random sequence generation rate is proportional to the sampling rate, so the final random sequence generation rate can be severely affected by the bandwidth of the QES. Throughout the current post-processing methods, there has never been a way to enhance the bandwidth of the QES. After the raw data are acquired, it may be possible to perform certain operations on raw data to increase the bandwidth of the signal before the entropy evaluation, such as the whitening process.
Zero-phase Component Analysis (ZCA) whitening is a fundamental preprocessing technique widely adopted in statistics and machine learning for removing feature correlations while standardizing their variances to unity [25]. Unlike Principal Component Analysis (PCA) whitening, which aligns data along eigenvectors and may distort the spatial arrangement, ZCA whitening employs a symmetric whitening matrix. This symmetry ensures minimal transformation distortion, preserving the visual or structural resemblance between the original and whitened data. Such characteristics make ZCA whitening particularly suitable in tasks like image recognition, signal processing, and biological data analysis, where preserving structural fidelity is critical for downstream interpretation and analysis.
Empirical studies have demonstrated that ZCA whitening minimizes the total squared distance between the raw and whitened data, achieving maximal similarity while effectively simplifying feature representations [25,26,27]. This approach uniquely balances the competing goals of efficient preprocessing and data integrity preservation, addressing a fundamental need in many scientific and engineering disciplines. Moreover, ZCA whitening is often preferred in scenarios where interpretability and minimal adjustment are essential, such as variable selection, feature extraction, and high-dimensional data analysis.
In comparison to other whitening methods, by employing the ZCA whitening method, it is feasible to retain the original coordinate system, which offers a clear advantage in applications demanding both accuracy and structural preservation. Overall, the simplicity, efficiency, and fidelity of ZCA whitening position it as a cornerstone preprocessing technique across diverse fields.
In this paper, we propose a post-processing method for QRNG based on ZCA whitening before randomness extraction. By performing a simple ZCA whitening on the raw data, the processed data have much lower auto-correlation and flatter power spectral density, which ensures that there is approximately no linear relationship between the processed data and the 3 dB bandwidth of the QES is correspondingly enhanced simultaneously. Based on the proposed method, the sampling rate of the QES can be significantly increased, which can enhance the Quantum Random Number Generation rate for QRNG.
Unlike traditional post-processing methods that primarily focus on randomness extraction to eliminate bias and correlations, this ZCA-whitening-based method is applied at the raw data stage, aiming to optimize the random data itself. This optimized data provides a better input for randomness extraction algorithms, ultimately improving their efficiency and effectiveness. It is worth noting that ZCA whitening does not replace randomness extraction algorithms directly. Instead, it functions as a complementary data preprocessing step, optimizing the input data to make the randomness generation process more effective.
To the best of our knowledge, this study is the first to propose a data processing approach for optimizing raw random sequences prior to randomness extraction in QRNG. While previous research has focused on post-processing, the optimization of raw random data has been largely overlooked. This approach provides a novel framework to improve the quality and efficiency of randomness generation.

2. Methods

The proposed post-processing method for QRNG based on ZCA whitening method is shown in Figure 2. Firstly, the data matrix is constructed by arranging the raw data A = a 1 , a 2 , a 3 , , a n m . Each element a i of A is a real number ( a i R ), acquired from the Quantum Random Number Generation (QRNG) process. These values originate from the amplitude of quantum noise and exhibit a statistical distribution determined by the physical properties of the quantum entropy source. Then, ZCA whitening is performed on these data matrix to obtain a processed data matrix. Next, this new data matrix is reshaped into a one-dimensional time sequence B = b 1 , b 2 , b 3 , , b n m . Finally, the entropy evaluation and randomness extraction is performed on the sequence B. More details of this post-processing scheme are shown as follows.

2.1. Principles of ZCA Whitening

ZCA whitening is an effective data processing method that aims to reduce the correlation of input data. Given an input data matrix, Zero-phase Component Analysis (ZCA) whitening is a preprocessing technique that removes correlations between data dimensions while preserving the original spatial structure of the data. Given a raw data matrix,
X = x 1 , 1 x 1 , 2 x 1 , m x 2 , 1 x 2 , 2 x 2 , m x n , 1 x n , 2 x n , m ,
where X R n × m , the whitening process begins by centralizing the data. For each row i = 1 , 2 , , n , the mean is computed as
x ¯ i = 1 m j = 1 m x i , j ,
and a centralized data matrix is formed as
X c = X X ¯ ,
where X ¯ R n × m is the mean matrix, and every element in the i-th row of X ¯ is equal to x ¯ i .
The covariance matrix of the centralized data are computed as
Σ = 1 m X c X c T ,
which is symmetric and positive semi-definite. To de-correlate the data, eigenvalue decomposition of the covariance matrix is performed, yielding
Σ = U Λ U T ,
where U R n × n is an orthogonal matrix of eigenvectors, and Λ = diag ( λ 1 , λ 2 , , λ n ) is a diagonal matrix containing the eigenvalues λ i 0 . To ensure numerical stability, eigenvalues close to zero may be regularized by adding a small constant ϵ > 0 , resulting in
Λ reg = Λ + ϵ I .
The whitening matrix is constructed as
W = U Λ 1 / 2 U T ,
where
Λ 1 / 2 = diag ( λ 1 1 / 2 ,   λ 2 1 / 2 ,   ,   λ n 1 / 2 ) .
Applying the whitening matrix to the centralized data yields the whitened data matrix,
X z c a = W X c .
After this transformation, the covariance matrix of X z c a becomes the identity matrix,
Σ z c a = 1 m X z c a X z c a T = I ,
indicating that the dimensions are uncorrelated, and their variances are normalized to 1.
After ZCA whitening, the covariance of the data matrix becomes a unit matrix, which means that the correlation of different rows is eliminated, thus randomness of the input data are enhanced.

2.2. ZCA Whitening for QRNG

ZCA whitening is applied to the raw data generated by the quantum entropy source (QES) to enhance statistical randomness and reduce correlations. Let the raw data sequence be denoted as
A = { a 1 , a 2 , a 3 , , a n m } .
Consider a matrix X of size n × m , where each element a i R represents a raw data point. A total of n × m raw samples are continuously collected and grouped into n data blocks, with each block containing m consecutive samples. The resulting matrix X consists of n rows and m columns, where each row corresponds to a data block formed by m consecutive raw samples. Figure 3 represents the data blocks in the time series when m = 3 .
The raw data are reshaped into a matrix X R n × m as follows:
X = a 1 a 2 a m a m + 1 a m + 2 a 2 m a ( n 1 ) m + 1 a ( n 1 ) m + 2 a n m .
To perform ZCA whitening, the centralized matrix X c is first obtained by subtracting the mean of each row from the respective elements, as described in Section 2.1. The covariance matrix of X c is then computed, followed by its eigenvalue decomposition. The whitening matrix W is constructed, and the ZCA-transformed matrix X z c a is obtained using the whitening transformation, as described in Equation (9).
The ZCA transformation ensures that the rows of X z c a are uncorrelated, with the covariance matrix becoming an identity matrix. After whitening, the matrix X z c a R n × m is reshaped into a one-dimensional sequence B = { b 1 , b 2 , , b n m } , suitable for randomness extraction. The reshaping process is defined as follows:
X z c a = b 1 b 2 b m b m + 1 b m + 2 b 2 m b ( n 1 ) m + 1 b ( n 1 ) m + 2 b n m ,
where the elements b i are taken sequentially from the rows of X z c a . Mathematically, the mapping from X z c a to B is expressed as
b ( i 1 ) m + j = X z c a ( i , j ) , for i = 1 , 2 , , n and j = 1 , 2 , , m .
This ensures that the elements b 1 , b 2 , , b n m preserve the original order of the data from X z c a .
We denote the centralized matrix X c as
X c = c 1 c 2 c n .
Its covariance matrix is
Σ = 1 m X c X c T = 1 m [ C o v ( c i , c j ) ] .
Due to the correlation between different rows, the non-diagonal elements of the covariance matrix are not 0.
After perform ZCA whitening transformation on matrix X, we obtain the matrix X z c a . Denote the matrix X z c a as
X z c a = d 1 d 2 d n .
The calculation for the correlation coefficient between any two row vectors of the matrix X z c a is expressed as
ρ i j = C o v ( d i , d j ) σ i σ j ,
where σ i and σ j is the standard deviation of the row vectors d i and d j , respectively.
As explained in the previous subsection, the covariance of the matrix X z c a is expected to be a unit matrix (i.e., C o v ( c i , c j ) = 0 given i j ), which means that ZCA whitening can remove the correlation between different rows of the raw data matrix.
The ZCA whitening process effectively removes correlations between blocks of raw data (each block consisting of m consecutive samples in the time domain), thereby enhancing the statistical randomness of the data. Correlation between rows is eliminated by performing ZCA whitening, i.e., correlation between raw data blocks consisting of m consecutive data in the time domain is eliminated.
Notably, another way of arranging the data are that each column is a consecutive n data in the time domain, arranged sequentially by column.

3. Experimental Verification

An QRNG based on amplified spontaneous emission (ASE) noise as shown in Figure 4 is implemented to verified the efficiency of the proposed ZCA whitening method. A SLED (EXSLOS, EXS210059-01) with center wavelength of 1550 nm is used to generate the ASE noise. Then, the ASE noise is detected by a 2 GHz PD, after which we use the digital storage oscilloscope (DSO, Keysight, DSOV084A) to sample the output signal of PD with sampling rate 10 GSa/s to acquire the raw data.
We choose the length of the raw data as 10 6 . Figure 5 shows the statistical histogram of raw data, which satisfy the Gaussian distribution. The raw data are arranged in order of rows according to the data matrix X, where each row contains consecutive 10 3 data in the time domain; then, we have the data matrix X R 10 3 × 10 3 .
Following the steps of algorithm presented above, the ZCA whitening is performed on the raw data matrix X. Then, we compared the auto-correlation coefficients of the raw data and the data after ZCA whitening. Figure 6 shows that the auto-correlation coefficient of the data after ZCA whitening is significantly lower. The average of the absolute values of the auto-correlation coefficient of the raw data are 1.03 × 10 2 , and that of the data after ZCA whitening is 1.51 × 10 5 .
The spectrum of the raw data and the data after ZCA whitening is shown in Figure 7. One can find that the data after whitening has a significantly flatter spectral curve with an enhanced 3 dB bandwidth compared to that of the raw data. In general, the sampling rate cannot significantly exceed the bandwidth of the QES. In this experiment, the sampling rate is 10 GSa/s, which is much larger than the QES bandwidth of 2 GHz, leading to a high auto-correlation coefficients shown as the blue curve in Figure 6. By performing the ZCA whitening on the raw data, the bandwidth is to some extent equalized to 5 GHz as shown in Figure 7, which means that the raw data can be in principle down sampled to 5 GSa/s and the random number generation rate can be increased.
Next, the entropy evaluation and randomness extraction is performed on the data after ZCA whitening. Min-entropy ( H m i n ) measures the unpredictability of a system based on the most likely outcome. It is particularly significant in contexts where randomness or uncertainty plays a crucial role, such as random number generation, cryptography, and data compression. Unlike other entropy measures such as Shannon entropy, which considers the average uncertainty of all outcomes, min-entropy focuses purely on the most likely outcome. H m i n directly evaluates the amount of random bits that can be extracted from each raw data sample. Analytically, for a discrete random variable X with probability distribution P = { p 1 , p 2 , , p n } , the min-entropy is expressed as:
H m i n ( P ) = log max ( p 1 , p 2 , , p n ) ,
where max ( p 1 , p 2 , , p n ) represents the highest probability of the outcomes x 1 , x 2 , , x n in the distribution, and the logarithm base is typically 2.
We assume that the system is secure, and we consider a practical scenario where quantum attacks are not taken into account. The focus of our study is presently on validating the principles of the ZCA method in randomness generation, rather than analyzing the system’s performance under quantum side-channel attacks. Therefore, using classical min-entropy as the evaluation method is sufficient for the scope of this study. The min-entropy of the data after ZCA whitening is estimated to be 9.3327 per 12-bit sample. Then, the m-least-significant-bit (m-LSB) procedure and the bitwise exclusive OR (XOR) operation are employed for randomness extraction based on the entropy evaluation results. We reserve 8-LSBs from each sample after XOR operation to generate the final quantum random bit sequences, and the random number generation rate is 40 Gbps.
The NIST Statistical Test Suite (NIST-STS) is a comprehensive set of statistical tests developed by the National Institute of Standards and Technology for evaluating the quality and randomness of binary sequences. It is widely used to verify the statistical properties of random number generators (RNGs), especially in cryptographic applications. The suite includes a total of 15 tests, such as the frequency test, block frequency test, cumulative sums test, and approximate entropy test, which collectively evaluate various aspects of randomness, including uniformity, independence, and unpredictability of sequences [28]. To assess the statistical properties of the generated random numbers, we employed the NIST Statistical Test Suite (NIST-STS) [28]. For a test to be considered passed, the p-value of the test statistic must satisfy p 0.01 , indicating that the observed sequence does not deviate significantly from randomness. Figure 8 shows the results of the NIST-STS test, and the p-value for each test is greater than 0.01, which indicates that the final random bits have passed all the NIST-STS tests, confirming the high quality and randomness of the random sequences.
The experiment results sufficiently demonstrate the effectiveness of post-processing method based on ZCA whitening in terms of enhancing the bandwidth of raw data. A potential physical explanation for this enhancement is described as follows. For a general high speed QRNG, the bandwidth of the quantum entropy source is directly limited by the detector, where the components in the frequency band within 3 dB bandwidth in principle dominate the signal in power and is extracted for random number generation. However, the signal components in the frequency band outside the 3 dB bandwidth of the spectrum also contain quantum randomness, but with less significant power. In this scenario, the ZCA whitening poses an approach to lower the power of the frequency band within 3 dB bandwidth, while enhancing the power of the counterpart outside of the 3 dB bandwidth, based on which the spectrum is flattened to achieve an equal enhancement for the entropy bandwidth where all components are of similar power.
To further validate the effectiveness of our method, the raw data under the sampling rate of 4 GSa/s and 2 GSa/s is, respectively, acquired, and the auto-correlation coefficient is calculated, which are compared with the auto-correlation coefficient of the data after ZCA whitening under the sampling rate of 10 GSa/s, as shown in Figure 9, demonstrating that our method can effectively reduce the auto-correlation coefficient. To acquire the final quantum random number, the entropy evaluation and randomness extraction is performed on the raw data under the sampling rate of 4 GSa/s and 2 GSa/s. Compared to the generation rate of 40 Gbps based on ZCA whitening, the sampling rate of 4 GSa/s and 2 GSa/s lead to the generation rates of only 16 Gbps and 32 Gbps, respectively, further indicating that our method enhance the random number generation rate of QRNG.

4. Conclusions

In this work, a novel post-processing method of QRNG based on ZCA whitening is proposed and theoretically analyzed. The significance of this new method is that, by employing the ZCA whitening on the raw data, the statistical characteristics of the processed data will be more random, and the generation rate of the QRNG can be improved. However, there are several limitations to this work need to be further considered, such as the sufficient computing power for matrix factorization and more detailed digital signal processing analysis. Future research is needed to improve this simple but effective method.

Author Contributions

Conceptualization, L.L. and J.Y.; methodology, L.L. and J.Y.; software, L.L. and J.Y.; validation, L.L., J.Y., M.W. and J.L.; writing—original draft preparation, L.L.; writing—review and editing, L.L. and J.Y.; supervision, Y.L., W.H. and B.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research and Development Program of China (Grant No. 2020YFA0309704), the National Natural Science Foundation of China (Grants No. 62101516, No. 62171418, No. 62201530, and No. 62301517), the Sichuan Science and Technology Program (Grants No. 2023ZYD0131, No. 2023JDRC0017, No. 2023YFG0143, No. 2022ZDZX0009 and No. 2021YJ0313), the Natural Science Foundation of Sichuan Province (Grants No. 2023NSFSC1387, No. 2023NSFSC0449, No. 2024NSFSC0470, and No. 2024NSFSC0454), the National Key Laboratory of Security Communication Foundation (Grant No. 6142103042201, No. 6142103042301), Stability Program of National Key Laboratory of Security Communication (2023).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Matsumoto, M.; Nishimura, T. Mersenne twister. ACM Trans. Model. Comput. Simul. 1998, 8, 3–30. [Google Scholar] [CrossRef]
  2. Ma, X.; Yuan, X.; Cao, Z.; Qi, B.; Zhang, Z. Quantum random number generation. NPJ Quantum Inf. 2016, 2, 16021. [Google Scholar] [CrossRef]
  3. Markowsky, G. The Sad History of Random Bits. J. Cyber Secur. Mobil. 2014, 3, 1–24. [Google Scholar] [CrossRef]
  4. Herrero-Collantes, M.; Garcia-Escartin, J.C. Quantum random number generators. Rev. Mod. Phys. 2017, 89, 015004. [Google Scholar] [CrossRef]
  5. Jennewein, T.; Achleitner, U.; Weihs, G.; Weinfurter, H.; Zeilinger, A. A fast and compact quantum random number generator. Rev. Sci. Instrum. 2000, 71, 1675–1680. [Google Scholar] [CrossRef]
  6. Stefanov, A.; Gisin, N.; Guinnard, O.; Guinnard, L.; Zbinden, H. Optical quantum random number generator. J. Mod. Opt. 2000, 47, 595–598. [Google Scholar] [CrossRef]
  7. Wahl, M.; Leifgen, M.; Berlin, M.; Röhlicke, T.; Rahn, H.-J.; Benson, O. An ultrafast quantum random number generator with provably bounded output bias based on photon arrival time measurements. Appl. Phys. Lett. 2011, 98, 171105. [Google Scholar] [CrossRef]
  8. Nie, Y.-Q.; Zhang, H.-F.; Zhang, Z.; Wang, J.; Ma, X.; Zhang, J.; Pan, J.-W. Practical and fast quantum random number generation based on photon arrival time relative to external reference. Appl. Phys. Lett. 2014, 104, 051110. [Google Scholar] [CrossRef]
  9. Keshavarzian, P.; Ramu, K.; Tang, D.; Weill, C.; Gramuglia, F.; Tan, S.S.; Tng, M.; Lim, L.; Quek, E.; Mandich, D.; et al. A 3.3-Gb/s SPAD-Based Quantum Random Number Generator. IEEE J. Solid-State Circuits 2023, 58, 2632–2647. [Google Scholar] [CrossRef]
  10. Gabriel, C.; Wittmann, C.; Sych, D.; Dong, R.; Mauerer, W.; Andersen, U.L.; Marquardt, C.; Leuchs, G. A generator for unique quantum random numbers based on vacuum states. Nat. Photonics 2010, 4, 711–715. [Google Scholar] [CrossRef]
  11. Shen, Y.; Tian, L.; Zou, H. Practical quantum random number generator based on measuring the shot noise of vacuum states. Phys. Rev. A 2010, 81, 063814. [Google Scholar] [CrossRef]
  12. Zheng, Z.; Zhang, Y.; Huang, W.; Yu, S.; Guo, H. 6 Gbps real-time optical quantum random number generator based on vacuum fluctuation. Rev. Sci. Instrum. 2019, 90, 043105. [Google Scholar] [CrossRef] [PubMed]
  13. Bai, B.; Huang, J.; Qiao, G.R.; Nie, Y.Q.; Tang, W.; Chu, T.; Zhang, J.; Pan, J.W. 18.8 Gbps real-time quantum random number generator with a photonic integrated chip. Appl. Phys. Lett. 2021, 118, 264001. [Google Scholar] [CrossRef]
  14. Bruynsteen, C.; Gehring, T.; Lupo, C.; Bauwelinck, J.; Yin, X. 100-Gbit/s integrated quantum random number generator based on vacuum fluctuations. PRX Quantum 2023, 4, 010330. [Google Scholar] [CrossRef]
  15. Qi, B.; Chi, Y.-M.; Lo, H.-K.; Qian, L. High-speed quantum random number generation by measuring phase noise of a single-mode laser. Opt. Lett. 2010, 35, 312–314. [Google Scholar] [CrossRef]
  16. Xu, F.; Qi, B.; Ma, X.; Xu, H.; Zheng, H.; Lo, H.-K. Ultrafast quantum random number generation based on quantum phase fluctuations. Opt. Express 2012, 20, 12366–12377. [Google Scholar] [CrossRef]
  17. Abellán, C.; Amaya, W.; Jofre, M.; Curty, M.; Acín, A.; Capmany, J.; Pruneri, V.; Mitchell, M.W. Ultra-fast quantum randomness generation by accelerated phase diffusion in a pulsed laser diode. Opt. Express 2014, 22, 1645–1654. [Google Scholar] [CrossRef]
  18. Marangon, D.G.; Plews, A.; Lucamarini, M.; Dynes, J.F.; Sharpe, A.W.; Yuan, Z.; Shields, A.J. Long-Term Test of a Fast and Compact Quantum Random Number Generator. J. Light. Technol. 2018, 36, 3778–3784. [Google Scholar] [CrossRef]
  19. Yang, J.; Wu, M.; Zhang, Y.; Liu, J.; Fan, F.; Li, Y.; Huang, W.; Wang, H.; Pan, Y.; Su, Q.; et al. An Ultra-fast Quantum Random Number Generation Scheme Based on Laser Phase Noise. arXiv 2023, arXiv:2311.17380. [Google Scholar]
  20. Williams, C.R.S.; Salevan, J.C.; Li, X.; Roy, R.; Murphy, T.E. Fast physical random number generator using amplified spontaneous emission. Opt. Express 2010, 18, 23584–23597. [Google Scholar] [CrossRef]
  21. Li, X.; Cohen, A.B.; Murphy, T.E.; Roy, R. Scalable parallel physical random number generator based on a superluminescent LED. Opt. Lett. 2011, 36, 1020–1022. [Google Scholar] [CrossRef] [PubMed]
  22. Yang, J.; Fan, F.; Liu, J.; Su, Q.; Li, Y.; Huang, W.; Xu, B. Randomness quantification for quantum random number generation based on detection of amplified spontaneous emission noise. Quantum Sci. Technol. 2021, 6, 015002. [Google Scholar] [CrossRef]
  23. Tanizawa, K.; Kato, K.; Futami, F. Spatially multiplexed quantum entropy source with single LD for 100-Gbps random numbers and beyond. IEEE Photonics Technol. Lett. 2023, 35, 229–232. [Google Scholar] [CrossRef]
  24. Ma, X.; Xu, F.; Xu, H.; Tan, X.; Qi, B.; Lo, H.-K. Postprocessing for quantum random-number generators: Entropy evaluation and randomness extraction. Phys. Rev. A 2013, 87, 062327. [Google Scholar] [CrossRef]
  25. Kessy, A.; Lewin, A.; Strimmer, K. Optimal whitening and decorrelation. Am. Stat. 2018, 72, 309–314. [Google Scholar] [CrossRef]
  26. Chiu, T.-Y. Understanding Generalized Whitening and Coloring Transform for Universal Style Transfer. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea, 27 October–2 November 2019. [Google Scholar]
  27. Kopparthi, V.R.; Sabat, S.L. Hardware-Software Co-Design for Whitening using Zero-Phase Component Analysis. In Proceedings of the 2022 IEEE International Symposium on Smart Electronic Systems (iSES), Warangal, India, 18–22 December 2022. [Google Scholar]
  28. Bassham, L.; Rukhin, A.; Soto, J.; Nechvatal, J.; Smid, M.; Leigh, S.; Levenson, M.; Vangel, M.; Heckert, N.; Banks, D. A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications; NIST Special Publication 800-22 Rev. 1a; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2010. [Google Scholar]
Figure 1. The typical structure of a QRNG.
Figure 1. The typical structure of a QRNG.
Entropy 27 00068 g001
Figure 2. The proposed post-processing scheme for QRNG.
Figure 2. The proposed post-processing scheme for QRNG.
Entropy 27 00068 g002
Figure 3. Data blocks when m = 3 .
Figure 3. Data blocks when m = 3 .
Entropy 27 00068 g003
Figure 4. Experimental set up of ASE scheme to acquire the raw data. SLED: superluminescent light emitting diode; PD: photodetector; DSO: digital storage oscilloscope.
Figure 4. Experimental set up of ASE scheme to acquire the raw data. SLED: superluminescent light emitting diode; PD: photodetector; DSO: digital storage oscilloscope.
Entropy 27 00068 g004
Figure 5. Statistical histogram of raw data for the QRNG based on ASE noise.
Figure 5. Statistical histogram of raw data for the QRNG based on ASE noise.
Entropy 27 00068 g005
Figure 6. Auto-correlation coefficients before and after ZCA whitening.
Figure 6. Auto-correlation coefficients before and after ZCA whitening.
Entropy 27 00068 g006
Figure 7. Power spectral density analysis before and after ZCA whitening.
Figure 7. Power spectral density analysis before and after ZCA whitening.
Entropy 27 00068 g007
Figure 8. The results of the NIST-STS test.
Figure 8. The results of the NIST-STS test.
Entropy 27 00068 g008
Figure 9. Auto-correlation coefficients of raw data2 and raw data3.
Figure 9. Auto-correlation coefficients of raw data2 and raw data3.
Entropy 27 00068 g009
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, L.; Yang, J.; Wu, M.; Liu, J.; Huang, W.; Li, Y.; Xu, B. A Post-Processing Method for Quantum Random Number Generator Based on Zero-Phase Component Analysis Whitening. Entropy 2025, 27, 68. https://doi.org/10.3390/e27010068

AMA Style

Liu L, Yang J, Wu M, Liu J, Huang W, Li Y, Xu B. A Post-Processing Method for Quantum Random Number Generator Based on Zero-Phase Component Analysis Whitening. Entropy. 2025; 27(1):68. https://doi.org/10.3390/e27010068

Chicago/Turabian Style

Liu, Longju, Jie Yang, Mei Wu, Jinlu Liu, Wei Huang, Yang Li, and Bingjie Xu. 2025. "A Post-Processing Method for Quantum Random Number Generator Based on Zero-Phase Component Analysis Whitening" Entropy 27, no. 1: 68. https://doi.org/10.3390/e27010068

APA Style

Liu, L., Yang, J., Wu, M., Liu, J., Huang, W., Li, Y., & Xu, B. (2025). A Post-Processing Method for Quantum Random Number Generator Based on Zero-Phase Component Analysis Whitening. Entropy, 27(1), 68. https://doi.org/10.3390/e27010068

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop