Compact digital system for generating random numbers
By comparing the electrical signals generated by two optical signals, the hardware components are simplified, the problems of uniform distribution and complexity of existing random number generators are solved, and high-frequency and low-cost random number generation is achieved.
Patent Information
- Application Number
- CN202080031117.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-26
- Filing Date
- 2020-04-27
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-04-27
AI Technical Summary
Existing random number generators are deficient in generating uniform distributions and have high complexity, resulting in low generation frequency and increased cost.
An electrical signal generated by two optical signals and a corresponding photodetector is used for comparison, and a comparator is used to provide random numbers, simplifying hardware components, reducing noise, and achieving high-frequency random number generation.
It improves the uniformity and generation frequency of random numbers, reduces system complexity and cost, and achieves high-quality random number generation.
Smart Images

Figure CN113826069B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a system for generating random numbers according to the preamble of claim 1 and to a method for generating random numbers according to the preamble of claim 10 . Background Art
[0002] From the prior art, various systems for generating random numbers are known. In principle, these systems can be divided into two different technical approaches.
[0003] The first technical approach uses a complex algorithm and an initial condition, also called a seed (such as a date), in order to calculate a pseudo-random number that preferably has the most uniform distribution over a certain interval (usually 0 to 1).
[0004] While these systems only require computers to generate random numbers, they suffer from the problem of using a specific algorithm that results in a completely predictable sequence of random numbers even when showing good statistical results. In addition to being predictable, pseudo-random number generators also show a finite length, i.e. after a given number of generated bits, they start repeating the same sequence again.
[0005] On the other hand, other approaches use physical systems with random properties from which random numbers are extracted. For example, some approaches use a reference signal, such as generated by a DC power supply that emits a specific voltage, and a laser system that causes a specific voltage signal at a photodiode. The electrical signals of the reference source and the photodiode can then be compared, and if the signal generated by the photodiode is greater than that of the reference signal, the value can be set to 1, and in any other case, the value is 0.
[0006] A specific subset of physical random number generators is based on measuring quantum systems. In this way, randomness is generated directly by sampling the dynamic properties of quantum processes, which under the right conditions enables the generation of completely unpredictable random numbers. As an example, phase diffusion processes in pulsed semiconductor lasers can generate random numbers from the quantum mechanical process of spontaneous emission.
[0007] Although in theory the numbers created are actually perfectly random numbers (i.e. it is completely unpredictable whether the value obtained under a particular measurement is 1 or 0), real physical systems suffer from problems like small fluctuations in reference signals or temperature and many other practical imperfections. This can lead to a shift in the probability distribution, so that perfect random numbers cannot be generated. Eliminating these problems usually requires considerable effort and therefore also leads to larger systems and lower random number generation frequency and increased costs.
[0008] In "Generation of fresh and pure random numbers for loophole-free Bell tests" by Carlos Abellan et al., a method for extracting randomness from spontaneous emission events less than 36 ns in the past is presented, giving a probability distribution with a probability of less than 10 -5 The over-predictability and strength of randomness of the output bits are guaranteed. This randomness strategy meets the stringent requirement for unpredictable basis selection in the current "no-loophole Bell test" of local authenticity.
[0009] In addition, a report of a 12.5 Gb / s physical random number generator (RNG) is provided by Caitlin RS Williams et al. "Fast physical random number generator using amplified spontaneous emission", which uses high-speed threshold detection of spectrally segmented incoherent light generated by a fiber amplifier. The system generates a large-amplitude, easily measured fluctuation signal with a bandwidth constrained only by the optical filters and electrical detectors used. The underlying physical process (spontaneous emission) is quantum mechanical in nature and therefore cannot be described deterministically. Unlike competing optical RNG methods that require photon counting electronics, chaotic laser cavities, or prior art analog-to-digital converters, this system uses only commonly available telecommunications-grade optical fiber components and can be scaled to higher speeds or multiplexed into parallel channels. Industry standard statistical tests are used to verify the quality of the resulting random bit stream.
[0010] In addition, a real-time self-balanced photonic method for extracting ultrafast random numbers from a broadband random source is proposed in “Self-balanced real-time photonic scheme for ultrafast random number generation” by PuLi et al. Instead of an electronic analog-to-digital converter (ADC), balanced photodetection technology is used to directly quantize optically sampled chaotic pulses into a continuous stream of random numbers. Benefiting from ultrafast photodetection, this method can effectively eliminate the generation rate bottleneck of the electronic ADC required in almost all available fast physical random number generators. Proof-of-principle experiments have demonstrated that using our approach, real-time and statistically unbiased random numbers of 10 Gb / s were successfully extracted from a bandwidth-enhanced chaotic source. Here, the experimentally obtained generation rate is limited by the bandwidth of the chaotic source. The method has the potential to reach a real-time rate of 100 Gb / s.
[0011] In addition, "Fast physical random bit generation with chaotic semiconductor lasers" by Atsushi Uchida et al. discusses how to use physical chaos in semiconductor lasers to generate high-quality random bit sequences at very fast bit rates. By sampling the wave optical output of two chaotic lasers, bit streams that pass standard statistical tests for randomness have been generated at rates up to 1.7 Gbps.
[0012] In addition, “A robust random number generator based on differential comparison of chaotic laser signals” by Jianzhong Zhang et al. shows a robust real-time random number generator by using a 1-bit analog-to-digital converter to perform differential comparison of a signal from a chaotic semiconductor laser and its delayed signal. The probability density distribution of the output chaotic signal based on the differential comparison method has an extremely small Pearson median skewness coefficient (1.5×10 -6 ), which makes it very easy to generate balanced random sequences compared to previously reported methods that compare the signal from a chaotic laser with a specific threshold. In addition, the experiment proved that this method can stably generate good random numbers at a rate of 1.44Gbit / s and has excellent immunity to external interference. Summary of the invention
[0013] Purpose
[0014] Starting from the known prior art, the object of the present invention is to provide a system and a method for generating random numbers which generate improved results with respect to a uniform distribution of random numbers over a selected interval, while at the same time reducing the complexity of the random number generator.
[0015] Solution
[0016] This problem is solved by a system for generating random numbers according to independent claim 1 and a method for generating random numbers according to claim 10. Preferred further embodiments are cited in the independent claims.
[0017] According to the present invention, a system for generating random numbers is provided, the system comprising: an optical component adapted to generate two optical signals; and two photodetectors connected to the optical component, wherein the first photodetector is adapted to receive the first optical signal and generate a first electrical signal based on the first optical signal, and the second photodetector is adapted to receive the second optical signal and generate a second electrical signal based on the second optical signal, wherein the optical component is adapted to generate first and second optical signals that randomly result in first and second electrical signals, wherein the first and second electrical signals are equal or one electrical signal is greater than the other electrical signal, and the system is characterized in that the photodetector is adapted to transmit the first and second electrical signals to a comparator, wherein the comparator is adapted to provide an output based on a comparison of the first and second electrical signals, thereby providing a random number.
[0018] For the present invention, as further described in the specification, an optical component adapted to generate at least two optical signals preferably refers to a system that produces optical signals having a specific phase relationship between them.
[0019] Note that, according to the present invention, the comparator is intended to provide an output by using the first and second electrical signals generated by the photodetector. Therefore, in a preferred embodiment, there is no intermediate hardware or processing component between the photodetector and the comparator that actively changes the first and second electrical signals or generates an intermediate signal to be provided to the comparator. The comparator can be any hardware component adapted to perform this operation. In particular, it can be any analog-to-digital converter, and in particular, a limiting amplifier can be used. In addition, a multi-bit analog-to-digital converter can be used. The converter uses not only two incident signals (e.g., one signal of the first photodetector and one signal of the second photodetector), but also a series of such signals to generate a multi-bit output. Therefore, the term comparator will be regarded as any hardware component adapted to provide an output signal based on a comparison of the first and second electrical signals, wherein the output is preferably a clear output. In this case, a clear output means that for the same result of the comparison, the output is the same.
[0020] The discovery of the present invention is that this arrangement according to the present invention shows an increased uniformity of the probability distribution of obtaining a value 1 or a value 0 by the comparator, while also achieving a high frequency of random number generation. This is a special case because the only components used to convert the optical interference signal into a random number are (photodetectors and) comparators, thereby eliminating the need for subtractors and other hardware components that usually have only a relatively small signal processing frequency and / or introduce noise and defects, thereby reducing the unpredictability of the generated random bits. This is usually the case with homodyne detection schemes in quantum optics, where two orthogonal phases of the light field are first subtracted and then sent to a digitizer. With the present invention, the process can be simplified by sending the signal directly to a differential digitization scheme. This reduces the number and noise of the required hardware components, and therefore also reduces size, cost, and improves the quality of the digital processing. In randomness generation, this solves the key limitation of obtaining high-quality and highly integrated systems.
[0021] According to another embodiment, the optical components of the system include two laser sources, an interferometer arranged and adapted relative to the laser sources to achieve interference between laser light emitted from the first laser source (also referred to as a first laser beam) and laser light emitted from the second laser source (also referred to as a second laser beam), wherein the relative phase of the laser light emitted from the first laser source and the laser light emitted from the second laser source is random, wherein the interferometer, which can be constructed, for example, using a multi-mode interferometer (MMI), is adapted to generate at least two interference beams, wherein the interferometer can be further adapted to apply a phase shift to at least one of the interference beams, and the interferometer is adapted to transmit the first interference beam to a first photodetector to generate a first electrical signal and transmit the second interference beam to a second photodetector to generate a second electrical signal. Note that due to energy conservation, the two output interference beams show a specific phase relationship. For example, in the case of two output interference signals, the two outputs will show a phase relationship of 90°, i.e., when the interference is constructive in one interference beam, it must be destructive in the other.
[0022] Note that this embodiment covers the case where exactly one interference beam is provided to exactly one photodetector, i.e., the first interference beam is transmitted only to the first photodetector, and the second interference beam is transmitted only to the second photodetector. This embodiment also covers the case where two interference beams are provided to two photodetectors.
[0023] Applying a phase shift to at least one of the interfering beams also encompasses the case where a phase shift is applied to each of the interfering beams. In this case, preferably, the phase shift applied to the first interfering beam is different from the phase shift applied to the second interfering beam.
[0024] When referring to applying a phase shift to an interference beam, this not only covers the case where the phase of the interference beam (including the laser light of the first laser source and the laser light of the second laser source in the interference) is changed. It is also intended to cover the case where the phase of only one of the laser light constituting the interference beam is changed. For example, within the interferometer and before generating at least one of the interference beams, a phase shift may be applied to at least one of the laser light of the first laser source and the laser light of the second laser source. Applying a (desired additional) phase shift to the interference beam can be achieved by positioning, for example, a known lambda plate in the path of the interference beam.
[0025] The phase shifts mentioned are not necessarily further specified. In practice, the phase shift may be of any (fixed and predetermined) value. Although a specific phase shift of π may be preferred, any other phase shift is conceivable. For example, the phase shift of an interfering beam may be 3 / 4π. In one embodiment, the interferometer is a Michelson-Morley-interferometer or a Mach-Zehnder-interferometer having two optical output ports, wherein a first optical output port is connected to a first photodetector and a second optical output port is connected to a second photodetector.
[0026] It is contemplated that the Michelson-Morelli interferometer includes two input ports, one for a first laser source and one for a second laser source, wherein the beams are provided to the semi-transparent mirror, preferably with an incident angle of 90°. Thus, the two laser beams, namely the first laser beam (laser emitted from the first laser source) and the second laser beam (laser emitted from the second laser source) are split into one beam transmitted through the semi-transparent mirror and one beam only reflected. The reflected beam will experience a phase shift of π (i.e., 180°), while the transmitted beam will not experience a phase shift of π (i.e., 180°).
[0027] Using such an interferometer allows for a compact design while achieving high physical stability in the generated interference beam.
[0028] In another embodiment, the interferometer is a Mach-Zehnder interferometer and a laser source is used. The signal generated by the laser is sent to the input of the Mach-Zehnder interferometer, which includes a first beam splitter, preferably with a 50 / 50 splitting ratio, which generates two beams, which are connected to a second beam splitter, preferably with a 50 / 50 splitting ratio, via two different optical paths, one of which is longer than the other, thereby introducing a delay between the two beams. Thus, the second beam splitter performs interference between the two beams, one beam being a self-delayed version of the other beam.
[0029] In another embodiment, the laser source is a laser diode. Laser diodes can be significantly miniaturized and require only a small amount of energy. In addition, when one of the laser sources is driven in a pulsed mode, they show favorable pulse characteristics.
[0030] In another embodiment, the first laser source and the second laser source are connected to a multi-mode interferometer, which is preferably configured to generate two output interference beams.
[0031] In another embodiment, the interferometer is configured in a 90° hybrid configuration, thereby providing 4 optical output interference beams with phase relationships of 0°, 90°, 180° and 270°. The output of each interference beam is sent to four independent photodetectors. The electrical signals corresponding to the beams with 0° and 180° phase relationships are sent to two input ports of a comparator, while the beams corresponding to 90° and 270° are sent to another comparator. In this embodiment, two orthogonal electromagnetic fields are used, thereby doubling the random number generation capability.
[0032] In another embodiment, the first laser source is adapted to be driven in constant wave mode and the second laser source is adapted to be driven in pulsed mode; or the first laser source and the second laser source are adapted to be driven in pulsed mode; or the first laser source and the second laser source are adapted to be driven in continuous wave mode; or only one laser source is driven in continuous wave mode while the other input port remains open.
[0033] According to the present invention, constant wave mode means that the first laser source is driven at least at a pulse repetition rate f of the laser source driven in pulse mode. -1 (Inverse of pulse repetition rate) greater than 10 5 The laser beam is constantly and continuously emitted in a time period of times. According to the invention, the pulse mode means that the second laser source periodically emits (short) laser pulses with a pulse repetition rate f, where f is the pulse repetition rate indicating the number of consecutive pulses per second. This embodiment allows the creation of random numbers at a high frequency while providing a physically stable system.
[0034] In a more specific implementation of this embodiment, the second laser source (or any of the laser sources intended to be driven in pulsed mode) is adapted to be driven in a power region ranging from a value below the lasering threshold to the lasering threshold. This means that when no pulses are emitted, the laser source is driven at a power below the lasering threshold, thereby reducing the stress on the laser source. For example, the power may be 70% or may be less than 60%, such as 20% or even 0%. The second laser source (or any laser source to be driven in pulsed mode) may also be driven with reverse power (i.e., reverse power).
[0035] In addition, the pulse repetition rate at which the second laser source (or any of the laser sources intended to be driven in pulsed mode) reaches the laser generation threshold may be greater than 100 MHz, or greater than 500 MHz, or greater than 1 GHz. It may also be less than 100 MHz. Using these embodiments, a large number of random numbers can be generated.
[0036] It can also be provided that the laser source is connected to the interferometer via a separate waveguide and / or the interferometer can be connected to each photodetector via a separate waveguide. Such a waveguide can reduce environmental influences on the generated signal, thereby stabilizing the generation of random numbers even when environmental conditions change.
[0037] In another embodiment, a temperature control system for temperature control of the laser source may be provided, the temperature control system being adapted to independently adjust the temperature of the first laser source and the second laser source. Thus, temperature changes may be controlled and reduced, which may result in changes in the laser generation characteristics of the first and / or second laser source.
[0038] The method for generating random numbers according to the present invention uses a system, which includes an optical component, two photodetectors connected to the optical component and a comparator connected to the photodetectors. The method includes: generating two optical signals by the optical component and transmitting the first optical signal to the first photodetector and the second optical signal to the second photodetector, generating a first electrical signal based on the first optical signal by the first photodetector, and generating a second electrical signal based on the second optical signal by the second photodetector, wherein the first and second optical signals randomly generate first and second electrical signals, wherein the first and second electrical signals are equal or one electrical signal is greater than the other electrical signal, and the method is characterized in that the first electrical signal and the second electrical signal are transmitted to the comparator, and the first and second electrical signals are compared by the comparator, and the comparator provides an output based on the comparison of the first and second electrical signals, thereby providing a random number.
[0039] Thus, true random numbers can be generated at high frequencies using a stable and simple digitization scheme.
[0040] In another embodiment, the optical component includes two laser sources and an interferometer, and wherein generating the first and second optical signals includes emitting a laser by each of the laser sources into the interferometer, wherein the relative phases of the laser emitted by the first laser source and the laser emitted by the second laser source are random, two interference beams are generated by the interferometer, and the interferometer transmits the first interference beam to a first photodetector to generate a first electrical signal and transmits the second interference beam to a second photodetector to generate a second electrical signal.
[0041] The method achieves an improvement in the uniformity of the probability distribution of the values 0 and 1 obtained as output from the comparator, while also resulting in a high frequency of random number generation and a simplified digitization circuit.
[0042] In one embodiment, the output of the comparator is 1 if the first signal is greater than the second signal, and in any other case, the output of the comparator is 0. The "magnitude" of the signal may be the voltage or current of the first and second electrical signals. The term "magnitude" may refer to a physical value, such as the amplitude of a signal, a voltage or current associated with a signal, etc.
[0043] The phase relationship of the first and second laser beams can be governed by the laws of quantum physics. The phase of the laser beam follows the spontaneous emission, which eventually causes the laser to start lasing. However, this spontaneous emission, and in particular its phase, cannot be predicted, and the probability of obtaining a specific phase from all possible phases for the laser to start lasing is the same for all potential phases. This results in a completely random relative phase of the first and second laser beams. Therefore, some of the generated signals will show that the first electrical signal is greater than the second electrical signal, while some will show the opposite, resulting in a uniform probability distribution. Note that perfect randomness of the phase can only be achieved when the laser undergoes a sufficiently large phase diffusion. This can be achieved for pulsed lasers with a laser generation off time below 100ps. In other cases, the probability distribution of the phase generally follows a Gaussian distribution.
[0044] In one embodiment, the first laser source is driven in constant wave mode and the second laser source is driven in pulse mode; or the first and second laser sources are driven in pulse mode; or both laser sources are driven in constant wave mode; or one laser is driven in constant wave mode and the other is completely turned off.
[0045] In a more specific implementation of this embodiment, the second laser source (or any laser source in the laser source intended to be driven in pulse mode) is periodically driven in a power region ranging from a value below the laser generation threshold to the laser generation threshold, wherein the second laser source periodically reaches the laser generation threshold. Reaching the laser generation threshold will cause the second laser source to emit laser pulses with an arbitrary phase relative to the phase of the laser beam emitted by the first laser source, thereby allowing the generation of random numbers. By using this power region, the physical stress on the second laser source can be reduced while the pulse generation regions are separated from each other by the phase in which the second laser source does not generate pulses, thereby reducing the noise in the generated signal. For example, the power can be 70% or can be less than 60%, such as 20% or even 0%. The second laser source (or any laser source to be driven in pulse mode) can also be driven with reverse power (i.e., reverse power supply). By these measures, spontaneous but unintended laser generation of the second laser source (or any one of the laser sources intended to be driven in pulse mode) can be effectively avoided, thereby reducing the noise in the signal generation.
[0046] It can also be provided that the pulse repetition rate of the second laser source reaching the laser generation threshold is greater than 100 MHz, or greater than 500 MHz, or greater than 1 GHz. It can also be less than 100 MHz. According to the selected pulse repetition rate, a large number of random numbers can be generated.
[0047] In another embodiment, the temperature regulating system independently regulates the temperature of the first laser source and the second laser source. Thus, changing environmental conditions that affect the temperature of one of the laser sources can be eliminated to physically stabilize the system.
[0048] In a more specific embodiment, the temperature adjustment system adjusts the temperature so that the difference between the temperature of the first laser source and the temperature of the second laser source is less than 0.1 K. Therefore, the negative impact on the generated laser beam due to the changing temperature of the laser source can be suppressed, thereby reducing unexpected noise in the generated signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A system for generating random numbers according to one embodiment is shown.
[0050] Figure 2a and Figure 2b An embodiment of two interferometers is shown.
[0051] Figure 3 A system for generating random numbers according to another embodiment is shown. DETAILED DESCRIPTION
[0052] Figure 1 A system 100 for generating random numbers is shown.
[0053] The system 100 may have macroscopic dimensions, ie having dimensions larger than 1 cm or several centimeters, but it may also be implemented as a system-on-a-chip having only microscopic dimensions, ie less than 1 cm, preferably less than 0.5 cm.
[0054] In a preferred embodiment, the system 100 is provided on an integrated chip, which may for example be included in a smartphone and has a size of preferably less than 1 cm.
[0055] although Figure 1Specific embodiments of the system of the present invention are described in , but the general concept of the present invention relates to a system and method for generating random numbers, wherein the system includes an optical component adapted to generate two optical signals and two photodetectors connected to the optical component, wherein the first photodetector is adapted to receive the first optical signal and generate a first electrical signal based on the first optical signal, and the second photodetector is adapted to receive the second optical signal and generate a second electrical signal based on the second optical signal, wherein the optical component is adapted to generate first and second optical signals that randomly result in first and second electrical signals, wherein the first and second electrical signals are equal or one electrical signal is greater than the other electrical signal. According to the present invention, the photodetector is adapted to transmit the first and second electrical signals to a comparator, wherein the comparator is adapted to provide an output based on a comparison of the first and second electrical signals, thereby providing a random number.
[0056] exist Figure 1 , the optical component (101) may be considered to include all elements 111, 112 and 120, and the optical signals generated by the optical component may be signals 161 and 162 as explained below.
[0057] Although the examples provided in the following figures focus on implementations using a laser source and an interferometer to generate an optical signal that is ultimately detected by a photodetector, the present invention includes any other optical system that can generate two optical signals having random properties relative to each other that can be detected by a photodetector and converted into electrical signals for comparison by a comparator.
[0058] The exemplary system 100 includes two laser sources, a first laser source 111 and a second laser source 112. The laser sources are preferably adapted to transmit a first laser beam (also referred to as a first laser light emitted by the first laser source) 151 and a second laser beam (also referred to as a second laser light emitted by the second laser source) 152 having similar, preferably identical frequencies (for the first and second laser sources, respectively). However, due to the laws of quantum physics, the phase of the first laser beam The phase of the second laser beam Although reference is made to a laser "beam", at least one of the first and second laser sources may be adapted to generate and emit laser pulses (also encompassed by the term "laser").
[0059] Then, both the first laser beam and the second laser beam are introduced into an interferometer (such as a Michelson-Morelli interferometer or a Mach-Zehnder interferometer) 120. The interferometer is adapted to generate a first interference beam 161 from the first and second laser beams. As another preferred embodiment, the interferometer can be a multimode interferometer.
[0060] Furthermore, the interferometer is adapted to generate a second interference beam. This interference beam 162 is derived from the first laser beam and the second laser beam.
[0061] According to a preferred embodiment, the interferometer is adapted to interfere the two input beams to the two output ports with a 50 / 50 power balance, thereby generating complementary signals (i.e., the signals in the two output ports have an offset of, for example, 180° or 90°, thereby conserving energy). When the signal from the two laser beams interferes at the output ports, it generates an interference pattern depending on the phase of each laser beam.
[0062] The system further comprises two photodetectors 131 and 132. These are arranged so that a first interference beam 161 generated by the interferometer can be transmitted to the first photodetector 131, and a second interference beam 162 generated by the interferometer can be transmitted to the second photodetector 132. The photodetectors can be of any design. For example, they can be implemented as photomultipliers or as known photodiodes. In addition, CCD sensors can be used. Preferably, photodetectors with high detection frequencies are used, i.e. allowing detection of events at frequencies of several 100 MHz (preferably up to 1 or 2 GHz).
[0063] The photodetectors create a first electrical signal 171 (via the first photodetector 131) and a second electrical signal 172 (via the second photodetector 132) from the first and second interfering light beams. Both signals are provided to the comparator 140. This can be facilitated, for example, by transmitting the signals from the photodetectors 131 and 132 to the comparator via electrical conductors such as wires or waveguides in the case of an integrated circuit.
[0064] The electrical signal may show different voltages or currents depending on the first and second interfering beams.
[0065] The comparator works in its ordinary sense, i.e. provides an output of 1 if the first electrical signal (i.e., e.g., its voltage) is greater than the second electrical signal (i.e., e.g., its voltage), and in any other case provides an output of 0. The comparator may also be implemented, for example, as a limiting amplifier or any other hardware component or software component adapted to provide the above-mentioned output based on the optical signal and the corresponding comparison.
[0066] Due to the random relative phase of the first laser beam and the second laser beam with respect to each other, it is not possible to predict what the output of the comparator will be, i.e. whether it will be 1 or 0. According to the present invention, this can be used to generate a large number of random numbers. To this end, in one embodiment, one of the laser sources, for example the first laser source 111, is driven in a constant wave mode as a "reference signal". The constant wave mode here means that the first laser source continuously emits the first laser beam 151 for at least a period of time. If the environmental conditions of the first laser source can be adjusted to be perfectly constant, then the reference signal is constant over a long period of time, thereby reducing any unexpected noise in the reference signal and any unexpected effects on the generated interference beam.
[0067] According to this embodiment, the second laser source 112 can be driven in a pulsed mode, i.e., can be provided to periodically transmit laser pulses. To achieve this, the second laser source can be driven at a power close to the laser generation threshold. The laser generation threshold is the power that must be introduced into the second laser source to achieve laser generation. When a laser diode is used as the second laser source (and possibly as the first laser source), pulse repetition rates (measured in pulses per second) ranging from a few MHz to even GHz can be obtained. The pulse repetition rate is independent of the frequency of the generated laser pulses, but is related to the number of pulses generated per second. Let the pulse repetition rate be f, then preferably, the time t for which the first laser source continuously emits the first laser beam is at least t=10 5 f -1 , more preferably t=10 10 f -1 , in order to have a reference signal that is constant over a large number of pulses generated by the second laser source.
[0068] Note that instead of driving one of the laser sources in constant wave mode, an embodiment is also contemplated in which both laser sources are driven in pulsed mode. In this case, instead of using the continuously emitted laser beam of one of the laser sources as a "reference" signal, only the pulses obtained are compared with each other, thereby achieving results corresponding to those explained above for the case in which one of the laser sources is driven in constant wave mode and the other laser source is driven in pulsed mode.
[0069] Since the phase of each of these generated pulses is completely random relative to the continuous laser beam generated by the first laser source, it is not possible to predict how the interfering beams will look. However, it is clear that they will create interference signals between (and including) complete discrimination and full amplification. Since the interfering beams (or at least one of them) undergo a phase shift relative to each other, the signals obtained by the photodetector will be different from each other unless the first and second laser beams result in complete discrimination or complete amplification.
[0070] In any case, the first and second interfering beams will be equal to each other, or one will result in a signal (e.g., voltage) at the photodetector that is greater than the other. This allows the comparator to generate a clear output signal of either 0 or 1, although this output signal cannot be predicted and is therefore completely random.
[0071] The output provided by the comparator is first a series of numbers (i.e. one or more 0s and 1s), which depends on the actual phase relationship of the first laser beam and the second laser beam. This series of numbers can then be used as a random number, for example by using the sequence of 0s and 1s as the random number itself (for example, after each millionth pulse, the series is aborted and used as a random number, and the consecutive numbers obtained are used as the next random number). Furthermore, it can also be provided that the number of numbers used to calculate a real number, such as an integer, will also be completely arbitrary and can therefore be used as a random number.
[0072] There is no restriction on how the numbers are actually provided or used as random numbers. Among their potential applications, they can be used, for example, to encrypt sensitive data, and in particular sensitive data that is transmitted from a first computing entity (such as a smartphone) to a second computing entity (such as a login server) in order to log into a service (such as an online banking account). In addition, the generated random numbers can be used to encrypt communications such as emails or instant messages transmitted between entities such as two smartphones or multiple smartphones. In the last case where random numbers are used to encrypt communications between smartphones or other small computers, it is preferred that the system for generating random numbers is provided in the corresponding computing system (smartphone, etc.) itself. Therefore, it is preferred that, in this case, the system is as small as possible.
[0073] Although in principle the first and second laser sources may be laser sources emitting laser beams of any frequency from infrared to optical to even ultraviolet signals, it is preferred that the laser sources are selected from laser sources having a wavelength that is much smaller than the size of the system for generating random numbers in order to avoid undesired noise due to refraction or other optical interferences. In particular, the first and second laser sources transmit a laser beam having a wavelength of 10 of the minimum correlation length of the optical components of the system for generating random numbers. -2 times or even more preferably 10 -5 The optical components are all components that have an effect on the laser beams transmitted by the first laser source 111 and the second laser source 112. For example, this refers to the waveguide for transmitting the first and second laser beams to the interferometer, any physical components within the interferometer, such as the incident arm and the transmission arm, and the waveguide for transmitting the first and second interference signals to the first and second photodetectors.
[0074] In view of this, it is preferred that the laser source can transmit light in the range of about 100nm or ultraviolet light. The preferred wavelength may be between 1300 and 1600nm. Most preferably, the wavelength is 1330nm or 1550nm.
[0075] When the system 100 is provided on an integrated chip, all of the above components are provided on the integrated chip. Other components, such as a frequency generator that causes pulsed laser generation of the second laser source, may also be provided on the chip, or such additional components may be provided as separate hardware.
[0076] Reference now Figure 2a and 2b , described according to Figure 1 More specific implementations of the general embodiments of . In these embodiments, a specific implementation of an interferometer is selected.
[0077] exist Figure 2a In the case of , the interferometer is a Mach-Zehnder interferometer 120. The interferometer includes at least one input port through which the laser beams 151 and 152 generated by the first and second laser sources are introduced. The interferometer 120 also includes two mirrors 251 and 252 and two semi-transparent mirrors 250 and 253. In addition, a phase shift component 254 (such as a λ / 4 (quarter wavelength) or λ / 2 (half-wave) plate) is provided between the mirror 252 and the semi-transparent mirror 253. On the contrary, it can also be arranged between the semi-transparent mirror 250 and the mirror 251. Other embodiments are also possible. In any case, the interferometer includes at least one phase shift component 254, through which one of the interference light beams travels, while the other does not pass through the phase shift component.
[0078] The incident laser beams 151 and 152 hit the semi-transparent mirror 250. Here, two (intermediate) interference beams are created from the first and second laser beams, a first interference beam 161 and a second interference beam 162. The first interference beam 161 travels from the semi-transparent mirror 250 to the mirror 251 and further to the semi-transparent mirror 253. The second interference beam travels from the semi-transparent mirror 250 to the mirror 252 and is reflected in the direction of the phase shift component 254. In the phase shift component, the phase of the interference beam 162 undergoes a clear phase shift, for example π, corresponding to λ / 2. Any other value of the phase shift can be considered. However, the phase shift is different from 2nπ, where n is an integer.
[0079] After that, the interference beam travels to the semi-transparent mirror 253. Here, the first intermediate interference beam 161 and the second intermediate interference beam 162 generate a first interference beam 181 and a second interference beam 182. The first interference beam travels to the first photodetector 131, resulting in the generation of a first electrical signal. The second interference beam 182 travels to the second photodetector, resulting in a second electrical signal.
[0080] The light beams (including all interfering light beams and the incident laser beam) may be propagated through a suitable waveguide, such as glass fiber or other waveguide suitable for the respective wavelength used.
[0081] exist Figure 2a In the embodiment described in , it is the interference beam of the (intermediate) interference beam that undergoes phase shift in the phase shifting element 254. Figure 2b In this case, it is the one of the incident laser beams that experiences a phase shift.
[0082] exist Figure 2b In the case of , the interferometer 120 is implemented as a Michelson-Morelli interferometer including a semi-transparent mirror 121. The first laser source 111 is arranged to have a phase The first laser beam 151 is transmitted to the first side of the reflector 121. The first laser beam can be input into the interferometer via an (optical) input port not further shown. The second laser source 112 is arranged to transmit a phase The second laser beam 152 is transmitted to the opposite side of the semi-transparent mirror, for example by introducing it into an interferometer through an (optical) input port, which is also not further shown. By using a semi-transparent mirror, the laser beam will be divided into a part reflected by the mirror 221 and a part transmitted through the mirror. The laser beams reflected at the surface of the mirror 221 will experience a phase shift of π, while those laser beams transmitted through the mirror will not experience such a phase shift.
[0083] The chosen arrangement results in interfering beams 161 and 162, where for the first interfering beam the phase of the first laser beam is is offset by π, thus having a phase For the second interference beam, the phase of the second laser beam 152 undergoes a shift of π, and thus has a phase of In the propagation direction of the first and second interference light beams, respectively, a first light detector 131 and a second light detector 132 are arranged to receive the first and second interference light beams.The interference light beams may leave the interferometer via suitable (optical) output ports, not further shown.
[0084] The Michelson-Morelli interferometer 120 can be implemented by a (optical) waveguide connected to the first and second laser sources, respectively, for coupling in the first and second laser beams into the interferometer through the input port. The waveguide can have the same length and can input the first and second laser beams to the mirror 221, respectively. Additionally or alternatively, a waveguide can be provided for receiving the interference beams 161 and 162 and guiding the interference beams to the photodetectors 131 and 132. These can be connected to or constitute the output port.
[0085] However, in case the system is miniaturized to dimensions much smaller than 1 cm, those waveguides may not be formed of, for example, glass fibers, but may simply be waveguides through which electromagnetic waves can travel indiscriminately or at least have a damping length that is greater than the distance between the reflector and the photodetector (and / or laser source) or at least greater than 0.5 times the distance between the reflector 221 and the photodetector (and / or laser source), respectively.
[0086] Thereby, it can be ensured that the interfering light beams incident on the photodetectors 131 and 132 respectively still have sufficient signal strength to enable the photodetectors to generate clearly detectable signals that are higher than the noise of the photodetectors themselves and any other noise of the system (such as thermal noise, etc.).
[0087] Although only two specific implementations of interferometers as optical components are described above, it should be noted that these implementations are not limiting of the present invention, and other optical components that generate two optical signals for the optical detectors may be employed. However, among those interferometers described, a Mach-Zehnder interferometer may be preferred.
[0088] Another preferred implementation of the interferometer is a multimode interferometer. Such multimode interferometers and their function are known to those skilled in the art. For the case where the interfering beam undergoes a phase shift and one of the laser beams constituting the interfering beam undergoes a phase shift, as with the examples given above for the Mach-Zehnder interferometer and the Michelson-Morley interferometer, a detailed description of the multimode interferometer is not provided here.
[0089] Preferably, however, if a multimode interferometer is provided as part of the optical component, it comprises two input ports, one for the first laser beam and one for the second laser beam, and two output ports, wherein the first interference beam is transmitted to the first photodetector via the first output port and the second interference beam is transmitted to the second photodetector via the second output port. Another preferred embodiment comprises two input ports, one for the first laser beam and one for the second laser beam, and four output ports, which are in a so-called hybrid 90° configuration, i.e. wherein the four output ports have relative phases of 0°, 90°, 180° and 270°.
[0090] Between the input port and the output port, a multimode interference coupler is provided through which at least two eigenmodes can travel. In one embodiment, these eigenmodes correspond to at least two wavelengths (or frequencies) constituting at least one laser beam. Specifically, in the case where one of the laser beams is provided as a laser pulse, this consists of an (infinite) number of waves with a specific frequency. At least two of these frequencies (corresponding to the wavelengths) correspond to eigenmodes of the multimode interference coupler. Therefore, at least these frequencies can travel through the coupler, thereby generating an interference beam that can be detected at a light detector.
[0091] Figure 3 Another embodiment of a system for generating random numbers is shown. Figure 1 The same reference numerals are used for the parts with Figure 1 The components used in the embodiments are the same and therefore their functions will not need to be repeated here.
[0092] exist Figure 3 In the embodiment of the present invention, a temperature control system 380 is provided. The temperature control system may include a sensor (e.g. a thermal sensor) for determining the environmental conditions (specifically the temperature) of at least the first laser source 111 and the second laser source 112. During the emission of the laser beams by the laser sources 111 and 112, their temperature will increase, which may lead to a change in their laser generation behavior, thus having an impact on the accuracy of the generated laser beams, and therefore on the interference beams. This can be measured by the sensor.
[0093] Furthermore, sensors for measuring the thermal condition of the interferometer and / or the photodetector may be provided. Since an increase in temperature may result in, for example, a change in the length of the arms of the interferometer (e.g., see the arms of the first and second laser beams traveling through the reflector 221 and the arms of the interference beam traveling from the reflector to the photodetector in FIG2 ), a change in temperature may result in a change in the length of these arms and, therefore, a change in the relative phase between the interference beams. Additionally, an increase in temperature may have an effect on the properties of the reflector 221 and may result in thermal vibrations on the surface of the reflector, thereby also affecting the accuracy with which the interference beam can be generated and measured. Likewise, the photodetector will have increased noise as the temperature increases.
[0094] In order to prevent noise from these problems, the temperature control system 380 is connected to at least the first laser source 111 and the second laser source 112 (schematically depicted by tubes 381 and 382, respectively), and the temperature of the first laser source and the second laser source can preferably be adjusted independently. For macroscopic systems, for example, this can be achieved by heat exchange and cooling circuits, and a cooling medium such as air or water is circulated through the cooling circuit to take away the heat emitted by the first laser source and the second laser source. For microscopic systems, devices commonly used to cool processors or (semi) optical components in computers can be used. For the case where the system is provided on a chip to integrate the temperature control system directly on the chip, it may also be preferred. This can be achieved, for example, by placing a resistor on the chip through which current can flow. Depending on the current introduced into the resistor, the resistor will dissipate heat. This heat can be used to increase the temperature of the chip to a desired value.
[0095] By independently controlling the temperature of the first and second laser sources, the temperature of the first and second laser sources can be maintained at a given (preset) temperature. In the case where the first laser source is driven in a constant wave mode and the second laser source is driven in a pulsed mode, the thermal stress of the first laser source may be different from the thermal stress of the second laser source, thereby also causing the first laser source to require additional cooling compared to the second laser source. Therefore, it is preferred that the control of the temperature of the first and second laser sources is completely independent of each other. Further, it is preferred that the temperature control system 380 can control the temperature of the first and second laser sources with an accuracy of, for example, 2K, preferably 1K, more preferably 0.1K, and more preferably 0.01K.
[0096] Additionally or alternatively, it can also be provided that the temperature control system can adjust the temperature of the interferometer 120 and / or the light detectors 131 and 132. For this purpose, the temperature control system can be connected to the interferometer 120 and the light detectors 131 and 132 via corresponding connections 383, 384 and 385, respectively. The cooling of these components can be achieved in the same way as described with respect to the laser sources 111 and 112.
[0097] With regard to the interferometer, it is contemplated to provide separate cooling for the mirror 221 described with regard to Figure 2, where such a mirror is provided in the interferometer. In addition, any optical component of the interferometer may be cooled separately in order to maintain its temperature at a specific value.
[0098] The cooling of the photodetectors 131 and 132 can also be arranged in an independent manner so that their temperatures can be kept at a constant value.
[0099] For the first and second laser sources 111 and 112 , it can be provided that the temperature of the interferometer (and its corresponding components) as well as the photodetector can be controlled with an accuracy of 0.1 K or preferably 0.01 K.
[0100] Although not explicitly mentioned here, it is also possible to set Figure 1 Any other components of the system 100 depicted in the drawings are connected to the temperature control system 380 and cooled if necessary. For example, where waveguides are used to guide the propagation of the first and second laser beams and the interference beam, cooling of them may be provided. In addition, the photodetectors 131 and 132 will be connected to the comparator 140, possibly by corresponding electrical conductors such as cables or any other suitable means. These may also be cooled to reduce thermal noise in the electrical signals transmitted from the first and second photodetectors to the comparator.
[0101] In order to keep the overall noise level to a minimum, it is preferred that the travel paths of the first and second laser beams generated by the first and second laser sources and the travel paths of the interference light beams 161 and 162 are equal to each other and / or preferably as short as possible. The same is true for the length of the electrical connection between the photodetectors 131 and 132 and the comparator 140. Thereby, it is possible to minimize the additional noise that may have an effect on the comparison of the first and second electrical signals generated by the first and second photodetectors in the comparator.
[0102] Once the comparator has calculated the comparison between the first and second electrical signals, they are converted into digital numbers, i.e. 0 and 1. Such a clean signal is subject to less noise and, therefore, the length of the travel path of the signal generated by the comparator can be almost arbitrary without causing a significant degradation or reduction of the signal strength in the output of the comparator. Therefore, additional cooling or control or reduction of the length of the transmission path for any connection of the comparator to another computing entity is not mandatory but can still be provided when appropriate.
[0103] Additionally or alternatively, other means for reducing noise in the generated optical signal can be thought of. For example, a laser source typically does not produce perfectly identical wavelengths for the generated laser beams. In this case, the coherence length of the generated laser beams may be too small (corresponding to a frequency difference between the two laser beams being too large) to generate reliable random numbers with a uniform probability distribution. In order to stabilize the wavelength of the laser beam, additional carriers can be injected into the active medium of the laser source. This will result in a change in the refractive index of the cavity, and will thereby result in tuning of the wavelength. This can be used by a control system to synchronize (also referred to as "tune") the wavelengths of the laser beams generated by the two laser sources illustrated above.
[0104] For example, one or more sensors may be provided for measuring the wavelength of each generated laser beam, preferably periodically. Alternatively, the wavelength of each generated laser beam may be measured every 10 -5The wavelength is measured once every second, etc. The measured wavelength of each laser beam can then be compared to a standard wavelength or the wavelength of another laser beam. Based on the results of this comparison, the amount of carriers injected into one or both laser sources can be changed in order to change the refractive index of the cavity and thereby tune the wavelength. Thus, the wavelengths can be synchronized with each other and stabilized over longer periods of time.
[0105] Since having the laser sources transmit at very specific wavelengths is irrelevant for the generation of random numbers, but only requires that the two laser sources emit laser beams with (almost) the same wavelength to have a long coherence length (corresponding to a low beat frequency), it may be preferred that the wavelengths of the laser beams of the laser sources are only synchronized with each other and not tuned to a specific standard wavelength. Thus, a wavelength shift of the two laser sources over time may be accepted as long as the two wavelengths are synchronized with each other.
[0106] Preferably, the wavelengths of the laser beams emitted by the laser sources are synchronized such that the achieved coherence length is at least 10 times, preferably 100 times, more preferably 10 times, the maximum extension of the system according to the invention. 5 Specifically, the coherence length may be at least 10 times, preferably 100 times, and more preferably 10 times, the optical distance (also referred to as the optical path length) between the laser source and the light detector. 5 Thus, the noise due to imperfectly synchronized wavelengths of the laser beams emitted by the laser sources is kept low and the generation of random numbers suffers from fewer glitches.
[0107] Another related object may be to synchronize the laser sources in such a way that the frequency difference between the first and second laser beams is as small as possible. Preferably, the difference is smaller than the detection bandwidth of the photodetector, for example at least 10 times smaller, preferably 100 times smaller, more preferably even 10 times smaller than the detection bandwidth of the photodetector. 5 times.
Claims
1. A system (100) for generating a random number, the system comprising: an optical component adapted to generate two optical signals; and two photodetectors (131, 132), the two photodetectors (131, 132) being connected to the optical component, wherein the first photodetector is adapted to receive a first optical signal and generate a first electrical signal based on the first optical signal, and the second photodetector is adapted to receive a second optical signal and generate a second electrical signal (172) based on the second optical signal, wherein the optical component is adapted to generate the first optical signal and the second optical signal which randomly result in a first electrical signal and a second electrical signal, wherein the first electrical signal and the second electrical signal are equal or one is greater than the other, the system being characterized in that the photodetectors (131, 132) are adapted to transmit the first electrical signal (171) and the second electrical signal (172) to a comparator (140), wherein the comparator is adapted to provide an output based on a comparison of the first electrical signal and the second electrical signal, thereby providing the random number, wherein no subtractor is used to convert the optical interference signal into the random number.
2. The system according to claim 1, wherein: The optical components of the system include: two laser sources (111, 112), an interferometer (120), which is arranged relative to the laser sources and is adapted to achieve interference between lasers (151, 152) emitted from the first laser source and the second laser source, wherein the relative phase of the laser (151) emitted from the first laser source and the laser emitted from the second laser source (112) is random, wherein the interferometer (120) is adapted to generate two interference light beams (161, 162), wherein the interferometer is adapted to transmit the first interference light beam to the first photodetector for generating the first electrical signal, and transmit the second interference light beam to the second photodetector for generating the second electrical signal.
3. The system (100) according to claim 2, wherein: The interferometer (120) is a Michelson-Morelli interferometer or a Mach-Zehnder interferometer or a multimode interferometer having two optical output ports, wherein a first optical output port is connected to the first light detector (131) and a second optical output port is connected to the second light detector (132).
4. The system (100) according to claim 2, wherein: The first laser source (111) and the second laser source are laser diodes.
5. The system (100) of claim 2, wherein: The first laser source (111) is adapted to be driven in a constant wave mode, and the second laser source (112) is adapted to be driven in a pulsed mode; Or wherein the first laser source and the second laser source are adapted to be driven in a pulsed mode; or wherein the first laser source and the second laser source are driven in a constant wave mode; or wherein the first laser source is driven in a constant wave mode and the second laser source is turned off or does not exist.
6. The system (100) according to claim 5, wherein: The second laser source (112) is adapted to be driven in a power region ranging from a value below a lasing threshold to a value above the lasing threshold.
7. The system (100) according to claim 6, wherein: The pulse repetition rate of the second laser source (112) reaching a value above the lasing threshold is greater than 100 MHz, or greater than 500 MHz or greater than 1 GHz.
8. The system (100) of claim 2, wherein: The laser source is connected to the interferometer (120) via a separate waveguide, and / or wherein, The interferometer is connected to each of the photodetectors (131, 132) via a separate waveguide.
9. The system (100) according to claim 2, further comprising a temperature control system (380) for controlling the temperature of the laser source, the temperature control system being adapted to independently adjust the temperature of the first laser source and the second laser source.
10. A method for generating random numbers using a system comprising an optical component, two light detectors (131, 132) connected to the optical component and a comparator connected to the light detectors, the method comprising: Two optical signals are generated by the optical component and the first optical signal is transmitted to a first light detector (131) and the second optical signal is transmitted to a second light detector (132); a first electrical signal (171) is generated by the first light detector based on the first optical signal and a second electrical signal (172) is generated by the second light detector based on the second optical signal, wherein the first optical signal and the second optical signal randomly lead to a first electrical signal and a second electrical signal, wherein the first electrical signal and the second electrical signal are equal or one is greater than the other, the method is characterized in that the first electrical signal and the second electrical signal are transmitted to the comparator (140), and the comparator compares the first electrical signal and the second electrical signal, and the comparator provides an output based on the comparison of the first electrical signal and the second electrical signal, thereby providing the random number, wherein no subtractor is used to convert the optical interference signal into the random number.
11. The method according to claim 10, wherein: The optical component comprises two laser sources (111, 112) and an interferometer (120), wherein generating the first optical signal and the second optical signal comprises emitting laser light into the interferometer by each of the laser sources, wherein the relative phases of the laser light emitted by the first laser source (111) and the laser light emitted by the second laser source (112) are random; generating two interference light beams by the interferometer, the interferometer transmitting the first interference light beam (151) to the first photodetector to generate the first electrical signal and transmitting the second interference light beam (152) to the second photodetector to generate the second electrical signal.
12. The method according to claim 10 or 11, wherein: In the case where the first electrical signal is greater than the second electrical signal, the output of the comparator (140) is 1, and in any other case, the output of the comparator is 0.
13. The method according to claim 11, wherein: The first laser source (111) is driven in a constant wave mode, and the second laser source (112) is driven in a pulse mode; Or wherein the first laser source and the second laser source are driven in a pulse mode.
14. The method according to claim 13, wherein: The second laser light source (112) is periodically driven in a power region ranging from a value below a lasing threshold to a value above the lasing threshold, wherein the second laser light source periodically reaches the lasing threshold.
15. The method according to claim 14, wherein: The pulse repetition rate of the second laser source (112) reaching a value above the lasing threshold is greater than 100 MHz, or greater than 500 MHz, or greater than 1 GHz.
16. The method according to claim 11, wherein: The temperature adjustment system (380) independently adjusts the temperature of the first laser source (111) and the second laser source (112).
17. The method according to claim 16, wherein: The temperature adjustment system (380) adjusts the temperature so that the difference between the temperature of the first laser source (111) and the temperature of the second laser source (112) is less than 0.1K.
