Next Article in Journal
Electrons in Quantum Dots on Helium: From Charge Qubits to Synthetic Color Centers
Previous Article in Journal
KCUNET: Multi-Focus Image Fusion via the Parallel Integration of KAN and Convolutional Layers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Deep Learning-Based Min-Entropy-Accelerated Evaluation for High-Speed Quantum Random Number Generation

1
Key Laboratory of Advanced Transducers and Intelligent Control System, Ministry of Education, Taiyuan University of Technology, Taiyuan 030024, China
2
College of Physics and Optoelectronics, Taiyuan University of Technology, Taiyuan 030024, China
3
Shanxi Key Laboratory of Precision Measurement Physics, Taiyuan University of Technology, Taiyuan 030024, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Entropy 2025, 27(8), 786; https://doi.org/10.3390/e27080786
Submission received: 14 May 2025 / Revised: 21 July 2025 / Accepted: 22 July 2025 / Published: 24 July 2025
(This article belongs to the Section Quantum Information)

Abstract

Secure communication is critically dependent on high-speed and high-security quantum random number generation (QRNG). In this work, we present a responsive approach to enhance the efficiency and security of QRNG by leveraging polarization-controlled heterodyne detection to simultaneously measure the quadrature amplitude and phase fluctuations of vacuum shot noise. To address the practical non-idealities inherent in QRNG systems, we investigate the critical impacts of imbalanced heterodyne detection, amplitude–phase overlap, finite-size effects, and security parameters on quantum conditional min-entropy derived from the entropy uncertainty principle. It effectively mitigates the overestimation of randomness and fortifies the system against potential eavesdropping attacks. For a high-security parameter of 10 20 , QRNG achieves a true random bit extraction ratio of 83.16% with a corresponding real-time speed of 37.25 Gbps following a 16-bit analog-to-digital converter quantization and 1.4 GHz bandwidth extraction. Furthermore, we develop a deep convolutional neural network for rapid and accurate entropy evaluation. The entropy evaluation of 13,473 sets of quadrature data is processed in 68.89 s with a mean absolute percentage error of 0.004, achieving an acceleration of two orders of magnitude in evaluation speed. Extracting the shot noise with full detection bandwidth, the generation rate of QRNG using dual-quadrature heterodyne detection exceeds 85 Gbps. The research contributes to advancing the practical deployment of QRNG and expediting rapid entropy assessment.

1. Introduction

Random numbers are indispensable in a multitude of information fields, including cryptographic algorithms, secure communication, Monte Carlo simulations, and financial security [1]. With the rapid development of quantum technology, especially the emergence and application of quantum computers, the encryption security of algorithm-based pseudo-random number generators is confronted with a significant challenge [2,3,4]. Quantum random number generation (QRNG) leverages the inherent unpredictability of quantum mechanics, as dictated by the uncertainty principle, to provide a natural platform for secure random number generation. To date, a variety of quantum random number protocols have been proposed, which can be broadly categorized based on the type of exploited quantum noise: discrete-variable and continuous-variable signals. The former protocols encode information in the physical attributes of single photons, where quantum randomness arises from spatial [5,6], temporal [7,8,9], and photon number distribution [10,11,12,13] properties. The latter protocols encode information in the quadrature observables of continuous-variable light fields, with quantum randomness stemming from vacuum fluctuations [14,15,16,17], phase noise [18,19,20], and amplified spontaneous emission [21,22,23]. Continuous-variable QRNG utilizes wideband photodetectors instead of single-photon detectors, achieving high-speed random bit generation rates up to Gbps. QRNG based on vacuum fluctuations is poised for promising practical development due to its robustness, fast performance, high security, and compatibility with integration. While vacuum-based QRNG is ideally capable of generating unpredictable random numbers, its security is not guaranteed due to potential classical noise or side information that could be exploited by an eavesdropper [24,25,26]. Addressing the practical concerns in one-quadrature-fluctuation extraction systems, quantum conditional min-entropy evaluations [27,28] and semi-device-independent protocols [29,30,31] have been refined to account for component device influences. The advancements in measurement-device-independent [32] and device-independent schemes [33] have notably enhanced the security and robustness of QRNG by mitigating potential vulnerabilities associated with imperfect devices. A heterodyne detection scheme [34,35,36] can offer an approach with faster bit rates and phase space sampling to counteract quantum attacks. In heterodyne detection schemes, a positive operator value measurement model and mutual testing have been proposed to extract secure bits without relying on trusted entropy sources. However, in high-speed QRNG systems, crucial impact factors, including dual-quadrature beam splitting ratio error, local oscillator fluctuations, finite-size effects, and security parameters, limit the whole system’s security and remain to be explored.
Moreover, the existing entropy estimations in QRNG security evaluation are mainly categorized into theoretical modeling, statistical testing, machine learning, and deep learning methods. For the theoretical modeling method, the complexity in principle and structure of many entropy sources often precludes accurate modeling [37]. The statistical testing method, involving post-processing examination using statistical test suites after QRNG, is limited by time-consuming computations and unsuitable for fast entropy source assessment [38]. Typical deep-learning evaluation methods assess QRNG security by comparing benchmark probabilities with predicted probabilities. It transforms the evaluation issue of QRNG randomness or unpredictability into a problem of neural network model learning, specifically whether the model can learn the underlying correlations or patterns among data [39]. However, entropy quantification for the unpredictability of random numbers, especially the establishment of a more rigorous practical entropy evaluation model, remains to be further developed, and performing efficient online entropy assessment across multiple datasets and devices continues to be a key challenge.
In this work, we experimentally present a high-speed online QRNG and entropy evaluation based on deep learning-based heterodyne detection of vacuum shot noise in quadrature amplitude and phase fluctuations. To enhance the robustness of the QRNG system, we employ polarizing beam splitters and controllers. The imperfect impacts of imbalanced heterodyne detection, amplitude–phase overlap, finite-size effects, and security parameters are investigated. Furthermore, we develop a practical security evaluation protocol by ascertaining a rigorous lower bound of quantum conditional min-entropy, enabling the system to autonomously mitigate source and measurement defects. Following 16-bit analog-to-digital converter (ADC) quantization and broadband shot-noise extraction above the GHz range, we achieve an ultrafast QRNG with a high-security parameter and a high random bit extraction ratio. For rapid and accurate entropy evaluation, a deep convolutional neural network (DCNN) is developed, achieving precise mapping across a wide range of entropy variations. Compared to other deep learning methods, the developed DCNN achieves a higher accuracy and speed entropy evaluation with a negligible mean absolute percentage error (MAPE). The entropy evaluation speed is enhanced by two orders of magnitude over non-deep learning methods. Our scheme not only provides a promising framework for QRNG operating at hundreds of Gbps but also defends against quantum side-information attacks, holding important applications for the practicality of quantum random number generators.

2. Proposed Method

QRNG is typically divided into three components: entropy source preparation, positive operator value measurement, and post-processing. In our scheme, raw randomness is generated from the shot noise of vacuum state, assuming the worst case where the entropy source is completely controlled by an eavesdropper. In the positive operator value measurement section, heterodyne measurement is employed and imperfect impacts on the measurement outcomes are quantified. The resulting signals are then directed to the detectors and corresponding signal processing circuits. In the subsequent post-processing stage, a real-time post-processing and a DCNN are utilized to accelerate the extraction of secure quantum random numbers. Following extraction processing, unreliable or biased non-quantum entropy is ultimately eliminated, culminating in the generation of reliable secure quantum random bits.

2.1. Dual-Quadrature Heterodyne Detection

Heterodyne detection, highly sensitive to both the amplitude and phase of incident light, is utilized for measuring the quadrature amplitude and phase fluctuations of quantum shot noise. We also employ an optical hybrid to control the beam polarization and introduce a phase delay, ensuring a 90° phase difference between the outputs in the amplitude Q and phase P quadratures, respectively. This results in a 90° phase difference in the output signals obtained by the balanced detectors. The schematic model is depicted in the “Heterodyne Detection” section of Figure 1, illustrating the precise synthesis of the signal and local oscillator (LO) to produce coherent mixing. The interference between the LO laser and the vacuum signal takes place within the hybrid device. Subsequently, the power spectrum of broadband vacuum shot noise is acquired by the heterodyne detection. To investigate the actual security of heterodyne detection systems, we derive the impact of practical system errors on heterodyne quadrature measurements. The LO and the signal light are denoted by E L ( t ) = E L + δ Q L ( t ) + i δ P L ( t ) and E S ( t ) = E S + δ Q S ( t ) + i δ P S ( t ) , respectively, and E L E S . The E L and E S are time-independent, whereas δ Q L ( S ) ( t ) and δ P L ( S ) ( t ) denote the time-dependent terms associated with the Q and P quadratures of the LO (signal) field. The light interference occurs in the optical hybrid, and the hybrid outputs from different channels exhibit minor phase discrepancies. Accounting for the influence of non-ideal polarization devices, the imbalance of the polarization element is denoted as l, and the actual phase deviation from the ideal value is represented by π / 2 + θ . The quantum efficiencies of the photodetectors are denoted by η 1 , η 2 , η 3 , and η 4 . We assume that the imbalances of the PBS2 and PBS3 obey l 1 = l 2 = l , and derive the differential outputs of the two quadratures as follows:
I 1 ( t ) = [ 1 2 η 1 ( 1 2 l ) 1 2 η 2 ( 1 2 + l ) ] ( E L 2 + 2 E L δ Q L ( t ) ) + E L δ Q S ( t ) ( η 1 + η 2 ) ( 1 2 l ) ( 1 2 + l ) ,
I 2 ( t ) = [ 1 2 η 3 ( 1 2 l ) 1 2 η 4 ( 1 2 + l ) ] ( E L 2 + 2 E L δ Q L ( t ) ) + E L ( δ P S ( t ) cos θ + δ Q S ( t ) sin θ ) · ( η 3 + η 4 ) ( 1 2 l ) ( 1 2 + l ) .
where I 1 ( t ) and I 2 ( t ) represent the quadrature measurement results of Q and P, respectively, E L 2 represents the bias voltage of the detector, δ Q L ( t ) represents the LO intensity fluctuation, and δ P ( Q ) S ( t ) represents the quantum fluctuation of the measured signal.
In the derivation process, the higher-order terms of the time-varying related terms δ Q L ( S ) ( t ) and δ P L ( S ) ( t ) are all assumed to be 0. From Equations (1) and (2), it can be obtained that the LO fluctuation variance for the Q quadrature is given by
σ L O , Q 2 = E L 2 [ η 1 ( 1 2 l ) η 2 ( 1 2 + l ) ] 2 D [ δ Q L ( t ) ] ,
and the quantum noise variance is
σ V , Q 2 = E L 2 ( η 1 + η 2 ) 2 ( 1 2 l ) ( 1 2 + l ) D [ δ Q S ( t ) ] .
For the P quadrature, the LO fluctuation variance is
σ L O , P 2 = E L 2 [ η 3 ( 1 2 l ) η 4 ( 1 2 + l ) ] 2 D [ δ Q L ( t ) ] ,
and its quantum noise variance is
σ V , P 2 = E L 2 ( η 3 + η 4 ) 2 ( 1 2 l ) ( 1 2 + l ) · ( D ( δ P s ( t ) ) cos 2 θ + D ( δ Q s ( t ) ) sin 2 θ ) ,
where E L 2 equals the LO optical power, denoted as E L 2 = P L O · D [ δ P s ( t ) ] , and D [ δ Q s ( t ) ] represent the initial variances of vacuum fluctuations, typically denoted as D [ δ P s ( t ) ] = D [ δ Q s ( t ) ] = σ 2 . The D ( δ Q L ( t ) ) denotes the initial variance of the LO fluctuations, denoted as D [ δ Q L ( t ) ] = k σ 2 . The LO fluctuations can be quantified by the k. Considering the variance of electronic noise σ E , Q ( P ) 2 , the measurement value of the signal Q(P) quadrature can be expressed as σ M , Q ( P ) 2 = σ V , Q ( P ) 2 + σ L O , Q ( P ) 2 + σ E , Q ( P ) 2 .

2.2. High-Speed QRNG and Entropy Evaluation Setup

Based on the above analysis, we built an experimental setup for the dual-quadrature heterodyne detection, as illustrated in Figure 1. The setup was divided into three main components: polarization-controlled and monitored LO laser, heterodyne measurement of phase and amplitude quadratures, and quantum noise extraction with accelerated entropy evaluation using deep learning techniques. Specifically, a single-mode continuous-wave semiconductor laser with a wavelength of 1550 nm served as the LO source. The LO light passed through a polarization-maintaining fiber optical circulator (PMCIR) with 67 dB high return loss, functioning as a polarization controller and an isolator. The PMCIR effectively suppressed the return of reflected light to the signal port. Then, a variable optical attenuator (VOA) was used to adjust the power of the LO. This ensured the stability of the output laser and determined the optimal power of the LO. A group of a polarization controller (PC) and a fiber polarization beam splitter (PBS) was employed to split the LO light into a 90:10 ratio, with the 10% branch monitored by a power meter for the LO output. The 90% light was injected into a 90° optical hybrid module, where the vacuum state was input through the signal port and the other beam was split and coupled with a 90° phase delay. Prior to entering the optical hybrid, the polarization controllers and VOA were used to precisely adjust and control the amplitude and phase quadratures, ensuring equal input intensities. The outputs were detected by a pair of high-quantum-efficiency and wideband-balanced photodetectors (BD, PDB480C, Thorlabs Inc., Newton, MA, USA) with a 1.6 GHz bandwidth. The two detectors, BD1 and BD2, were of identical specifications and serve different quadrature measurements: BD1 was utilized to measure the amplitude quadrature, while BD2 was employed to measure the phase quadrature. The resulting shot-noise signals with bandwidths of 1.4 GHz were extracted by electrical mixing and filtering. The power spectrum and time sequences of the shot noise were recorded using a 26.5 GHz spectrum analyzer (SA, N9020A, Agilent Technologies Inc., Santa Clara, CA, USA) and a real-time oscilloscope (OSC, LabMaster10-36Zi, Lecroy, NY, USA) with a bandwidth of 36 GHz, respectively. Then, the raw random bits were obtained by 16-bit ADC quantization. Finally, the entropy extraction and evaluation of the random bits were accelerated using a deep learning model.

2.3. Security and Quantum Conditional Min-Entropy Evaluation

It is crucial to assess the quantum randomness of the raw data. In order to ensure the security of the system, we estimate and quantify the secure randomness under the condition of an eavesdropper’s attack on the source. Considering the effects of local oscillator fluctuations, imbalanced detection error, phase error, finite-size effects, and security parameters, we investigated the variations in quantum conditional min-entropy over a wide range of non-ideal factors. It can be achieved through the rigorous formalization of the entropy uncertainty relationship [30,40,41]. In the heterodyne detection, quadratures P and Q are measured simultaneously and enable a limit on the extractable randomness. The quantum conditional min-entropy of the heterodyne system based on the entropy uncertainty relationship can be expressed as [36]
H min ( M | E ) 2 log 2 c ( δ q , δ p ) H max ( Q δ q ) H max ( P δ p ) ,
c ( δ q , δ p ) = δ q δ p 2 π S 0 ( 1 ) ( 1 , δ q δ p 4 ) 2 ,
where c ( δ q , δ p ) represents the overlap degree between the P and Q, S 0 ( 1 ) ( 1 , δ q δ p 4 ) 2 is the 0th radial prolate spheroidal wave function of the first kind, H max ( Q δ q ) and H max ( P δ p ) denote the maximum entropies of the Q and P, and H max ( Q ( P ) δ q ( p ) ) = 2 log 2 i p d i s ( q ( p ) i ) denotes the max-entropy associated with the quadratures. δ q and δ p indicate the measurement accuracies of the P and Q, as given by δ = δ A D C 2 σ V 2 . δ A D C signifies the resolution of the ADC.
Due to the non-ideal factors of the splitting ratio of the optical hybrid and the detection efficiency in the realistic experiment, unbalanced detection occurs and misinterprets the fluctuations of the LO light as part of the quantum noise, leading to an erroneous estimation of the measurement resolution. Then, we analyze the above imperfect impact on the measurement accuracy of the Q (P). Assuming the sampling range of the ADC to three standard confidence intervals, namely N = 3 σ M , the discrepancy between the actual accuracy and the ideal accuracy is given by
Δ δ = δ A D C 2 σ V 2 δ A D C 2 ( σ V 2 + σ L O 2 ) = 3 ( 1 + 4 ( k 1 ) l 2 ) σ 2 P L O + σ E 2 2 n 1 2 P L O σ 2 · ( 1 1 4 l 2 1 1 + 4 ( k 1 ) l 2 ) .
Therefore, the actual entropy is
H min δ ( M | E ) 2 log 2 c ( δ q + Δ δ , δ p + Δ δ ) H max ( Q δ q + Δ δ ) H max ( P δ p + Δ δ ) .
Figure 2a illustrates a map of Δ H δ as a function of k and l when P L O = 1 , n = 8 , σ E , Q ( P ) 2 = 0.1 , σ 2 = 0.5 , where Δ H δ = H min ( M | E ) H min δ ( M | E ) indicates the overestimated quantum bits under imbalance detection and n is the bit resolution of the ADC. For the k ranging from 0 to 5 and the l ranging from −0.45 to 0.45, the results reveal that, as the initial LO fluctuation variance k and the degree of imbalance l increase, the overestimated entropy Δ H δ increases, varying from 0 to 4.48 bits. Specifically, Figure 2b depicts the variation in Δ H δ with the degree of imbalance l for k = 0.5, 1.5, 2.5, 3.5, and 4.5.
Furthermore, we investigated the impact of the actual phase deviation θ of the optical hybrid from the ideal value in an unbalanced homodyne detection on the extractable randomness. In practice, the measurements of the quadratures Q and P satisfy the canonical commutation relation Q , P = i cos θ [42], and the actual overlap is given by
c ( δ q , δ p ) = c ( δ q , δ p ) / cos θ .
In this case, the overestimated extractable entropy is
H min δ , θ ( M | E ) 2 log 2 c ( δ q + Δ δ , δ p + Δ δ ) cos θ H max ( Q δ q + Δ δ ) H max ( P δ p + Δ δ ) .
The overestimated quantum random bits are
Δ H δ , θ = H min ( M | E ) H min δ , θ ( M | E ) .
Figure 3a illustrates the variation in overestimated quantum random bits Δ H δ , θ under the effects of imbalance l and imperfect phase deviation θ . When the θ gradually changes from π / 4 to π / 4 , the l gradually varies from −0.45 to 0.45. It can be noted that, as the deviation θ and the imbalance l increase, the overestimated extractable random bits gradually increase, ranging from 0 to 2.65 bits. Figure 3b shows the variation Δ H δ , θ with the phase deviation θ when the imbalance degrees l = 0.05 , 0.15 , 0.25 , 0.35 , 0.45 , respectively. It is worth noting that the impact of imbalance deviation on the Δ H δ , θ is higher than that of phase deviation.
Finally, considering the above non-ideal factors and the finite-size effects, we establish the bound of quantum conditional min-entropy for source-independent QRNG to be
H min δ , θ , n , ε ( M | E ) = H min δ , θ ( M | E ) Δ H n , ε ,
Δ H n , ε = 4 n p log 2 ( 2 ε 2 ) log 2 [ 2 1 + H max ( Q δ q + Δ δ ) 2 + 1 ] + 4 n q log 2 ( 2 ε 2 ) log 2 [ 2 1 + H max ( P δ p + Δ δ ) 2 + 1 ] ,
where n denotes the number of measured data points obtained from each quadrature setting, and ε denotes the security parameter. To investigate the two impacts on the overall entropy deviation, Figure 4a shows the map of Δ H n , ε as a function of n and ε . Figure 4b shows the variation in Δ H n , ε with the measurement number n when the security parameter ε = 10 10 , 10 20 , 10 30 , 10 40 , 10 50 , respectively. It can be seen that the overestimated quantum random bits decrease with an increase in the measurement number, and, when the measurement number reaches a 10 6 order of magnitude, the influence of n on the ultimate deviation Δ H n , ε is insignificant.

2.4. Deep Learning Method

With the advancement in computer arithmetic power and the development of artificial intelligence, machine learning and deep learning methods have begun to be used for secure communication. The applications include security analysis of key distribution and random number generators, communication protocol optimization, noise suppression, and error correction [43,44,45]. Among them, convolutional neural networks demonstrate outstanding ability in pattern recognition and feature extraction. In our QRNG, we focus on rapid and precise entropy evaluation when multiple entropy sources and multiple devices operate concurrently. We develop a deep convolutional neural network (DCNN) capable of automatically learning the min-entropy features of the quadrature fluctuations. The DCNN takes the collected quadrature measurements as input x = ( x 1 , x 2 , x 3 ) and after model training outputs y ( H min ( X | E ) | x 1 , x 2 , x 3 ) with the aim of establishing the relationship between H min ( X | E ) and the quadrature fluctuations. The DCNN is trained on the model associated with Equation (14).
To enhance the accuracy and estimation speed of the DCNN, data preprocessing is essential. Initially, the dataset is divided into training and testing sets, with the training set comprising 80% of the data and the testing set accounting for the remaining 20%. The dataset contains a wide range of power variations, with the training and testing data exhibiting substantial diversity in power range and signal variation. Subsequently, all samples are labeled by taking a continuous sequence set of 10,000 vacuum fluctuation data as the input and the corresponding min-entropy value at that stage as the label. The dataset is then sequentially shifted backward by 1000 samples to form the next input sequence. This shifting process is continued until all input sequences and corresponding labels are generated. The final set of inputs and labels is then shuffled to be used for subsequent model training phases. It should be noted that these datasets are collected under different quantum conditional min-entropy scenarios. Our DCNN model structure involves the initial input features passing through a one-dimensional convolutional layer with 32 channels using a convolutional kernel size of 3 with a stride of 1. After passing through a max pooling layer, the features proceed to the subsequent convolutional layers. Specifically, the second convolutional layer comprises 64 channels, the third layer comprises 128 channels, and the fourth layer comprises 64 channels. Each convolutional layer, including the initial one, employs Rectified Linear Unit (ReLU) activation functions. Pooling layers are interspersed between the convolutional layers to perform down-sampling, which aids in extracting the primary information from the input features, suppressing noise and irrelevant details, and mitigating the risk of overfitting. The final output is derived from two fully connected layers, where the first layer accepts 20,000 input features and outputs 1000 features and the second layer receives 1000 input features and produces a single output feature. During model training, the batch size is set to 32, and the model is optimized employing stochastic gradient descent (SGD) with a learning rate of 0.0001. The maximum number of training epochs is set to 200. In the supervised training process, the labels are used to assess the accuracy and other critical metrics of the model. The deep learning is implemented based on Keras and the backend of PyTorch with Python and executed on a Windows system equipped with an Intel i5-10400X CPU and an NVIDIA RTX 2080 Ti GPU.

3. Experimental Results

3.1. High-Speed and High-Security QRNG Using Dual-Quadrature Heterodyne Detection

Due to environmental noise disturbances, such as the low-frequency noise of laser and relaxation oscillations, the power spectrum of the measured signal often exhibits pronounced noise in the low-frequency region, where quantum noise is overshadowed. We select a signal window centered at 825 MHz with a 1.4 GHz bandwidth as the true quantum entropy source for QRNG. Figure 5a shows the power spectrum within the effective bandwidth of the detectors in the dual-quadrature heterodyne detection. To verify the balance of the optical system, we measure the shot noise as a function of the LO power, as shown in Figure 5b. The first point in the figure represents electronic noise, and the linear behavior of the dual-quadrature quantum noise signals over a wide range of LO powers demonstrates the reliability of the detection system. It is emphasized that the LO power remains within the linear operating region of the photodiodes.
The dual-quadrature simultaneous measurement scheme not only generates quantum random numbers but also directly performs high-precision tomography of the quantum state, providing crucial evidence for the precise characterization of the entropy source. By monitoring the statistical distributions of time series and the phase space distribution of the quantum noise, the deviations from the ideal distributions can be calculated to identify potential security loopholes. We experimentally reconstruct the Husimi phase-space distribution of the vacuum state to monitor the deviations of the dual quadratures. Figure 6 shows the phase space of the vacuum state, obtained directly from the measured quadratures P and Q with the phase space resolutions of δ p = 1.477 × 10 4 and δ q = 1.472 × 10 4 . Ideally, the quadrature variance of the vacuum state is 1/2. However, in the experiment, the non-quantum-noise variances of the dual-quadrature detectors are 25.4% and 25.0%, respectively, attributed to the electronic noise of the detectors and the LO fluctuations. Hence, the actual measured variances in the results are always greater than 1/2, amounting to σ q 2 = 0.6503 and σ p 2 = 0.6663 . Moreover, we employed the NIST 800-90B entropy evaluation test to assess the entropy of the dual-quadrature raw signals. The minimum entropy values, derived from the lowest values of 10 test items, were 5.767 and 5.569 per eight bits. The corresponding maximum entropies were 7.965 and 7.947. The test results indicate that the extracted dual-quadrature entropy source exhibits high-quality randomness.
Equation (14) offers a lower bound of the secure randomness. Adjusting the LO power from 0 to 3.0 mW, we simultaneously perform 10 6 independent and identically distributed measurements for the P and Q quadratures during one round of experiments, and 1/10 of the total measurements are selected for entropy evaluation. During the data acquisition process, the dual-quadrature data of heterodyne detection are selected according to the measurement, where θ = 5 , n = 10 6 , and ε = 10 20 . The maximum phase error of the optical hybrid is 5 . We select the maximum phase deviation and a superior security parameter to ensure a more secure and rigorous lower bound of the quantum min-entropy for the entropy evaluation. We obtain the extractable quantum conditional min-entropy as a function of the LO power, considering the impacts of the LO fluctuations, imbalanced heterodyne detection, amplitude–phase overlap, finite-size effects, and security parameter. In Figure 7a, it can be observed that the overestimated random bits are effectively removed after considering non-ideal factors. The practical entropy evaluation method used in this work is quantitatively compared with the min-entropy and the initial entropy uncertainty principle. The lower bound of quantum min-entropy we used signifies a more rigorous entropy evaluation, effectively countering the impact of non-randomness and side information. In Figure 7b, after quantization of the dual-quadrature data with a 16-bit ADC, 83.16% secure bits can be extracted, resulting in an equivalent rate of 37.25 Gbps. The effective bit depth of the ADC was measured to be 13.3056 bits. Information-theoretic Toeplitz-hash post-processing is employed in QRNG. The Toeplitz-hash matrices of 4096 × 3405 and 4096 × 3407 are used to extract quantum random numbers, and the extraction efficiencies of the two quadratures achieve 83.13 % and 83.19 % . We also renew the seed of the Toeplitz matrices to ensure secure and efficient post-processing [46]. Compared with other recent vacuum-based QRNG [47,48], this work focuses on the treatment of quantum side information and classical side information. Although our approach offers some essential insights into specific vulnerabilities [49], it may not fully encompass all the potential side-channel attacks. The finite bandwidth of the detectors limits the achievement of higher generation rates. By employing customized integrated detectors [47] and expanding the real-time parallel post-processing solution of our research [50], it is expected to eventually achieve high-speed QRNG at the level of 100 Gbps.

3.2. Quantum Conditional Min-Entropy Evaluation with Deep Learning

In our work, a DCNN architecture is designed to accelerate entropy evaluation processing and enable high-speed monitoring. By continuously adjusting the weights and bias parameters, we aim to better fit the mapping relationship between the inputs and outputs. We also compare the developed DCNN model with backpropagation neural network (BP), support vector machine (SVM), and random forest (RF) models. Firstly, we investigate the impact of data volume on model accuracy. We employ four datasets of different sizes: 3 × 10 8 , 6 × 10 8 , 9 × 10 8 , and 11 × 10 8 . The test results are divided into 100 groups, each containing 134 samples. We analyze the MAPE for the four models under different data volumes, where M A P E = 100 % n i = 1 n y ^ i y i y i , with y ^ representing the predicted value after the training through the DCNN and y representing the actual entropy value. In Figure 8, it is evident that, as the size of the dataset increases, the MAPE of the DCNN, SVM, and RF models gradually decreases. Moreover, the impact of dataset size on MAPE is not linear. As the random dataset size increases, the rate of error reduction slows down. Conversely, the BP model, due to its failure to capture the complex dynamical features of quantum shot noise, does not reduce its error as the dataset size increases. At a dataset size of 11 × 10 8 , the MAPE values for DCNN, BP, SVM, and RF are 0.4177%, 9.7689%, 2.2919%, and 4.2609%, respectively. The error bars, represented by the sample standard deviations, are 0.0654, 0.8109, 0.3906, and 0.4041, respectively. Compared to the other models, the DCNN has a lower MAPE and the smallest error range, indicating its superior learning capability in establishing the mapping between vacuum fluctuations and entropy.
The scatter plots in Figure 9a–d provide visual representations of the performance of four different modeling methods. We obtain a set of predictions using 10,000 quadrature fluctuation data and achieve 13,473 entropy predictions within 68.89 s through the DCNN method. Each set comprises 10 million 16-bit quadrature amplitude and phase data, totaling 13,473 × 10 M × 16 bits for the training dataset. The insets illustrate the statistical distribution of the error between the model-predicted values and the actual measured values. The diagonal lines in the scatter plots represent the differences between the computed true values and the predicted values. If the difference between the accelerated results and the experimentally measured entropy is minimal, the points in the scatter plot align closely with the diagonal line, indicating higher model accuracy as the data points distribute more uniformly around the line. For the experimentally acquired quadrature fluctuations, the results obtained using the DCNN model exhibit a uniform distribution around the diagonal line across the entire coordinate range, demonstrating higher predictive accuracy. In contrast, under the same dataset training conditions, the SVM and RF methods only provide good results in certain entropy ranges, and overall their scatter plots show less alignment with the diagonal line. On the other hand, the BP method fails to capture the complexity of the dynamics of experimentally acquired quadrature fluctuations, resulting in its scatter plot also lacking alignment with the diagonal line.
Meanwhile, the performance of two deep learning models in accelerating entropy assessment is compared. Figure 10a,b illustrate the test accuracy and training loss for the DCNN and BP models as functions of training epochs. The results indicate that, as the training epochs increase, both models gradually achieve maximum accuracy. The DCNN model reaches a higher accuracy of 98.58% compared to the BP model’s 90.23%. Furthermore, after 200 training epochs, the loss function value of the BP model tends to plateau at 4, indicating its failure to further reduce loss and capture the complex features of vacuum-fluctuation random sources effectively. In contrast, the DCNN model achieves a loss value of 0.05 after 50 epochs and continues to converge towards 0 with further training, further confirming its capability to better learn and represent the characteristics of vacuum-fluctuation entropy. The DCNN entropy assessment model exhibits superior performance in terms of accuracy, evaluation speed, and prediction uniformity. It achieves a faster entropy evaluation speed and has a lower MAPE. Consequently, it enables more accurate acceleration of the entropy evaluation process. Beyond clearly accelerating the entropy evaluation, the DCNN technique developed here exhibits scalable application potential. By predicting and analyzing the side information and non-ideal factors, the DCNN model, coupled with the real-time phase-space reconstruction, can rapidly identify deviations induced by imperfections or potential attacks. Furthermore, it can indirectly enhance security by dynamically adjusting parameters or applying error-correction strategies, and provide an effective way for adaptive and highly reliable QRNG.

3.3. Correlation and NIST Tests

To verify the independence between the two channels of the dual-quadrature heterodyne detection and the quality of the generated quantum random numbers, we analyze the correlation coefficient ρ x y and mutual information I x y between the quantum random numbers of the two channels, as shown in Figure 11. The autocorrelation and mutual information of the individual quadratures P and Q are shown in Figure 11a and Figure 11b, respectively. The cross-correlation and mutual information between the P and Q quadratures are depicted in Figure 11c. The results indicate that, as the delay k between the two channels increases from −500 to 500, the correlation coefficient ρ x y [ k ] and mutual information I x y [ k ] remain below the magnitudes of 10 3 and 10 6 , respectively, and satisfy the condition I x y [ k ] ρ x y [ k ] 2 . This demonstrates that there is a very low correlation between the channels. Additionally, we assess the randomness of the quantum random numbers using the NIST statistical test suite. At a significance level of α = 0.01 , the p-values for all 15 tests exceed 0.01, and the proportions are within the confidence interval of 0.99 ± 0.00944 , indicating that the random numbers successfully pass all the NIST tests. The detailed test results are presented in Table 1.

4. Conclusions

In summary, we introduce a scheme and protocol aimed at enhancing the efficiency and security of QRNG through deep learning-based heterodyne detection to simultaneously measure the amplitude and phase quadrature fluctuations of vacuum shot noise. Despite the imperfections in the practical implementations, our comprehensive analysis elucidates the impact of these imperfections on system security. We demonstrate that factors such as imbalanced heterodyne detection, amplitude–phase overlap, finite-size effects, and security parameters can collectively result in the overestimation of a system’s intrinsic randomness. To enhance the practical security of QRNG, we further propose the quantum conditional min-entropy lower bound. With a high-security parameter of 10 20 , following a 16-bit ADC and a 1.4 GHz bandwidth extraction, QRNG achieves a quantum random number extraction rate of 83.16%, corresponding to a real-time speed of 37.25 Gbps. The randomness correlation coefficient derived from dual-quadrature measurements is below 10 3 , and the result successfully passes all the NIST test items. Furthermore, to evaluate entropy rapidly and accurately, we develop a DCNN. In contrast to alternative models, our approach demonstrates superior accuracy in assessing the entropy of quantum quadrature fluctuations, with an MAPE of 0.004. It also accelerates the speed of entropy assessment by two orders of magnitude compared to traditional non-deep learning techniques, achieving 13,473 sets of quadrature data entropy evaluations within 68.89 s. This research boosts the practical applicability of QRNG and facilitates rapid and precise entropy evaluation.

Author Contributions

Conceptualization, X.G., Y.G., and L.X.; methodology, X.G. and Y.G.; software, W.Z., Y.L., and X.M.; validation, X.G., W.Z., Y.L., X.M., and Y.G.; formal analysis, X.G., W.Z., J.L., and Y.B.; investigation, X.G., W.Z., and Y.G.; data curation, X.G., W.Z., Y.L., X.M., and Y.G.; writing—original draft preparation, X.G., W.Z., and Y.G.; writing—review and editing, X.G., Y.G., and L.X.; supervision, X.G., Y.G., and L.X.; project administration, X.G., Y.G., and L.X.; funding acquisition, X.G., J.L., Y.B., Y.G., L.X.; X.G., and W.Z. contributed equally to this work. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the National Key Research and Development Program of China (Grant No. 2022YFA1404201), the National Natural Science Foundation of China (Grant Nos. 62175176, 62475185, U23A20380, 62305239, and 62305240), the Fundamental Research Program of Shanxi Province (Grant Nos. 202403021221034, 202203021222104, and 202203021222133), and the Central Guiding Fund for Local Science and Technology Development Project of Shanxi Province (Grant No. DZJSX2025D015).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available upon reasonable request from the authors.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
QRNGQuantum Random Number Generation
DCNNDeep Convolutional Neural Network
ADCAnalog-to-Digital Converter
MAPEMean Absolute Percentage Error
LOLocal Oscillator

References

  1. Lin, X.; Wang, R.; Wang, S.; Yin, Z.Q.; Chen, W.; Guo, G.C.; Han, Z.F. Certified randomness from untrusted sources and uncharacterized measurements. Phys. Rev. Lett. 2022, 129, 050506. [Google Scholar] [CrossRef]
  2. Pirandola, S.; Andersen, U.L.; Banchi, L.; Berta, M.; Bunandar, D.; Colbeck, R.; Englund, D.; Gehring, T.; Lupo, C.; Ottaviani, C.; et al. Advances in quantum cryptography. Adv. Opt. Photonics 2020, 12, 1012–1236. [Google Scholar] [CrossRef]
  3. Lambić, D. Security analysis and improvement of the pseudo-random number generator based on piecewise logistic map. J. Electron. Test. 2019, 35, 519–527. [Google Scholar] [CrossRef]
  4. Wang, Z.; Yu, H.; Zhang, Z.; Piao, J.; Liu, J. ECDSA weak randomness in Bitcoin. Future Gener. Comput. Syst. 2020, 102, 507–513. [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. Chang, K.C.; Cheng, X.; Sarihan, M.C.; Wong, C.W. Recent advances in high-dimensional quantum frequency combs. Newton 2025, 1, 100024. [Google Scholar] [CrossRef]
  10. Ren, M.; Wu, E.; Liang, Y.; Jian, Y.; Wu, G.; Zeng, H. Quantum random-number generator based on a photon-number-resolving detector. Phys. Rev. A 2011, 83, 023820. [Google Scholar] [CrossRef]
  11. Yan, Q.; Zhao, B.; Liao, Q.; Zhou, N. Multi-bit quantum random number generation by measuring positions of arrival photons. Rev. Sci. Instrum. 2014, 85, 103116. [Google Scholar] [CrossRef]
  12. Applegate, M.; Thomas, O.; Dynes, J.; Yuan, Z.; Ritchie, D.; Shields, A. Efficient and robust quantum random number generation by photon number detection. Appl. Phys. Lett. 2015, 107, 071106. [Google Scholar] [CrossRef]
  13. Chang, K.C.; Sarihan, M.C.; Cheng, X.; Zhang, Z.; Wong, C.W. Large-alphabet time-bin quantum key distribution and Einstein–Podolsky–Rosen steering via dispersive optics. Quantum Sci. Technol. 2024, 9, 015018. [Google Scholar] [CrossRef]
  14. 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]
  15. 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]
  16. Symul, T.; Assad, S.M.; Lam, P.K. Real time demonstration of high bitrate quantum random number generation with coherent laser light. Appl. Phys. Lett. 2011, 98, 231103. [Google Scholar] [CrossRef]
  17. Haw, J.Y.; Assad, S.; Lance, A.; Ng, N.; Sharma, V.; Lam, P.K.; Symul, T. Maximization of extractable randomness in a quantum random-number generator. Phys. Rev. Appl. 2015, 3, 054004. [Google Scholar] [CrossRef]
  18. 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]
  19. Yang, J.; Liu, J.; Su, Q.; Li, Z.; Fan, F.; Xu, B.; Guo, H. 5.4 Gbps real time quantum random number generator with simple implementation. Opt. Express 2016, 24, 27475–27481. [Google Scholar] [CrossRef]
  20. Zhang, X.G.; Nie, Y.Q.; Zhou, H.; Liang, H.; Ma, X.; Zhang, J.; Pan, J.W. Note: Fully integrated 3.2 Gbps quantum random number generator with real-time extraction. Rev. Sci. Instrum. 2016, 87, 076102. [Google Scholar] [CrossRef]
  21. Williams, C.R.; 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]
  22. Wei, W.; Xie, G.; Dang, A.; Guo, H. High-speed and bias-free optical random number generator. IEEE Photonics Technol. Lett. 2011, 24, 437–439. [Google Scholar] [CrossRef]
  23. Qi, B. True randomness from an incoherent source. Rev. Sci. Instrum. 2017, 88, 113101. [Google Scholar] [CrossRef]
  24. Guo, X.; Liu, R.; Li, P.; Cheng, C.; Wu, M.; Guo, Y. Enhancing extractable quantum entropy in vacuum-based quantum random number generator. Entropy 2018, 20, 819. [Google Scholar] [CrossRef]
  25. Gehring, T.; Lupo, C.; Kordts, A.; Solar Nikolic, D.; Jain, N.; Rydberg, T.; Pedersen, T.B.; Pirandola, S.; Andersen, U.L. Homodyne-based quantum random number generator at 2.9 Gbps secure against quantum side-information. Nat. Commun. 2021, 12, 605. [Google Scholar] [CrossRef] [PubMed]
  26. Zheng, Z.; Guo, X.; Lin, F.; Wang, Y.; Wang, Y.; Guo, Y. Parallel CV-QRNG with Strict Entropy Evaluation. Photonics 2023, 10, 786. [Google Scholar] [CrossRef]
  27. Huang, W.; Zhang, Y.; Zheng, Z.; Li, Y.; Xu, B.; Yu, S. Practical security analysis of a continuous-variable quantum random-number generator with a noisy local oscillator. Phys. Rev. A 2020, 102, 012422. [Google Scholar] [CrossRef]
  28. Zhang, J.; Zhang, Y.; Zheng, Z.; Chen, Z.; Xu, B.; Yu, S. Finite-size analysis of continuous variable source-independent quantum random number generation. Quantum Inf. Process. 2021, 20, 1–16. [Google Scholar] [CrossRef]
  29. Xu, B.; Chen, Z.; Li, Z.; Yang, J.; Su, Q.; Huang, W.; Zhang, Y.; Guo, H. High speed continuous variable source-independent quantum random number generation. Quantum Sci. Technol. 2019, 4, 025013. [Google Scholar] [CrossRef]
  30. Marangon, D.G.; Vallone, G.; Villoresi, P. Source-device-independent ultrafast quantum random number generation. Phys. Rev. Lett. 2017, 118, 060503. [Google Scholar] [CrossRef]
  31. Smith, P.R.; Marangon, D.G.; Lucamarini, M.; Yuan, Z.; Shields, A. Simple source device-independent continuous-variable quantum random number generator. Phys. Rev. A 2019, 99, 062326. [Google Scholar] [CrossRef]
  32. Xu, F.; Curty, M.; Qi, B.; Qian, L.; Lo, H.K. Discrete and continuous variables for measurement-device-independent quantum cryptography. Nat. Photonics 2015, 9, 772–773. [Google Scholar] [CrossRef]
  33. Zapatero, V.; van Leent, T.; Arnon-Friedman, R.; Liu, W.Z.; Zhang, Q.; Weinfurter, H.; Curty, M. Advances in device-independent quantum key distribution. Npj Quantum Inf. 2023, 9, 10. [Google Scholar] [CrossRef]
  34. Avesani, M.; Marangon, D.G.; Vallone, G.; Villoresi, P. Source-device-independent heterodyne-based quantum random number generator at 17 Gbps. Nat. Commun. 2018, 9, 5365. [Google Scholar] [CrossRef]
  35. Avesani, M.; Tebyanian, H.; Villoresi, P.; Vallone, G. Semi-device-independent heterodyne-based quantum random-number generator. Phys. Rev. Appl. 2021, 15, 034034. [Google Scholar] [CrossRef]
  36. Cheng, J.; Qin, J.; Liang, S.; Li, J.; Yan, Z.; Jia, X.; Peng, K. Mutually testing source-device-independent quantum random number generator. Photonics Res. 2022, 10, 646–652. [Google Scholar] [CrossRef]
  37. Ma, Y.; Lin, J.; Chen, T.; Xu, C.; Liu, Z.; Jing, J. Entropy evaluation for oscillator-based true random number generators. In Proceedings of the Cryptographic Hardware and Embedded Systems—CHES 2014: 16th International Workshop, Busan, Republic of Korea, 23–26 September 2014; Proceedings 16; Springer: Berlin/Heidelberg, Germany, 2014; pp. 544–561. [Google Scholar]
  38. Kelsey, J.; McKay, K.A.; Sönmez Turan, M. Predictive models for min-entropy estimation. In Proceedings of the Cryptographic Hardware and Embedded Systems—CHES 2015: 17th International Workshop, Saint-Malo, France, 13–16 September 2015; Proceedings 17; Springer: Berlin/Heidelberg, Germany, 2015; pp. 373–392. [Google Scholar]
  39. Truong, N.D.; Haw, J.Y.; Assad, S.M.; Lam, P.K.; Kavehei, O. Machine learning cryptanalysis of a quantum random number generator. IEEE Trans. Inf. Forensics Secur. 2018, 14, 403–414. [Google Scholar] [CrossRef]
  40. Furrer, F.; Berta, M.; Tomamichel, M.; Scholz, V.B.; Christandl, M. Position-momentum uncertainty relations in the presence of quantum memory. J. Math. Phys. 2014, 55. [Google Scholar] [CrossRef]
  41. Vallone, G.; Marangon, D.G.; Tomasin, M.; Villoresi, P. Quantum randomness certified by the uncertainty principle. Phys. Rev. A 2014, 90, 052327. [Google Scholar] [CrossRef]
  42. Gehring, T.; Händchen, V.; Duhme, J.; Furrer, F.; Franz, T.; Pacher, C.; Werner, R.F.; Schnabel, R. Implementation of continuous-variable quantum key distribution with composable and one-sided-device-independent security against coherent attacks. Nat. Commun. 2015, 6, 8795. [Google Scholar] [CrossRef]
  43. Chin, H.M.; Jain, N.; Zibar, D.; Andersen, U.L.; Gehring, T. Machine learning aided carrier recovery in continuous-variable quantum key distribution. Npj Quantum Inf. 2021, 7, 20. [Google Scholar] [CrossRef]
  44. Chin, H.M.; Hajomer, A.A.; Jain, N.; Andersen, U.L.; Gehring, T. Machine learning based joint polarization and phase compensation for CV-QKD. In Proceedings of the Optical Fiber Communication Conference, San Diego, CA, USA, 5–9 March 2023; Optica Publishing Group: Washtington, DC, USA, 2023; p. Th3J-2. [Google Scholar]
  45. Guo, Y.; Hu, Z.; Zhang, J.; Zhu, C.; Guo, X. High-speed photon correlation monitoring of amplified quantum noise by chaos using deep-learning balanced homodyne detection. Appl. Phys. Lett. 2023, 123, 051101. [Google Scholar] [CrossRef]
  46. Lin, F.; Ge, W.; Song, Z.; Cui, X.; Guo, Y.; Guo, X.; Xiao, L. Seed Renewable Parallel and Real-Time Toeplitz Post-Processing for QRNG. J. Light. Technol. 2024, 42, 8606–8615. [Google Scholar] [CrossRef]
  47. 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]
  48. 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]
  49. Guo, X.; Wang, Q.; Luo, Y.; Song, Z.; Li, Z.; Qu, Y.; Guo, Y.; Xiao, L. Real-time entropy source evaluated dual-parallel continuous variable quantum random number generator. Acta Phys. Sin. 2025, 74, 124202. [Google Scholar] [CrossRef]
  50. Guo, X.; Cheng, C.; Wu, M.; Gao, Q.; Li, P.; Guo, Y. Parallel real-time quantum random number generator. Opt. Lett. 2019, 44, 5566–5569. [Google Scholar] [CrossRef]
Figure 1. Schematic illustration of experimental setup. Laser: single-mode laser (LO laser); PMCIR: polarization-maintaining fiber optical circulator; PC: polarization controller; VOA: variable optical attenuator; PBS: polarization beam splitter; QWP: quarter-wave plate; HWP: half-wave plate; BD: balanced detection; LPF: low pass filter; OSC: oscilloscope (data acquisition system).
Figure 1. Schematic illustration of experimental setup. Laser: single-mode laser (LO laser); PMCIR: polarization-maintaining fiber optical circulator; PC: polarization controller; VOA: variable optical attenuator; PBS: polarization beam splitter; QWP: quarter-wave plate; HWP: half-wave plate; BD: balanced detection; LPF: low pass filter; OSC: oscilloscope (data acquisition system).
Entropy 27 00786 g001
Figure 2. (a) Map of Δ H δ as a function of k and l. (b) Entropy deviation versus the degree of imbalance l when the initial LO variance k = 0.5, k = 1.5, k = 2.5, k = 3.5, k = 4.5, respectively.
Figure 2. (a) Map of Δ H δ as a function of k and l. (b) Entropy deviation versus the degree of imbalance l when the initial LO variance k = 0.5, k = 1.5, k = 2.5, k = 3.5, k = 4.5, respectively.
Entropy 27 00786 g002
Figure 3. (a) Overestimated extractable randomness Δ H δ , θ versus imbalance degree l and phase deviation θ . (b) Δ H δ , θ as a function of θ for imbalance degree l = 0.05 , 0.15 , 0.25 , 0.35 , 0.45 , respectively.
Figure 3. (a) Overestimated extractable randomness Δ H δ , θ versus imbalance degree l and phase deviation θ . (b) Δ H δ , θ as a function of θ for imbalance degree l = 0.05 , 0.15 , 0.25 , 0.35 , 0.45 , respectively.
Entropy 27 00786 g003
Figure 4. (a) Map of Δ H n , ε as a function of n and ε . (b) Entropy deviation versus measurement numbers when the security parameters are 10 10 , 10 20 , 10 30 , 10 40 , 10 50 , respectively.
Figure 4. (a) Map of Δ H n , ε as a function of n and ε . (b) Entropy deviation versus measurement numbers when the security parameters are 10 10 , 10 20 , 10 30 , 10 40 , 10 50 , respectively.
Entropy 27 00786 g004
Figure 5. (a) Power spectrum of quantum shot noise when the LO power is 3 mW. (b) Linear dependence of the signal quadrature σ V 2 as a function of the LO power.
Figure 5. (a) Power spectrum of quantum shot noise when the LO power is 3 mW. (b) Linear dependence of the signal quadrature σ V 2 as a function of the LO power.
Entropy 27 00786 g005
Figure 6. (a) Measured Husimi distribution of vacuum state. (b) The projection and marginal distributions of the measured state.
Figure 6. (a) Measured Husimi distribution of vacuum state. (b) The projection and marginal distributions of the measured state.
Entropy 27 00786 g006
Figure 7. (a) Quantum conditional min-entropy versus LO power in the presence of imperfect factors. (b) Comparison of different entropy evaluation methods.
Figure 7. (a) Quantum conditional min-entropy versus LO power in the presence of imperfect factors. (b) Comparison of different entropy evaluation methods.
Entropy 27 00786 g007
Figure 8. For different dataset sizes, mean absolute percentage error (MAPE) of four models.
Figure 8. For different dataset sizes, mean absolute percentage error (MAPE) of four models.
Entropy 27 00786 g008
Figure 9. Scatter plots displaying the real entropy vs. the predicted entropy for the methods. (a) DCNN, (b) BP, (c) SVM, and (d) RF.
Figure 9. Scatter plots displaying the real entropy vs. the predicted entropy for the methods. (a) DCNN, (b) BP, (c) SVM, and (d) RF.
Entropy 27 00786 g009
Figure 10. (a) Estimation accuracy and (b) training loss with epoch number for DCNN and BP deep learning models.
Figure 10. (a) Estimation accuracy and (b) training loss with epoch number for DCNN and BP deep learning models.
Entropy 27 00786 g010
Figure 11. Correlation coefficient ρ x y [ k ] and mutual information I x y [ k ] of (a) Q quadrature, (b) P quadrature, and (c) P and Q quadratures.
Figure 11. Correlation coefficient ρ x y [ k ] and mutual information I x y [ k ] of (a) Q quadrature, (b) P quadrature, and (c) P and Q quadratures.
Entropy 27 00786 g011
Table 1. NIST test results.
Table 1. NIST test results.
Test’s Namep-ValueProportionResult
Frequency0.162610.9876Passed
Block-frequency0.217920.9924Passed
Cumulative-sums0.010460.9843Passed
Runs0.909630.9821Passed
Longest-run0.427350.9894Passed
Rank0.047050.9885Passed
FFT0.14180.9830Passed
Non-Overlapping-Templates0.01150.9820Passed
Overlapping-templates0.221040.9923Passed
Universal0.88680.9998Passed
Approximate-Entropy0.637120.9856Passed
Random-excursions0.291610.9921Passed
Random-excursions-variant0.032630.9877Passed
Serial0.202850.9876Passed
Linear-complexity0.483340.9838Passed
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

Guo, X.; Zhou, W.; Luo, Y.; Meng, X.; Li, J.; Bian, Y.; Guo, Y.; Xiao, L. Deep Learning-Based Min-Entropy-Accelerated Evaluation for High-Speed Quantum Random Number Generation. Entropy 2025, 27, 786. https://doi.org/10.3390/e27080786

AMA Style

Guo X, Zhou W, Luo Y, Meng X, Li J, Bian Y, Guo Y, Xiao L. Deep Learning-Based Min-Entropy-Accelerated Evaluation for High-Speed Quantum Random Number Generation. Entropy. 2025; 27(8):786. https://doi.org/10.3390/e27080786

Chicago/Turabian Style

Guo, Xiaomin, Wenhe Zhou, Yue Luo, Xiangyu Meng, Jiamin Li, Yaoxing Bian, Yanqiang Guo, and Liantuan Xiao. 2025. "Deep Learning-Based Min-Entropy-Accelerated Evaluation for High-Speed Quantum Random Number Generation" Entropy 27, no. 8: 786. https://doi.org/10.3390/e27080786

APA Style

Guo, X., Zhou, W., Luo, Y., Meng, X., Li, J., Bian, Y., Guo, Y., & Xiao, L. (2025). Deep Learning-Based Min-Entropy-Accelerated Evaluation for High-Speed Quantum Random Number Generation. Entropy, 27(8), 786. https://doi.org/10.3390/e27080786

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