A method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning

By optimizing quantization operations through deep learning and utilizing deep neural network adaptive adjustment technology, the technical problems in the quantization process in the existing technology are solved, the problem of large quantization errors in the quantum key distribution system in the existing technology is solved, and the quantum key generation rate and information negotiation efficiency are improved.

CN119995867BActive Publication Date: 2025-10-03DONGHUA UNIV +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510167391.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-15
Publication Date
2025-10-03
Estimated Expiration
2045-02-15

AI Technical Summary

Technical Problem

Existing continuous variable quantum key distribution systems have large quantization errors in high noise or weak signal conditions, resulting in a decrease in key quality. How to improve the efficiency of the quantization process and reduce information loss has become an important research direction.

Method used

Deep learning is used to optimize the quantization operation, and the quantization function is adaptively adjusted by training deep neural networks. The quantum receiver is used to generate random Gaussian sequences and transmit data through classical channels. Combined with error correction codes and iterative decoding algorithms, the quantization process is optimized to reduce errors.

Benefits of technology

It effectively improves the quantum key generation rate and information negotiation efficiency, reduces information loss during the quantization process, and improves the quality of quantum key generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119995867B_ABST
    Figure CN119995867B_ABST
Patent Text Reader

Abstract

The present invention provides a method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning, comprising: a quantum transmitting end and a quantum receiving end respectively obtain a first original Gaussian sequence and a second original Gaussian sequence; the quantum receiving end randomly generates a random Gaussian sequence, obtains a new Gaussian sequence, and sends it to the quantum transmitting end; the quantum transmitting end obtains a target Gaussian sequence; the quantum receiving end obtains an optimized quantization function based on a trained deep neural network, quantizes and divides the random Gaussian sequence into m-layer original key strings by using the optimized quantization function, directly sends the first k layers of original key strings to the quantum transmitting end, and calculates and sends the checksums of the m-k layers of original key strings to the quantum transmitting end; the quantum transmitting end performs information negotiation; and the present invention optimizes the quantization function through the deep neural network to realize adaptive adjustment of the quantization process, thereby minimizing errors in the quantization process, reducing information loss in the quantization process, and improving quantization efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of quantum communication, in particular to continuous variable quantum key distribution, and in particular to quantization. The present invention provides a method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning. Background Art

[0002] With the rapid development of quantum communication technology, continuous variable quantum key distribution (CV-QKD), as an emerging quantum encryption method, has gradually become a research hotspot in the field of quantum communication. CV-QKD uses the basic principles of quantum mechanics to distribute keys through continuous variables of optical signals (such as amplitude and phase), and encrypts them through quantum channels to ensure the security of communication. However, although CV-QKD systems have shown great potential in theory and experiments, they still face many challenges in practical applications, one of which is how to efficiently quantize signals and generate keys.

[0003] Slice negotiation and multi-dimensional negotiation are currently the two most commonly used negotiation schemes. Multi-dimensional negotiation can achieve high negotiation efficiency in long-distance CV-QKD systems with extremely low signal-to-noise ratios, but its post-processing algorithm is complex, and each pulse extracts less than one bit of key information, resulting in a low key rate for the system. Slice negotiation utilizes a unary vector function to convert a single data point into multiple negotiation codes. Compared to multi-dimensional negotiation, it is more suitable for short-distance CV-QKD systems where the quantum channel has a high signal-to-noise ratio transmission environment. However, slice negotiation is susceptible to noise. When the deviation between the original data is large, the accuracy of the quantization estimate is very low, resulting in severe quantization loss in layered negotiation. Especially in the presence of high noise or weak signals, the quantization error can significantly increase, resulting in a decrease in key quality. Therefore, improving the efficiency of the quantization process and reducing information loss has become an important research direction for CV-QKD systems. Summary of the Invention

[0004] The purpose of the present invention is to provide a method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning, so as to solve the problems pointed out in the above background technology.

[0005] The present invention provides a method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning. The method includes: step 1, in a reverse slice negotiation mechanism, a quantum transmitter obtains a first original Gaussian sequence x, and a quantum receiver obtains a second original Gaussian sequence y; the first original Gaussian sequence x and the second original Gaussian sequence y both obey Gaussian distribution; step 2, the quantum receiver randomly generates a random Gaussian sequence c, and adds the random Gaussian sequence c and the second original Gaussian sequence y to obtain a new Gaussian sequence w=c+y, and then sends the new Gaussian sequence w to the quantum transmitter; step 3, the quantum transmitter subtracts the first original Gaussian sequence x from the new Gaussian sequence w to obtain a target Gaussian sequence v=wx; step 4, the quantum receiver obtains an optimized quantization function based on a trained deep neural network; step 5, the quantum receiver quantizes and slices the random Gaussian sequence c into m layers of original key strings L1 to L m and the first k layers of original key strings L1~L k It is sent directly to the quantum transmitter, and the original key string L of the mk layer is calculated based on the preset error correction code and optimized quantization function. k+1 ~L m The checksum S k+1 ~S m , and the checksum S k+1 ~S m Send to the quantum transmitter; 1≤k<m, m≥2, and k and m are both integers; Step 6, after the quantum transmitter obtains the target Gaussian sequence v, it sets a maximum number of iterations t within a layer and a maximum number of iterations T between layers; t≥1, T≥1, t≥T, and t and T are both integers; Step 7, the quantum transmitter uses the target Gaussian sequence v and the original key strings L1~L1 of the first k layers m Calculate the log-likelihood ratio of the k+i layer, and then, based on the calculated log-likelihood ratio of the k+i layer and the calibration factor S k+1 ~S mPerform k+i layer decoding; i∈[1,mk], and i is an integer; Step 8, in the quantum transmitter, when the k+i layer decoding is completed, the decoding result of the k+i layer is passed to the next layer for estimation and decoding until the m layer decoding is completed; after the m layer decoding is completed, if all layers are successfully decoded, the decoding success key is saved and the intra-layer iterative decoding is terminated; otherwise, the intra-layer iterative decoding is performed until the maximum number of iterations t in the layer is reached, the intra-layer iterative decoding is terminated, and the decoding result of the m layer is transmitted. Pass it to the k+1th layer for inter-layer iterative decoding; the decoding results corresponding to the successfully decoded layers are all the same; the decoding success key is the decoding result of successful decoding of all layers; Step 9, in the inter-layer iterative decoding, at the end of each layer decoding, compare the inter-layer iterative decoding result of each layer with the decoding result of the corresponding layer in Step 8, if they are the same, output the decoding success key and the inter-layer iterative decoding ends; otherwise, the inter-layer iterative decoding is performed until the maximum number of inter-layer iterations T is reached, and the inter-layer iterative decoding ends.

[0006] In the present invention, the quantization function is optimized through a deep neural network to achieve adaptive adjustment of the quantization process to minimize the error in the quantization process, thereby reducing information loss in the quantization process and improving quantization efficiency.

[0007] In one implementation of the present invention, in step 1, the quantum receiving end obtains the second original Gaussian sequence y, which includes: the quantum transmitting end sends the first original Gaussian sequence x to the quantum receiving end through a quantum channel, so that the quantum receiving end measures the first original Gaussian sequence x to obtain the second original Gaussian sequence y associated with the quantum transmitting end; wherein the first original Gaussian sequence is the modulation variance of the quantum transmitter; the noise z of the quantum channel obeys Gaussian distribution, is the noise variance of the quantum channel; y=x+z,

[0008] In one implementation of the present invention, in step 2, the random Gaussian sequence c obeys a Gaussian distribution. is the variance of the random Gaussian sequence c.

[0009] In one implementation of the present invention, before step 4, the method further includes: the quantum receiving end constructing an original deep neural network; the quantum receiving end training the original deep neural network based on a training set to obtain the trained deep neural network; the training set includes multiple training Gaussian sequences.

[0010] In one implementation of the present invention, during the process of training the original deep neural network based on the training set at the quantum receiving end, a loss function is used for training; the calculation formula of the loss function is:

[0011] L total =αL MSE +βL IM ;

[0012]

[0013] Among them, L total is the loss value calculated by the loss function; L MSE is the quantization error loss; L IM is the mutual information loss; α and β are hyperparameters; M is the total number of training Gaussian sequences contained in the training set; c j is the jth training Gaussian sequence in the training set; S(c j ) is based on c j When training the original deep neural network, the corresponding output of the original deep neural network; I(v; S(c j )) represents v, S(c j ) between them.

[0014] In one implementation of the present invention, in step four, the trained deep neural network includes: an input layer, an output layer and multiple hidden layers; wherein the input layer is used to input the random Gaussian sequence c; the multiple hidden layers are used to perform nonlinear transformation on the random Gaussian sequence c to extract high-dimensional features from the random Gaussian sequence c; the output layer is used to output the optimized quantization function.

[0015] In one implementation of the present invention, in step 5, the quantum receiving end maps the random Gaussian sequence c into a discrete binary sequence through the optimized quantization function, and multiplies the binary sequence with the preset error correction code to obtain the syndrome S k+1 ~S m ; Wherein, the binary sequence is the m-layer original key string L1~L m .

[0016] In one implementation of the present invention, in step 2, the quantum receiving end sends the new Gaussian sequence w to the quantum transmitting end through a classical channel.

[0017] As described above, the method of optimizing the quantization operation in continuous variable quantum key distribution information negotiation based on deep learning according to the present invention has the following beneficial effects:

[0018] Compared with the existing technology, the present invention uses a deep neural network to adaptively optimize the quantization function, minimize the information loss in the quantization process, and make the mutual information after quantization as close as possible to the mutual information before quantization, thereby effectively improving the quantization efficiency, increasing the rate of quantum key generation, and improving the efficiency of information negotiation. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 Shown is a flowchart of a method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning according to an embodiment of the present invention.

[0020] Figure 2 Shown is a schematic diagram of a method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] The following describes the embodiments of the present invention through specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.

[0022] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. The illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.

[0023] In recent years, with the rapid development of deep learning technology, deep neural networks (DNNs) have been widely applied to various signal processing tasks. The powerful capabilities of deep learning enable it to automatically learn complex mapping relationships from large amounts of data, which holds great potential for quantization. Traditional quantization methods typically rely on preset rules and fixed thresholds, while deep learning can adaptively adjust the quantization process using training data, thereby reducing information loss and improving quantization efficiency.

[0024] See Figure 1 and Figure 2The following embodiments of the present invention provide a method for optimizing the quantization operation in continuous variable quantum key distribution information negotiation based on deep learning. Compared with the prior art, the present invention utilizes a deep neural network to adaptively optimize the quantization function, minimize the information loss during the quantization process, and make the mutual information after quantization as close as possible to the mutual information before quantization, thereby effectively improving the quantization efficiency, increasing the rate of quantum key generation, and improving the efficiency of information negotiation.

[0025] The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings in the embodiments of the present invention.

[0026] like Figure 1 and Figure 2 As shown, in one embodiment, the present invention provides a method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning, the method comprising:

[0027] Step S1: In the reverse Slice negotiation mechanism, the quantum transmitter obtains a first original Gaussian sequence x, and the quantum receiver obtains a second original Gaussian sequence y.

[0028] It should be noted that both the first original Gaussian sequence x and the second original Gaussian sequence y obey Gaussian distribution.

[0029] Reverse Slice negotiation is a method for negotiating the original key in a quantum key distribution system. During quantum key distribution, due to channel noise and eavesdropper interference, the original keys obtained by the legitimate communicating parties may be asymmetric. To obtain a symmetric key, the original key must be negotiated during data post-processing.

[0030] like Figure 1 and Figure 2 As shown, in one embodiment, in step S1, the quantum receiving end obtains the second original Gaussian sequence y, including: the quantum transmitting end sends the first original Gaussian sequence x to the quantum receiving end through a quantum channel, so that the quantum receiving end measures the first original Gaussian sequence x to obtain the second original Gaussian sequence y associated with the quantum transmitting end.

[0031] Among them, the first original Gaussian sequence is the modulation variance of the quantum transmitter; the noise z of the quantum channel obeys Gaussian distribution, is the noise variance of the quantum channel; y=x+z,

[0032] It should be noted that the quantum channel is used to transmit information-carrying or random quantum states (corresponding to the first original Gaussian sequence x).

[0033] It should be noted that after the quantum transmitting end sends the first original Gaussian sequence x to the quantum receiving end, the quantum transmitting end still contains the first original Gaussian sequence x.

[0034] Step S2: The quantum receiving end randomly generates a random Gaussian sequence c, and adds the random Gaussian sequence c to the second original Gaussian sequence y to obtain a new Gaussian sequence w=c+y, and then sends the new Gaussian sequence w to the quantum transmitting end.

[0035] In one embodiment, in step S2, the random Gaussian sequence c obeys a Gaussian distribution. is the variance of the random Gaussian sequence c.

[0036] like Figure 1 and Figure 2 As shown, in one embodiment, in step S2, the quantum receiving end sends the new Gaussian sequence w to the quantum transmitting end through a classical channel.

[0037] It should be noted that the classical channel is used to ensure that some necessary information can be exchanged between the quantum sender and the quantum receiver.

[0038] In one embodiment, a random Gaussian sequence c is randomly generated by a quantum random number generator (QRNG).

[0039] It should be noted that QRNG uses quantum physics processes to quickly and massively generate true random numbers guaranteed by quantum randomness principles such as quantum superposition collapse theory.

[0040] Step S3: The quantum transmitter subtracts the first original Gaussian sequence x from the new Gaussian sequence w to obtain a target Gaussian sequence v=wx.

[0041] Step S4: The quantum receiving end obtains an optimized quantization function based on the trained deep neural network.

[0042] In one embodiment, before step S4, the method further includes: the quantum receiving end constructing an original deep neural network; and the quantum receiving end training the original deep neural network based on a training set to obtain the trained deep neural network.

[0043] In this embodiment, the training set includes a plurality of training Gaussian sequences.

[0044] In one embodiment, the training Gaussian sequence is also a Gaussian sequence randomly generated by the quantum receiver, which has the same principle as the random Gaussian sequence c mentioned above.

[0045] In one embodiment, during the process of training the original deep neural network based on the training set at the quantum receiving end, the training is performed using a loss function.

[0046] It should be noted that, in order to optimize the quantization process, the present invention designs a composite loss function that takes into account quantization error loss and mutual information loss.

[0047] Among them, the quantization error loss (ie, MSE loss) L MSE : Used to measure the difference between the quantized signal S(cj) and the original signal cj, measured using the mean square error (MSE).

[0048]

[0049] Mutual information loss L IM :The goal of the quantization process is to maximize the mutual information I(v; S(cj) between the quantized signal S(cj) and the shared value (i.e., the target Gaussian sequence v) j )).

[0050]

[0051] Loss function: It is the weighted sum of quantization error loss and mutual information loss.

[0052] L total =αL MSE +βL IM ;

[0053] L total is the loss value calculated by the loss function; L MSE is the quantization error loss; L IM is the mutual information loss; α and β are hyperparameters used to adjust the quantization error loss L MSE and mutual information loss L IM The trade-off between; M is the total number of training Gaussian sequences contained in the training set; c j is the jth training Gaussian sequence in the training set; S(c j ) is based on c j When training the original deep neural network, the corresponding output of the original deep neural network; I(v; S(c j )) represents v, S(c j ) between them.

[0054] It's important to note that mutual information is a useful information metric in information theory, used to measure the degree of mutual dependence between two random variables. Mutual information can be thought of as the amount of information one random variable contains about another, or the reduction in uncertainty in one random variable due to the knowledge of the other. The calculation of mutual information uses conventional techniques in the field, so we won't elaborate on this here.

[0055] Specifically, by calculating the loss value L total , until the loss value L total When it stops descending, the training is stopped to obtain the original deep neural network after training.

[0056] It should be noted that during the training process, a large amount of simulation data is used, including Gaussian sequences under different channel noise conditions and their corresponding quantized values. During the training process, the backpropagation algorithm and gradient descent optimization algorithm are adopted to minimize the loss function, thereby optimizing the parameters of the deep neural network, so that the error of the quantization process is minimized and the mutual information is maximized.

[0057] In one embodiment, after the quantum receiving end trains the original deep neural network based on the training set, it will test the trained original neural network based on the test set to obtain a trained deep neural network.

[0058] It should be noted that the testing of the original deep neural network after training uses conventional technical means in the field (network model field), so they will not be described in detail here.

[0059] In one embodiment, in step S4, the trained deep neural network includes: an input layer, an output layer, and multiple hidden layers.

[0060] Among them, the input layer is used to input the random Gaussian sequence c; the multiple hidden layers are used to perform nonlinear transformation on the random Gaussian sequence c to extract high-dimensional features in the random Gaussian sequence c; and the output layer is used to output the optimized quantization function S(c).

[0061] It should be noted that in the process of training the original deep neural network, the training Gaussian sequence c is input through the input layer. j ; Then, the training Gaussian sequence c is processed through multiple hidden layers j Perform nonlinear transformation to extract the training Gaussian sequence c j Finally, the output layer outputs S(c j ).

[0062] Specifically, after obtaining the trained deep neural network through the above steps, the random Gaussian sequence c is input into the trained deep neural network so that the trained deep neural network outputs the optimized quantization function S(c).

[0063] It should be noted that the optimized quantization function S(c) is used to quantize the received data c to ensure that the mutual information I(v; S(c)) after quantization is as close as possible to the mutual information I(x; y) before quantization (i.e., the mutual information between x and y).

[0064] In one embodiment, the random Gaussian sequence c is preprocessed and then input into a trained deep neural network.

[0065] It should be noted that the quantum receiver adaptively optimizes the quantization function by training a deep neural network, and automatically learns the mapping relationship between the input c and the quantized output S(c) by training the deep neural network to minimize the quantization error and information loss, thereby improving the quantization efficiency.

[0066] Step S5: The quantum receiving end quantizes and divides the random Gaussian sequence c into m layers of original key strings L1 to L2 by optimizing the quantization function. m and the first k layers of original key strings L1~L k It is sent directly to the quantum transmitter, and the original key string L of the mk layer is calculated based on the preset error correction code and optimized quantization function. k+1 ~L m The checksum S k+1 ~S m , and the checksum S k+1 ~S m Send to the quantum sending end.

[0067] It should be noted that 1≤k<m, m≥2, and both k and m are integers.

[0068] Specifically, the random Gaussian sequence c is divided into multiple slices (i.e., m layers of original key strings L1 to L2) by optimizing the quantization function S(c). m ), then, the low-order slice (i.e. the original key string L1 to L k ) is sent directly to the quantum transmitter, and the high-bit slice (i.e. the original key string L of the latter mk layer) is sent directly to the quantum transmitter. k+1 ~L m ) is encoded through a classical channel (i.e., the original key string L after the calculation of the mk layer k+1 ~L m The checksum S k+1 ~S m ) and transmission (ie, checksum S k+1 ~S m sent to the quantum sending end).

[0069] In one embodiment, in step S5, the quantum receiving end maps the random Gaussian sequence c into a discrete binary sequence through the optimized quantization function S(c), and multiplies the binary sequence with the preset error correction code to obtain the syndrome S k+1 ~S m .

[0070] In this embodiment, the binary sequence is the m-layer original key string L1~L m .

[0071] Step S6: After obtaining the target Gaussian sequence v, the quantum transmitter sets a maximum number of iterations within a layer, t, and a maximum number of iterations between layers, T.

[0072] It should be noted that t≥1, T≥1, t≥T, and t and T are both integers.

[0073] For example, in one embodiment, t=100; T=30 is set.

[0074] Step S7: The quantum transmitter uses the target Gaussian sequence v and the first k layers of original key strings L1 to L k Calculate the log-likelihood ratio of the k+i layer, and then, based on the calculated log-likelihood ratio of the k+i layer and the calibration factor S k+1 ~S m Perform k+i-th layer decoding.

[0075] It should be noted that i∈[1,mk], and i is an integer.

[0076] Specifically, the k+i layer decoding is completed using the LLR-BP decoding algorithm.

[0077] It should be noted that LLR, the full name of which is Log-Likelihood Ratio, is translated into Chinese as log-likelihood ratio. The BP decoding algorithm, as a classic soft-decision method, corrects some sudden errors by continuously iteratively updating the posterior probability, and has a higher error correction capability than hard-decision. The LLR-BP decoding algorithm is an improvement on BP decoding, reducing the amount of computation and the complexity of the algorithm description.

[0078] Step S8: In the quantum transmitting end, when the decoding of the k+i layer is completed, the decoding result of the k+i layer is passed to the next layer for estimation and decoding until the decoding of the m layer is completed; after the decoding of the m layer is completed, if all layers are successfully decoded, the decoding success key is saved and the intra-layer iterative decoding is terminated; otherwise, the intra-layer iterative decoding is performed until the maximum number of iterations t within the layer is reached, and the intra-layer iterative decoding is terminated, and the decoding result of the m layer is passed to the k+1 layer for inter-layer iterative decoding.

[0079] Specifically, at the quantum transmitting end, the k+1th layer is first decoded. After the decoding is completed, the decoding result of the k+1th layer is passed to the k+2th layer for estimation and decoding. After the decoding is completed, the decoding result of the k+2th layer is passed to the k+3th layer for estimation and decoding... until the decoding of the mth layer is completed.

[0080] It should be noted that, in this embodiment, the decoding results corresponding to the successfully decoded layers are all the same; the decoding success key is the decoding result when all layers are successfully decoded.

[0081] In one embodiment, the LLR-BP decoding algorithm is used to calculate the quantum transmitter syndrome and compare it with the syndrome sent by the quantum receiver to the quantum transmitter (i.e., S k+1 ~S m ) to compare, and then determine whether the two are the same. If they are the same, it means successful decoding; otherwise, the decoding fails.

[0082] It should be noted that the use of the LLR-BP decoding algorithm to calculate the quantum transmitter syndrome adopts existing technology, so it will not be described in detail here.

[0083] It should be noted that if each layer from the k+1th layer to the mth layer is successfully decoded, it means that the intra-layer decoding is successful. At this time, the decoding success key is saved and the intra-layer iterative decoding is terminated. If no intra-layer decoding is successful, the iterative decoding is continued until the maximum number of iterations t within the layer is reached, and the intra-layer iterative decoding is terminated.

[0084] Step S9: In the inter-layer iterative decoding, when each layer of decoding is completed, the inter-layer iterative decoding result of each layer is compared with the decoding result of the corresponding layer in step S8. If they are the same, the decoding success key is output and the inter-layer iterative decoding is completed; otherwise, the inter-layer iterative decoding is continued until the maximum number of inter-layer iterations T is reached, and the inter-layer iterative decoding is terminated.

[0085] Specifically, in the inter-layer iterative decoding, when each layer of decoding is completed, the inter-layer iterative decoding result of the layer is compared with the decoding result of the corresponding layer in step S8. If the two are the same, the decoding success key is output and the inter-layer iterative decoding is ended. Alternatively, if the maximum number of inter-layer iterations T is reached, the inter-layer iterative decoding is also ended, and at the same time, this round of information negotiation ends.

[0086] It should be noted that, in step S8, not all layers can be decoded successfully. For those layers that fail to be decoded, the process will proceed to inter-layer iterative decoding in step S9.

[0087] It should be noted that the decoding success key is used as the shared key, and the decoding failure key and the original key string L1 to L k will be discarded.

[0088] Specifically, the quantum sender uses an inter-layer iterative decoding algorithm to decode and recover the original key. After multiple iterations, the key string that is successfully decoded (i.e., the decoded key) is left as the key of the quantum sender, while the key that fails to be decoded and the low-order key string sent directly are discarded.

[0089] It should be noted that in CV-QKD systems, deep neural networks can be used to optimize the quantization function to minimize the error during the quantization process. Compared with traditional quantization methods, deep learning can more accurately fit the relationship between the input signal c and the output quantized value S(c) by learning the nonlinear characteristics of the input signal c. Specifically, deep neural networks can learn the probability distribution and channel characteristics of the input signal through training sample data, and then adaptively adjust the quantization function to minimize the quantization error and maximize the mutual information of the signals.

[0090] The present invention adopts deep learning technology and optimizes the quantization process by training a deep neural network, thereby minimizing information loss while maintaining system robustness. Specifically, the quantization method of the present invention first preprocesses the Gaussian sequence transmitted through the quantum channel (i.e., the first original Gaussian sequence x mentioned above), and uses the trained deep neural network to automatically learn the quantization rule that best suits the current channel noise characteristics. By optimizing the quantization function, the mutual information I(v; S(c)) after quantization is close to the mutual information I(x; y) before quantization, thereby effectively reducing information loss and improving quantization efficiency. In the data processing after quantization, the present invention also adopts a rateless code to encode the quantized information, and transmits the encoded data to the quantum transmitter through a classical channel. The quantum transmitter uses the LLR-BP algorithm for decoding to recover the original key. The optimization of the deep learning model makes the quantized key information more accurate, thereby improving the information negotiation efficiency and key generation rate of the entire CV-QKD system.

[0091] The protection scope of the method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning described in the embodiment of the present invention is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing, or replacing steps in the prior art based on the principles of the present invention are included in the protection scope of the present invention.

[0092] Those skilled in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the composition and steps of each example according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0093] The descriptions of the processes or structures corresponding to the above figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0094] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical principles disclosed herein are intended to be covered by the claims of the present invention.

Claims

1. A method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning, characterized in that: The method comprises: Step 1: In the reverse slice negotiation mechanism, the quantum transmitter obtains a first original Gaussian sequence x, and the quantum receiver obtains a second original Gaussian sequence y; both the first original Gaussian sequence x and the second original Gaussian sequence y obey Gaussian distribution; Step 2: The quantum receiving end randomly generates a random Gaussian sequence c, and adds the random Gaussian sequence c to the second original Gaussian sequence y to obtain a new Gaussian sequence w=c+y, and then sends the new Gaussian sequence w to the quantum transmitting end; Step 3: The quantum transmitter subtracts the first original Gaussian sequence x from the new Gaussian sequence w to obtain a target Gaussian sequence v=wx; The quantum receiving end builds an original deep neural network; The quantum receiving end trains the original deep neural network based on a training set to obtain the trained deep neural network; the training set includes multiple training Gaussian sequences; In the process of training the original deep neural network based on the training set at the quantum receiving end, the training is performed using a loss function; the calculation formula of the loss function is: ; ; ; in, is the loss value calculated by the loss function; is the quantization error loss; is the mutual information loss; and is a hyperparameter; is the total number of training Gaussian sequences contained in the training set; is the j-th training Gaussian sequence in the training set; Based on When training the original deep neural network, the corresponding output of the original deep neural network; Indicates v, Mutual information between Step 4: The quantum receiving end obtains an optimized quantization function based on the trained deep neural network; Step 5: The quantum receiving end quantizes and divides the random Gaussian sequence c into m layers of original key strings L1~L m And the first k layers of original key string L1~L k It is sent directly to the quantum transmitter, and the original key string L of the mk layer is calculated based on the preset error correction code and optimized quantization function. k+1 ~L m The syndrome S k+1 ~S m , and the syndrome S k+1 ~S m Send to the quantum transmitter; 1≤k<m, m≥2, and k and m are both integers; Step 6: After the quantum transmitter obtains the target Gaussian sequence v, it sets a maximum number of iterations within a layer, t, and a maximum number of iterations between layers, T; t≥1, T≥1, t≥T, and both t and T are integers; Step 7: The quantum transmitter uses the target Gaussian sequence v and the first k layers of original key strings L1~L k Calculate the log-likelihood ratio of the k+i layer, and then, based on the calculated log-likelihood ratio of the k+i layer and the syndrome S k+1 ~S m Perform k+i layer decoding; i∈[1,mk], and i is an integer; Step 8: In the quantum transmitter, when the decoding of the k+i layer is completed, the decoding result of the k+i layer is passed to the next layer for estimation and decoding until the decoding of the m layer is completed. After the decoding of the m layer is completed, if all layers are successfully decoded, the decoding success key is saved and the intra-layer iterative decoding is terminated. Otherwise, the intra-layer iterative decoding is continued until the maximum number of iterations t within the layer is reached, and the intra-layer iterative decoding is terminated. The decoding result of the m layer is passed to the k+1 layer for inter-layer iterative decoding. The decoding results corresponding to the successfully decoded layers are all the same. The decoding success key is the decoding result of all layers successfully decoded. Step 9. In the inter-layer iterative decoding, when each layer of decoding is completed, the inter-layer iterative decoding result of each layer is compared with the decoding result of the corresponding layer in step 8. If they are the same, the decoding success key is output and the inter-layer iterative decoding is completed; otherwise, the inter-layer iterative decoding is continued until the maximum number of inter-layer iterations T is reached, and the inter-layer iterative decoding is terminated.

2. The method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning according to claim 1 is characterized in that: In step 1, the quantum receiving end obtains the second original Gaussian sequence y, which includes: the quantum transmitting end transmits the first original Gaussian sequence x to the quantum receiving end through a quantum channel, so that the quantum receiving end measures the first original Gaussian sequence x to obtain the second original Gaussian sequence y associated with the quantum transmitting end; wherein, The first original Gaussian sequence x~N(0, ), is the modulation variance of the quantum transmitter; the noise z of the quantum channel obeys Gaussian distribution, z~N(0, ), is the noise variance of the quantum channel; y=x+z,y~N(0, + )。 3. The method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning according to claim 1, characterized in that: In the step 2, the random Gaussian sequence c obeys the Gaussian distribution, c~N(0, ); is the variance of the random Gaussian sequence c.

4. The method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning according to any one of claims 1 to 3, characterized in that: In step 4, the trained deep neural network includes: an input layer, an output layer and multiple hidden layers; wherein, The input layer is used to input the random Gaussian sequence c; The plurality of hidden layers are used to perform nonlinear transformation on the random Gaussian sequence c to extract high-dimensional features from the random Gaussian sequence c; The output layer is used to output the optimized quantization function.

5. The method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning according to claim 1, characterized in that: In step 5, the quantum receiving end maps the random Gaussian sequence c into a discrete binary sequence through the optimized quantization function, and multiplies the binary sequence with the preset error correction code to obtain the syndrome S k+1 ~S m ; Wherein, the binary sequence is the m-layer original key string L1~L m .

6. The method for optimizing quantization operations in continuous variable quantum key distribution information negotiation based on deep learning according to claim 1, characterized in that: In the step 2, the quantum receiving end sends the new Gaussian sequence w to the quantum transmitting end through a classical channel.

Citation Information

Patent Citations

  • Low-complexity continuous variable quantum key distribution information negotiation method

    CN116094710A

  • Continuous variable quantum key distribution multi-dimensional negotiation method and system and medium

    CN116886300A