Entropy source spectral bandwidth improving method and device of quantum random number generator
By performing spectrum analysis and digital signal processing in the quantum random number generator system, determining the signal-to-noise ratio and cutoff frequency, and generating a digital filter for filtering, the problem of difficulty and high cost in increasing the spectrum bandwidth of the entropy source in the existing technology is solved. Achieved a more efficient random number generation rate.
Patent Information
- Application Number
- CN202410850767.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-20
AI Technical Summary
Existing quantum random number generator systems have problems with hardware design difficulty and high cost in improving the spectrum bandwidth of the entropy source, resulting in a limited random number generation rate.
By using spectrum analysis and digital signal processing technology without changing the hardware of the photodetector device, the spectrum functions of the original random sequence and electrical noise sequence are obtained, the signal-to-noise ratio and cutoff frequency are determined, and a digital filter is generated for low-pass filtering and Inverse filtering, increasing the spectral bandwidth of the original random sequence.
It effectively increases the bandwidth of the original random sequence, thereby increasing the random number generation rate of the quantum random number generator system, reducing system costs, and is suitable for a variety of QRNG schemes.
Smart Images

Figure CN118677540A
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal processing technology, and in particular to a method and device for improving the spectrum bandwidth of an entropy source of a quantum random number generator. Background Art
[0002] Quantum Random Number Generator (QRNG) can generate high-speed, high-quality true random sequences based on the inherent randomness of quantum mechanics theory. It can be widely used in classical cryptographic systems, quantum information systems, information security systems, numerical calculations, statistical sampling and other scenarios to improve the reliability and security of related applications or systems.
[0003] A typical QRNG system has a workflow (such as Figure 1 The method mainly includes four steps: quantum state preparation, quantum state detection, discrete sampling and data post-processing. Specifically:
[0004] Quantum state preparation: generally based on quantum light source and interference optical path (optional) to generate optical quantum noise signal, usually with a large bandwidth (up to THz level);
[0005] Quantum state detection: Generally based on the photoelectric conversion of photon noise signals by photoelectric detection devices, the original random signal containing quantum randomness is output. In general, the bandwidth of the photon noise signal far exceeds the bandwidth of the photoelectric detection device, so it can be equivalently considered that the bandwidth BW of the original random signal is consistent with that of the photoelectric detection device;
[0006] Discrete sampling: Generally, the original random signal is discretized and sampled based on comparators, analog-to-digital converters, etc., and the original random sequence is output. Assuming that the sampling rate of the discrete sampling device is fs and the number of sampling bits is n, the generation rate of the original random sequence is n×fs. It should be noted that in order to avoid oversampling resulting in excessive autocorrelation and decreased randomness of the original random sequence, it is generally necessary to ensure that fs≤BW. Therefore, the generation rate of the original random sequence is limited by the following relationship n×fs≤n×BW;
[0007] Data post-processing: In general, the original random sequence is not an ideal uniformly distributed sequence, and data post-processing is required to extract the randomness contained in it. Specifically, the minimum entropy H of the original random sequence is obtained by entropy evaluation. min , and then use Toeplitz hashing, truncated XOR and other methods to perform random extraction operations on the original random sequence with a compression ratio of R, and output the final random sequence, whose generation rate is S = R × n × fs. It should be noted that according to the security design principle, R ≤ H min / n. Therefore, it can be known that the final random sequence generation rate satisfies the following relationship: S = R × n × fs ≤ Hmin ×BW is to increase the QRNG generation rate. The most direct way is to increase the minimum entropy H of the original random sequence. min Or the original random signal bandwidth BW. Where H min It depends entirely on the statistical distribution characteristics of the original random signal and the performance parameters of the sampling device. Hardware adaptation of the two is required to achieve overall performance optimization, which is costly and has limited room for improvement. Therefore, in actual QRNG systems, high-performance photoelectric detection devices (such as photodetectors PD, balanced homodyne detectors BHD, etc.) are generally used to perform photoelectric conversion detection on wide-spectrum continuous optical quantum noise (such as vacuum fluctuation noise, laser phase noise, amplified spontaneous radiation noise, etc.) to effectively increase the bandwidth BW of the original random signal, thereby significantly improving the QRNG generation rate. In this way, the detection bandwidth of existing QRNG systems can reach the GHz level. However, this method has high requirements on the design level of the photoelectric detection devices and signal conditioning circuits of the QRNG system, and it is difficult to further improve it. For example, although the current InGaAs-based photodetector has a detection bandwidth of up to 10 GHz, the gain-bandwidth product of its back-end signal conditioning circuit is limited. In order to ensure the signal bandwidth, the signal gain can only be reduced, resulting in a reduction in the amplitude of the original random signal, thereby causing H min At the same time, due to the need for a wide-spectrum continuous quantum light source and high-performance photodetection devices, the system cost is relatively high, which is not conducive to its large-scale practical application. Summary of the invention
[0008] The embodiments of the present application provide a method and device for improving the entropy source spectrum bandwidth of a quantum random number generator, which effectively improves the bandwidth of the original random sequence without changing the hardware of the photoelectric detection device, thereby improving the random number generation rate of the QRNG system.
[0009] The embodiment of the present application provides a method for improving the spectrum bandwidth of an entropy source of a quantum random number generator, comprising:
[0010] When the quantum light source of the quantum state preparation module is turned on and off, the spectrum function R of the original random sequence and the electric noise sequence is obtained respectively. s (f) and R e (f) to determine the signal-to-noise ratio SNR of the original random sequence and the electrical noise sequence, and determine the corresponding cutoff frequency f according to the signal-to-noise ratio SNR c ;
[0011] The original random sequence is low-pass filtered to obtain the cutoff frequency f c The signal components in the range and calculate the cut-off frequency f c The spectrum function H(f) of the original random sequence within the range;
[0012] Generate a digital filter g(n) with a specified spectrum response according to the calculated spectrum function H(f);
[0013] Based on the digital filter g(n), the low-pass filtered signal is inversely filtered to increase the cutoff frequency f c The spectral bandwidth of the original random sequence is within the range.
[0014] Optionally, determining a signal-to-noise ratio (SNR) of the original random sequence and the electrical noise sequence includes:
[0015] According to the preset signal ratio SNR, in the spectrum function R s (f) and R e (f) The cut-off frequency f is calibrated on the curve c .
[0016] Optionally, according to the calculated spectrum function H(f), the spectrum response of the generated digital filter g(n) satisfies G(f)=1 / H(f).
[0017] Optionally, also include:
[0018] Performing entropy evaluation on the inverse filtered signal, and determining the data processing compression rate according to the entropy evaluation result;
[0019] According to the determined data processing compression rate, the inverse filtered signal is randomly extracted to obtain a final random sequence.
[0020] The present application also provides a device for improving the spectrum bandwidth of an entropy source of a quantum random number generator, comprising:
[0021] A quantum state preparation module, used to prepare the required quantum state;
[0022] A quantum state detection module, used to obtain the original random signal and the electrical noise signal respectively when its quantum light source is turned on and off;
[0023] A discrete sampling module is used to discretize the original random signal and the electrical noise signal to obtain the original random sequence and the electrical noise sequence respectively;
[0024] The spectrum analysis module is used to perform spectrum analysis on the original random sequence and the electrical noise sequence to obtain the spectrum function R of the original random sequence and the electrical noise sequence. s (f) and R e (f);
[0025] A low-pass filter module is used to determine the signal-to-noise ratio (SNR) of the original random sequence and the electrical noise sequence, and determine the corresponding cutoff frequency f according to the signal-to-noise ratio (SNR). c , and low-pass filter the original random sequence to obtain the cutoff frequency fc Signal components within the range;
[0026] Inverse filtering module, used to calculate the cutoff frequency f c The spectrum function H(f) within the range is calculated, and a digital filter g(n) with a specified spectrum response is generated according to the calculated spectrum function H(f). The signal after the low-pass filtering of the original random sequence is inversely filtered by g(n) to increase the cutoff frequency f. c The spectrum bandwidth of the original random signal within the range;
[0027] The data post-processing module is used to perform entropy evaluation on the signal after inverse filtering, determine the data post-processing compression rate according to the entropy evaluation result, and extract randomness from the signal after inverse filtering to obtain the final random sequence.
[0028] The embodiment of the present application performs spectrum analysis on the original random signal output by the detection and combines it with digital signal processing technology to effectively improve the bandwidth of the original random sequence without changing the hardware of the photoelectric detection device, thereby improving the random number generation rate of the QRNG system.
[0029] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0031] Figure 1 The QRNG system workflow diagram:
[0032] Figure 2 Schematic diagram of the QRNG system detection output signal spectrum;
[0033] Figure 3 The following is a basic flow chart of the method for increasing the spectrum bandwidth of an entropy source according to an embodiment of the present application;
[0034] Figure 4 This is a schematic diagram of the principle of the spectrum bandwidth improvement method based on digital signal processing in an embodiment of the present application;
[0035] Figure 5 The structure of the spectrum bandwidth increasing device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0036] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0037] The spectrum of the detection output signal of a typical QRNG system is as follows: Figure 2 As shown in the figure, when the quantum light source is turned on, the quantum state preparation module outputs a light quantum noise signal, and the quantum state detection module outputs an original random signal; when the quantum light source is turned off, the quantum state preparation module has no light quantum noise signal output, and the quantum state detection module outputs the system background electrical noise signal. Generally speaking, the electrical noise signal is a typical white noise, and its spectrum power value P e Stable; the spectrum of the original random signal is basically determined by the detection module, and its power usually ranges from the highest value P s It gradually decreases, and when it decreases by 3dB, the corresponding frequency is the signal bandwidth BW. In order to improve the entropy source bandwidth of the QRNG system, it is generally necessary to design a higher performance detection module, but this method is difficult to design, costly, and has bottlenecks.
[0038] The present application embodiment provides a method for improving the spectrum bandwidth of the entropy source of a quantum random number generator, such as Figure 3 , Figure 4 As shown, including:
[0039] In step S301, the output signal of the quantum state detection module of the QRNG is discretely sampled and analyzed in the digital domain. When the quantum light source of the quantum state preparation module is turned on and off, for example, the signal can be detected by the quantum state detection module, sampled by the discrete sampling module, and analyzed by the spectrum analysis module in sequence. After the analysis, the spectrum functions R of the original random sequence and the electric noise sequence are obtained respectively. s (f) and R e (f) to determine the signal-to-noise ratio SNR of the original random sequence and the electrical noise sequence, and determine the corresponding cutoff frequency fc according to the signal-to-noise ratio SNR to satisfy R s (f)-R e (f)≥SNR.
[0040] In step S302, the original random sequence is low-pass filtered to obtain the cut-off frequency f c Signal components in the range of 0 to f c The signal components in the range and calculate the cut-off frequency f c The spectrum function H(f) of the original random sequence in the range.
[0041] In step S303, a digital filter g(n) with a specified spectral response is generated according to the calculated spectral function H(f). In some embodiments, the spectral response of the generated digital filter g(n) satisfies G(f)=1 / H(f) according to the calculated spectral function H(f).
[0042] In step S304, the low-pass filtered signal is inversely filtered based on the digital filter g(n) to increase the cutoff frequency f c The spectrum bandwidth of the original random signal in the range. Specifically, according to H(f), a digital filter g(n) is generated whose spectrum response satisfies G(f) = 1 / H(f), and the signal after low-pass filtering is inversely filtered based on g(n) to adjust the spectrum of the original random sequence. Since the spectrum response of g(n) satisfies G(f) = 1 / H(f), the attenuation trend of H(f) can be compensated, so the signal after inverse filtering is between 0 and f. c Spectral function in the frequency range H z (f) In principle, it is very flat, which means that the spectral bandwidth of the original random sequence can be significantly increased.
[0043] The embodiment of the present application performs spectrum analysis on the original random sequence output by the detection and combines it with digital signal processing technology to effectively improve the bandwidth of the original random sequence without changing the hardware of the photoelectric detection device, thereby improving the random number generation rate of the QRNG system.
[0044] In some embodiments, determining a signal-to-noise ratio (SNR) of the original random sequence and the electrical noise sequence comprises:
[0045] According to the preset signal ratio SNR, in the spectrum function R s (f) and R e (f) The cut-off frequency f is calibrated on the curve c , and then low-pass filter the original random sequence to obtain 0~f c Signal components within a frequency range.
[0046] In some embodiments, it also includes:
[0047] Performing entropy evaluation on the inverse filtered signal, and determining the data processing compression rate according to the entropy evaluation result;
[0048] According to the determined data processing compression rate, randomness is extracted from the inverse filtered signal to obtain a final random sequence.
[0049] In view of the problem that the random number generation rate of the existing quantum random number generator system is limited by factors such as the detector bandwidth, this application proposes a method for improving the entropy source spectrum bandwidth suitable for the QRNG system. By discrete sampling and digital domain spectrum analysis and calculation of the original random signal output by the detector device, and combining digital signal processing technology to design the corresponding filter, the original random sequence bandwidth can be effectively improved without changing the hardware of the photoelectric detection device, thereby effectively improving the random number generation rate of the QRNG system. This method can be efficiently and completely integrated in the digital domain, and the specific parameters can be flexibly configured. It is applicable to a variety of different QRNG schemes and has strong practicality and flexibility.
[0050] The present application also provides a device for improving the spectrum bandwidth of an entropy source of a quantum random number generator, comprising:
[0051] A quantum state preparation module, used to prepare the required quantum state;
[0052] A quantum state detection module, used to obtain the original random signal and the electrical noise signal respectively when its quantum light source is turned on and off;
[0053] A discrete sampling module is used to discretize the original random signal and the electrical noise signal to obtain the original random sequence and the electrical noise sequence respectively;
[0054] The spectrum analysis module is used to perform spectrum analysis on the original random sequence and the electrical noise sequence to obtain the spectrum function R of the original random sequence and the electrical noise sequence. s (f) and R e (f);
[0055] A low-pass filter module is used to determine the signal-to-noise ratio (SNR) of the original random sequence and the electrical noise sequence, and determine the corresponding cutoff frequency f according to the signal-to-noise ratio (SNR). c , and low-pass filter the original random sequence to obtain the cutoff frequency f c Signal components within the range;
[0056] Inverse filtering module, used to calculate the cutoff frequency f c The spectrum function H(f) of the original random sequence within the range is calculated, and a digital filter g(n) with a specified spectrum response is generated according to the calculated spectrum function H(f). The signal after the low-pass filtering of the original random sequence is inversely filtered by g(n) to increase the cutoff frequency f c The spectrum bandwidth of the original random signal within the range;
[0057] The data post-processing module is used to perform entropy evaluation on the signal after inverse filtering, determine the data post-processing compression rate according to the entropy evaluation result, and extract randomness from the signal after inverse filtering to obtain the final random sequence.
[0058] The present application also proposes an implementation case of a device for improving the spectrum bandwidth of an entropy source of a quantum random number generator, the structure of which is as follows: Figure 5 As shown, including:
[0059] Step 1: Spectrum measurement and analysis
[0060] (1) Open the quantum state preparation module. At this time, the discretization sampling module outputs the original random sequence D s ;
[0061] (2) Turn off the quantum state preparation module. At this time, the discretization sampling module outputs the electrical noise sequence D e ;
[0062] (3) Spectrum analysis module for D s and D e Perform spectrum analysis (such as FFT transformation, etc.) to obtain the spectrum curves R of the original random sequence and the electrical noise sequence respectively. s (f) and R e (f).
[0063] Step 2: Low-pass filtering
[0064] (1) According to the preset signal ratio SNR, on the spectrum curve R s (f) and R e (f) Upper calibration cutoff frequency f c ;
[0065] (2) Low-pass filter the original random sequence to obtain 0~f c Signal components within a frequency range.
[0066] Step 3: Inverse filtering
[0067] (1) Based on the result after low-pass filtering, calculate the original random signal in the range of 0 to f c Spectrum curve H(f) within the frequency range;
[0068] (2) Generate a digital filter g(n) based on H(f), whose spectrum response satisfies G(f) = 1 / H(f). Then use g(n) to perform inverse filtering on the signal after low-pass filtering of the original random sequence.
[0069] Step 4: Data post-processing
[0070] (1) Perform entropy evaluation on the inverse filtered signal;
[0071] (2) Determine the data post-processing compression rate based on the entropy evaluation results, and extract randomness from the inverse filtered signal to obtain the final random sequence.
[0072] This application can be efficiently and completely integrated in the digital domain, the specific parameters can be flexibly configured, and it can be applied to a variety of different QRNG schemes, with strong practicality and flexibility.
[0073] It should be noted that in the embodiments of the present application, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0074] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0075] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0076] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for improving the spectrum bandwidth of an entropy source of a quantum random number generator, characterized in that: include: When the quantum light source of the quantum state preparation module is turned on and off, the spectrum function R of the original random sequence and the electric noise sequence is obtained respectively. s (f) and R e (f) to determine the signal-to-noise ratio SNR of the original random sequence and the electrical noise sequence, and determine the corresponding cutoff frequency f according to the signal-to-noise ratio SNR c ; The original random sequence is low-pass filtered to obtain the cutoff frequency f c The signal components in the range and calculate the cut-off frequency f c The original random sequence spectrum function H(f) within the range; Generate a digital filter g(n) with a specified spectrum response according to the calculated spectrum function H(f); Based on the digital filter g(n), the low-pass filtered signal is inversely filtered to increase the cutoff frequency f c The spectral bandwidth of the original random sequence is within the range.
2. The method for improving the entropy source spectrum bandwidth of a quantum random number generator as claimed in claim 1, characterized in that: Determining the signal-to-noise ratio (SNR) of the original random sequence and the electrical noise sequence includes: According to the preset signal ratio SNR, in the spectrum function R s (f) and R e The cut-off frequency f is calibrated on the curve (f) c .
3. The method for improving the entropy source spectrum bandwidth of a quantum random number generator as claimed in claim 1, characterized in that: According to the calculated spectrum function H(f), the spectrum response of the generated digital filter g(n) satisfies G(f)=1 / H(f).
4. The method for improving the entropy source spectrum bandwidth of a quantum random number generator as claimed in claim 1, characterized in that: Also includes: Performing entropy evaluation on the inverse filtered signal, and determining the data processing compression rate according to the entropy evaluation result; According to the determined data processing compression rate, the inverse filtered signal is randomly extracted to obtain a final random sequence.
5. A device for improving the spectrum bandwidth of the entropy source of a quantum random number generator, characterized in that: include A quantum state preparation module, used to prepare the required quantum state; A quantum state detection module, used to obtain the original random signal and the electrical noise signal respectively when its quantum light source is turned on and off; A discrete sampling module is used to discretize the original random signal and the electrical noise signal to obtain the original random sequence and the electrical noise sequence respectively; The spectrum analysis module is used to perform spectrum analysis on the original random sequence and the electrical noise sequence to obtain the spectrum function R of the original random sequence and the electrical noise sequence. s (f) and R e (f); A low-pass filter module is used to determine the signal-to-noise ratio (SNR) of the original random sequence and the electrical noise sequence, and determine the corresponding cutoff frequency f according to the signal-to-noise ratio (SNR). c , and low-pass filter the original random sequence to obtain the cutoff frequency f c Signal components within the range; Inverse filtering module, used to calculate the cutoff frequency f c The spectrum function H(f) of the original random sequence within the range is calculated, and a digital filter g(n) with a specified spectrum response is generated according to the calculated spectrum function H(f). The signal after the low-pass filtering of the original random sequence is inversely filtered by g(n) to increase the cutoff frequency f c The spectrum bandwidth of the original random signal within the range; The data post-processing module is used to perform entropy evaluation on the signal after inverse filtering, determine the data post-processing compression rate according to the entropy evaluation result, and extract randomness from the signal after inverse filtering to obtain the final random sequence.
Citation Information
Cited By
High-security quantum random number generator system based on wavelet transform
CN120994162A
A high-security quantum random number generator system based on wavelet transform
CN120994162B
