Casual quantum transmission method, electronic equipment and storage medium
Through the continuous variable Gaussian modulation of coherent state quantum inadvertent transmission method, quantum inseparability and non-cloneability are used to generate and use encryption keys for message encryption and decryption, solving the problem that traditional methods cannot resist quantum computer attacks and achieving a safe Quantum state transmission and data encryption and decryption.
Patent Information
- Application Number
- CN202411058837.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Traditional security multi-party computing technology cannot resist the attacks of quantum computers, and the existing inadvertent transmission methods rely on elliptic curve algorithms and cannot effectively protect the confidentiality of information transmission.
The continuous variable Gaussian modulation coherent state quantum inadvertent transmission method is used to prepare coherent state quantum sequences by generating random number sequences that obey Gaussian distributions. The transmitting and receiving end perform quantum measurements and data set generation, and the encryption key is generated based on the forward negotiation mechanism. Message encryption and decryption, using quantum inseparability and non-cloneability to ensure transmission security.
It realizes secure information transmission under quantum computer attacks, protects data confidentiality during communication, resists attacks from quantum computers, and ensures the security and non-eavesdropping nature of information transmission.
Smart Images

Figure CN118944874A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of quantum communication, and in particular to a quantum inadvertent transmission method, an electronic device and a storage medium. Background Art
[0002] Oblivious Transfer (OT) is a protocol in cryptography used in the interaction process between the sender and the receiver of a message. In this protocol, there are multiple messages that can be sent, but the receiver can only get one of the multiple messages and cannot know the other messages. At the same time, the sender of the message cannot know which message the receiver has selected. Therefore, neither the sender nor the receiver will know the specific information that the other party has learned.
[0003] Since traditional secure multi-party computing technologies mostly rely on oblivious transmission based on elliptic curve algorithms, they cannot resist attacks from quantum computers. There is an urgent need to provide a new information transmission method to solve the problem. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a quantum inadvertent transmission method, an electronic device and a storage medium, so as to construct an inadvertent transmission that can resist the total loss of quantum computers.
[0005] In order to solve the above technical problems, the embodiments of the present invention provide a continuous variable Gaussian modulated coherent state quantum inadvertent transmission method, which is applied to the transmitting end and includes:
[0006] Generate two random number sequences that obey Gaussian distribution to prepare a coherent state quantum sequence, send the coherent state quantum sequence to a receiving end, so that the receiving end measures the coherent state quantum sequence with a first measurement selection sequence to obtain a measurement result sequence, and generate a second measurement selection sequence based on the first measurement selection sequence, and arrange the first measurement selection sequence and the second measurement selection sequence in a random order and send them to a sending end;
[0007] According to the received first measurement selection sequence and the received second measurement selection sequence, values of corresponding position order are selected bit by bit from the two random number sequences to generate a first data set and a second data set;
[0008] Initiate forward negotiation with the receiving end for the first data set and the second data set to obtain a first encryption key and a second encryption key; send a first message encrypted by the first encryption key and a second message encrypted by the second encryption key to the receiving end.
[0009] The embodiment of the present invention further provides a continuous variable Gaussian modulated coherent state quantum inadvertent transmission method, which is applied to a receiving end, and the method includes:
[0010] The receiving and transmitting end obtains a coherent state quantum sequence prepared by a random number sequence obeying a Gaussian distribution;
[0011] Using a randomly generated first measurement selection sequence as a measurement basis to measure the received coherent state quantum sequence, obtaining a measurement result sequence, generating a second measurement selection sequence according to the first measurement selection sequence, arranging the first measurement selection sequence and the second measurement selection sequence in a random order and sending them to the transmitting end, so that the transmitting end generates two data sets;
[0012] Accepting the forward negotiation initiated by the sending end, and obtaining a decryption key through negotiation;
[0013] Receive a first message encrypted by a first encryption key and a second message encrypted by a second encryption key sent by the sender; use the decryption key to decrypt the first message and the second message respectively, and parse out the first message or the second message.
[0014] An embodiment of the present invention further provides an electronic device, including:
[0015] at least one processor; and,
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above-mentioned continuous variable Gaussian modulated coherent state quantum inadvertent transmission method.
[0018] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which implements the above-mentioned continuous variable Gaussian modulated coherent state quantum inadvertent transmission method when executed by a processor.
[0019] Compared with the prior art, the implementation method of the present invention generates a coherent state quantum sequence at the transmitting end and sends it to the receiving end. The receiving end generates a first measurement selection sequence to measure the coherent state quantum sequence, further generates a second measurement selection sequence, and then arranges the two measurement selection sequences in a random order and sends them to the transmitting end; the transmitting end generates two data sets according to the first measurement selection sequence and the second measurement selection sequence, respectively, and then initiates a forward negotiation to the receiving end based on the data sets; after the forward negotiation, the transmitting end obtains an encryption key, and the transmitting end encrypts the message based on the encryption key and sends the encrypted message to the receiving end. This scheme is based on the use of coherent state quantum sequences. Due to quantum indivisibility and non-cloning, it ensures that quantum state information is difficult to be eavesdropped and tampered with during transmission, realizes secure quantum state transmission and data encryption and decryption, protects data confidentiality during communication, and based on the randomness of quantum measurement, realizes inadvertent transmission that can resist quantum computer attacks. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0021] Figure 1 It is a flow chart of a method for inadvertent transmission of a continuous variable Gaussian modulated coherent state quantum provided at a transmitting end according to an embodiment of the present invention;
[0022] Figure 2 is a flow chart of a method for inadvertent transmission of a continuous variable Gaussian modulated coherent state quantum provided at a receiving end according to another embodiment of the present invention;
[0023] Figure 3 It is an example interactive diagram of the method for inadvertent transmission of continuous variable Gaussian modulated coherent state quantum provided by the present invention;
[0024] Figure 4 is a hardware block diagram illustrating a quantum inadvertent transmission device provided according to another embodiment of the present application;
[0025] Figure 5 It is a hardware block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.
[0027] An embodiment of the present invention relates to a method for quantum oblivious transmission of continuous variable Gaussian modulated coherent states, which is applied to a transmitting end, and the transmitting end can be any hardware device with QOT function. This embodiment generates, transmits and measures coherent state quantum sequences, and generates encryption keys to complete the transmission of encrypted information. It utilizes the non-cloning of quantum states and the irreversibility of quantum measurements to enhance the security of communication. Further, based on the forward negotiation mechanism, the transmitting end and the receiving end generate consistent security keys. The randomness of the base selection sequence and the measurement sequence is utilized to achieve oblivious transmission that can resist quantum computer attacks.
[0028] It should be noted that the embodiments of the present application do not specifically limit the specific structure of the execution entity of the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method, as long as it can be run by a computer program or instruction that records the method provided by the embodiments of the present application, and process according to the method provided by the embodiments of the present application.
[0029] like Figure 1 As shown, the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method applied to the transmitting end of this embodiment includes the following steps. The implementation details of the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method of this embodiment are specifically described below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.
[0030] Step 101: The transmitting end generates two random number sequences that obey a Gaussian distribution to prepare a coherent state quantum sequence, and sends the coherent state quantum sequence to the receiving end, so that the receiving end measures the coherent state quantum sequence with a first measurement selection sequence to obtain a measurement result sequence, and generates a second measurement selection sequence based on the first measurement selection sequence, and arranges the two measurement selection sequences in a random order and sends them to the transmitting end.
[0031] Specifically, the sending end generates two random number sequences that obey Gaussian distribution to prepare coherent state quantum sequences.
[0032] In some embodiments, the sending end generates two groups of length n, with a mean of 0 and a variance of VA Gaussian distribution random sequence, defined as {x A} n ,{p A} n . Use {x A ,p A} n As the coordinate values of the orthogonal components X and P in the phase space, prepare n coherent states |X A +iP A >, sequentially combine to obtain a set of coherent state quantum sequences.
[0033] After the coherent state quantum sequence is prepared, it is sent to the receiving end. The receiving end selects the sequence {y0} according to the first measurement n The coherent state quantum sequence is measured as the measurement basis to obtain a measurement result sequence. Then, the receiving end generates a second measurement selection sequence {y1} based on the first measurement selection sequence n The two measurement selection sequences are arranged in random order and sent to the transmitter.
[0034] In some embodiments, the measurement selection sequence {y} generated by the receiving end n is a binary random sequence. In the measurement selection sequence, 0 represents the selection of x basis to measure the coherent state quantum sequence, and 1 represents the selection of p basis to measure the coherent state quantum sequence. In this embodiment, the measurement selection sequence {y} n is a binary sequence, and does not limit the measurement selection sequence {y} n It can only be a binary sequence. It can be any sequence as long as it can be used to indicate the selection of x-basis or p-basis for measurement. No additional restrictions are made here.
[0035] In some embodiments, the process of generating the second measurement selection sequence based on the first measurement selection sequence may be to invert the first measurement selection sequence bit by bit to obtain the second measurement selection sequence; wherein any of the measurement selection sequences is a binary sequence, and 0 represents the selection of the X basis of the coherent state quantum sequence for measurement, and 1 represents the selection of the P basis of the coherent state quantum sequence for measurement.
[0036] It should be understood by those skilled in the art that "first" and "second" are only used to distinguish and describe two measurement selection sequences, and cannot be understood as indicating or implying relative importance, and cannot be understood as indicating the order in which the measurement selection sequences are sent. Here, the receiving end should send the measurement selection sequences to the sending end in a random order. Therefore, the sending end does not know which set of measurement selection sequences the receiving end uses as the measurement basis for measurement, so as to achieve quantum inadvertent transmission.
[0037] Step 102: The transmitting end selects values of corresponding position order in two random number sequences bit by bit according to the two received measurement selection sequences, and generates two data sets.
[0038] After receiving the two measurement selection sequences, the transmitting end sequentially uses the same measurement selection sequence to select the values at corresponding positions of the two random number sequences that obey the Gaussian distribution, and obtains a data set.
[0039] In some embodiments, the transmitting end receives two measurement selection sequences, selects the values of corresponding positions of the two random number sequences bit by bit according to the measurement selection sequence serving as the measurement basis, and obtains the corresponding first data set, and selects the values of corresponding positions of the two random number sequences bit by bit according to another measurement selection sequence, and obtains the corresponding second data set.
[0040] The value of the i-th bit of any one of the measurement selection sequences is used to indicate the selection of the value of the i-th bit of the two random number sequences. The measurement selection sequence is a binary sequence. 0 at any position of the binary sequence indicates the selection of X-based measurement, and 1 indicates the selection of P-based measurement. The value at any position of the random number sequence is used to indicate the coordinate value of the X-based or P-based in the phase space.
[0041] It should be understood by those skilled in the art that the above description of "the sender selects the value at the corresponding position of the random number sequence bit by bit according to the measurement selection sequence as the measurement basis" is to express the correspondence between the data set and the measurement selection sequence, and does not mean that the sender knows which set of measurement selection sequences the receiver uses as the measurement basis. In fact, in order to realize the method of quantum inadvertent transmission, the sender should not be able to know which measurement selection sequence the receiver uses to measure the coherent state quantum sequence.
[0042] For ease of understanding, a specific example of a data set generation process is given here. Assume that both the sender and the receiver generate sequences of length n=16. For the sender, the two sets of random number sequences generated by it should have the following forms respectively.
[0043] {x A} n ={x A1 ,x A2 ,x A3 ,x A4 ,x A5 ,x A6 ,x a7 ,x A8 ,x A9 ,x a10 ,x A11 ,x A12 ,x A13 ,x A14 ,x a15 ,xA16}
[0044] {p A} n ={p A1 ,p A2 ,p A3 ,p A4 ,p A5 ,p A6 ,p A7 ,p A8 ,p A9 ,p A10 ,p A11 ,p A12 ,p A13 ,p A14 ,p A15 ,p A16}
[0045] The receiving end shall generate the first measurement selection sequence {y0} n , based on the first measurement, select the sequence {y0} n Get the second measurement selection sequence {y1} n , where 0 means selecting X-based measurement and 1 means selecting P-based measurement, then {y0} n and {y1} n Has the following form.
[0046] {y0} n ={0,0,1,1,0,1,1,0,0,1,0,0,1,1,0,1}
[0047] {y1} n ={1,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0}
[0048] At this time, the receiving end uses {y0} n As the measurement basis, the coherent state quantum sequence is measured and the measurement result sequence {z B0} n as follows.
[0049] {z B0} n ={x B0 ,x B1 ,p B2 ,p B3 ,x B4 ,p B5 ,p B6 ,x B7 ,x B8 ,p B9 ,x B10 ,x B11 ,p B12,p B13 ,x B14 ,p B15}
[0050] For the transmitter, for the first measurement, the sequence {y0} is selected n , that is, the measurement basis, based on {y0} n For two random number sequences {x A} n ,{p A} n By selecting the values at the corresponding positions bit by bit, we can get the first data set {z A0} n .
[0051] {z A0} n ={x A0 ,x A1 ,p A2 ,p A3 ,x A4 ,p A5 ,p A6 ,x A7 ,x A8 ,p A9 ,x A10 ,x A11 ,p A12 ,p A13 ,x A14 ,p A15}
[0052] Continue based on {y1} n For two random number sequences {x A} n ,{p A} n By selecting the values at the corresponding positions bit by bit, we can get the second data set {z A1} n .
[0053] {z A1} n ={p A0 ,p A1 ,x A2 ,x A3 ,p A4 ,x A5 ,x A6 ,p A7 ,p A8 ,x A9 ,p A10 ,p A11 ,x A12 ,x A13 ,pA14 ,x A15}
[0054] Through the above steps, the sender obtains two data sets {z A0} n ,{z A1} n .
[0055] Step 103: Initiate forward negotiation for the two groups of data to the receiving end respectively to obtain a first encryption key and a second encryption key; send a first message encrypted by the first encryption key and a second message encrypted by the second encryption key to the receiving end.
[0056] Specifically, the sender generates two data sets {z A0} n ,{z A1} n After that, forward negotiation is initiated to the receiving end for the two data sets, where the data set {z A0} n ,{z A1} n As negotiation data, data post-processing is performed at the same time. Among them, data post-processing includes: parameter estimation, error correction and privacy amplification. This step belongs to the existing technology and the process is complicated, so it is not described in detail in this application. A0} n The first encryption key can be obtained by forward negotiation with the receiving end; A1} n Perform forward negotiation with the receiving end to obtain a second encryption key.
[0057] In some embodiments, the transmitting end performs forward negotiation based on the first data set and the measurement result sequence provided by the receiving end to obtain the first key data; the transmitting end performs forward negotiation based on the second data set and the false result sequence generated by the receiving end to obtain the second key data. After obtaining the two sets of key data, the transmitting end intercepts the first key data to obtain the first encryption key, and intercepts the second key data to obtain the second encryption key.
[0058] Specifically, the sending end uses the first data set {z A0} n Perform forward negotiation with the receiving end. At this time, the receiving end B0} n The sending end negotiates with the sending end in a normal manner to obtain the same key data k0; then, the sending end uses the second data set {z A1} nIt is worth mentioning that because the receiving end only measures the coherent state quantum sequence once, it only has one set of measurement result sequences. Therefore, the sending end uses the second data set {z A1} n The forward negotiation is performed with the receiving end. The receiving end pretends to negotiate with the false measurement result sequence without being sent by the sending end, and generates the key data k1 that is irrelevant to the receiving end. Then, the sending end intercepts the key data k0 and the irrelevant key data k1 respectively to obtain the corresponding encryption key. It can be expressed as encryption key f(k0), encryption key f(k1), where f is the interception function.
[0059] It should be noted that in the above description, A0} n or A1} n The description is only for clarity and ease of understanding. In actual application, the sender does not know the correspondence between the data set and the measurement result of the receiver, nor does it know the correspondence between the data set and the measurement basis used by the receiver.
[0060] In some embodiments, after obtaining the encryption key, the encryption process of the information to be transmitted may include: performing an XOR operation on the first message to be sent and the first encryption key to obtain the encrypted first message; performing an XOR operation on the second message to be sent and the second encryption key to obtain the encrypted second message; and sending the encrypted first message and the encrypted second message.
[0061] Specifically, the encrypted message sent from the sender to the receiver can be expressed as: Where f is the intercept function, It is worth noting that those skilled in the art can easily recognize that the encryption method using XOR calculation can be replaced by other symmetric encryption methods, and the XOR calculation method is only exemplary.
[0062] After the two encrypted messages are sent to the receiving end, the receiving end will use the consistent key data k0 obtained after the forward negotiation to produce a decryption key, and decrypt the two encrypted messages according to the decryption key to obtain a decrypted message.
[0063] Those skilled in the art should understand that, as mentioned in step 101 and step 102, the sending end does not know which set of measurement selection sequences the receiving end uses as the measurement basis, so for the key data k0 and the key data k1, the sending end does not know which set of key data is the key data obtained through real and effective negotiation. However, the receiving end knows the measurement basis used and the corresponding measurement results, so the receiving end knows which set of key data is valid. In other words, the receiving end cannot know the content of another encrypted message.
[0064] At this point, the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method applied to the transmitting end of this embodiment can be implemented by executing the above steps 101 to 103.
[0065] Another embodiment of the present invention relates to a method for quantum inadvertent transmission of a continuous variable Gaussian modulated coherent state. In this embodiment, the method for quantum inadvertent transmission of a continuous variable Gaussian modulated coherent state is applied to a receiving end, which may be a hardware device with a QOT function.
[0066] In this embodiment, the receiving end receives the coherent state quantum sequence and measures it; receives the forward negotiation initiated by the sending end, and receives the data set, and obtains the decryption key after the forward negotiation is completed; finally, the encrypted message sent by the sending end is decrypted based on the decryption key to obtain the corresponding message content. By executing the above method, based on quantum indivisibility and non-cloning, it is ensured that quantum state information is difficult to be eavesdropped and tampered with during transmission, and secure quantum state transmission and data encryption and decryption are achieved, protecting the confidentiality of data during the communication process, and based on the randomness of quantum measurement, inadvertent transmission is achieved to resist quantum computer attacks.
[0067] like Figure 2 As shown, a method for inadvertent transmission of a continuous variable Gaussian modulated coherent state quantum is provided in this embodiment, which is applied to a receiving end and includes the following steps. The implementation details of the method for inadvertent transmission of a continuous variable Gaussian modulated coherent state quantum is applied to a receiving end are described in detail below. The following content is only provided for the convenience of understanding the implementation details and is not necessary for implementing this solution.
[0068] Step 201: The receiving end receives the coherent state quantum sequence sent by the sending end, measures the received coherent state quantum sequence with a first measurement selection sequence to obtain a measurement result sequence, generates a second measurement selection sequence according to the first measurement selection sequence, and arranges the two measurement selection sequences in a random order and sends them to the sending end, so that the sending end generates two data sets.
[0069] Specifically, the receiving end generates a first randomly selected sequence of length n, and uses the first randomly selected sequence as a measurement basis to measure the received coherent state quantum sequence to obtain a set of measurement result sequences. At the same time, the receiving end generates a second measurement selection sequence based on the first randomly selected sequence.
[0070] In some embodiments, the process of generating the second measurement selection sequence based on the first measurement selection sequence may be to invert the first measurement selection sequence bit by bit to obtain the second measurement selection sequence; wherein any of the measurement selection sequences is a binary sequence, and 0 represents the selection of the X basis of the coherent state quantum sequence for measurement, and 1 represents the selection of the P basis of the coherent state quantum sequence for measurement.
[0071] It should be understood by those skilled in the art that the measurement selection sequence {y} generated by the receiving end here is n is a binary random sequence. In the measurement selection sequence, 0 represents the selection of x basis to measure the coherent state quantum sequence, and 1 represents the selection of p basis to measure the coherent state quantum sequence. In this embodiment, the measurement selection sequence {y} n is a binary sequence, and does not limit the measurement selection sequence {y} n It can only be a binary sequence. It can be any sequence as long as it can be used to indicate the selection of x-basis or p-basis for measurement. No additional restrictions are made here.
[0072] After waiting for two measurement selection sequences, the two measurement selection sequences are arranged in a random order and sent to the transmitter for the transmitter to generate two data sets. It should be noted that those skilled in the art should understand that "first" and "second" are only used to distinguish and describe the two measurement selection sequences, and cannot be understood as indicating or implying relative importance, and cannot be understood as indicating the order in which the measurement selection sequences are sent. Here, the receiving end should send the first measurement selection sequence and the second measurement selection sequence to the transmitting end in a random order. Therefore, the transmitting end cannot know which set of measurement selection sequences the receiving end uses as the measurement basis for measurement, thereby realizing quantum inadvertent transmission.
[0073] In some embodiments, the transmitting end receives two measurement selection sequences, selects the values of the corresponding positions of the two random number sequences bit by bit according to the measurement selection sequence as the measurement basis, and obtains the corresponding first data set, and selects the values of the corresponding positions of the two random number sequences bit by bit according to another measurement selection sequence, and obtains the corresponding second data set. The value of the i-th bit of any one of the measurement selection sequences is used to indicate the selection of the value of the i-th bit of the two random number sequences, the measurement selection sequence is a binary sequence, 0 at any position of the binary sequence indicates the selection of X-based measurement, 1 indicates the selection of P-based measurement, and the value at any position of the random number sequence is used to indicate the coordinate value of the X-based or P-based in the phase space.
[0074] It should be understood by those skilled in the art that the above description of "the sender selects the value at the corresponding position of the random number sequence bit by bit according to the measurement selection sequence as the measurement basis" is to express the correspondence between the data set and the measurement selection sequence, and does not mean that the sender knows which set of measurement selection sequences the receiver uses as the measurement basis. In fact, in order to realize the method of quantum inadvertent transmission, the sender should not be able to know which measurement selection sequence the receiver uses to measure the coherent state quantum sequence.
[0075] Step 202: The receiving end accepts the forward negotiation initiated by the sending end and obtains the decryption key through negotiation.
[0076] In some embodiments, the transmitting end generates a first data set according to the measurement selection sequence serving as the measurement basis, and generates a second data set according to another measurement selection sequence; obtains third key data through the forward negotiation based on the measurement result sequence and the first data set; and intercepts the third key data to obtain a decryption key.
[0077] Specifically, the receiving end receives the sending end respectively {z A0} n ,{z A1} n Initiate a forward negotiation. For the first data set {z A0} n , the receiving end is based on the measurement result {z B0} n Negotiate with the sender in a normal manner to obtain consistent key data k0.
[0078] It is worth mentioning that because the receiving end only measures the coherent state quantum sequence once, it only has one set of measurement result sequences. Therefore, the sending end uses the second data set {z A1} n When performing forward negotiation with the receiving end, the receiving end pretends to negotiate with the sending end by using a false measurement result sequence without being sent by the sending end, and generates key data k1 that is irrelevant to the receiving end. In addition, since the receiving end knows that for the first data set {z A0} n The negotiation is carried out with the sending end in a normal manner, so the receiving end will know that the key data k0 is consistent and valid. Therefore, the receiving end retains the valid key data k0 and uses the key data k0 to make a decryption key, specifically, the key data k0 is intercepted to obtain the decryption key.
[0079] Step 203: The receiving end receives the first message encrypted by the first encryption key and the second message encrypted by the second encryption key sent by the sending end; uses the decryption key to decrypt the first message and the second message respectively, and parses out the first message or the second message.
[0080] Specifically, the receiving end obtains the encrypted first message and second message sent by the sending end, and uses the decryption key obtained by intercepting the key data k0 to decrypt the message. The decryption process can be represented as follows: Where f is the intercept function, It is worth noting that those skilled in the art can easily recognize that the decryption method using XOR calculation can be replaced by other symmetric decryption methods, and the XOR calculation method is only exemplary.
[0081] It should be understood by those skilled in the art that the receiving end knows the measurement basis used and the corresponding measurement result, so the receiving end knows which set of key data is valid. In other words, the receiving end can only decrypt one encrypted message and cannot know the content of another encrypted message. So far, the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method applied to the receiving end of this embodiment can be implemented by executing the above steps 201 to 203.
[0082] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0083] In addition, in some embodiments, the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method of this embodiment has the following overall process: Figure 3 As shown, the specific steps include:
[0084] 1. The sender generates two sets of length n, with a mean of 0 and a variance of V A The Gaussian distributed random number sequence {x A} n ,{p A} n , use {x A ,p A} n As the coordinate values of the orthogonal components X and P in the phase space, prepare n coherent states |X A +iP A >.
[0085] 2. The transmitter sends n coherent states to the receiver.
[0086] 3. The receiver selects a b∈{0,1} and generates a set of binary random sequences {y b} n , use {y b} n As the measurement basis of homodyne measurement, the n coherent states are subjected to homodyne detection, where 0 in the binary random sequence represents the selection of X basis, and 1 represents the selection of P basis. The measurement result is recorded as {z Bb} n At the same time, the receiving end generates each bit 0 and 1 and {z b} n The opposite binary sequence {y 1-b} n .
[0087] 4. The receiving end will {y0} n and {y1} n Sent to the sender.
[0088] 5. The sender cannot know which sequence the receiver chooses as the measurement basis, but can use {y0} n and {y1} n The corresponding basis will be {x A} n ,{p A} n Divide into two groups of sequences {z A0} n 、{z A1} n .
[0089] 6. The sender sends negotiation data to the receiver. A0} n 、{z A1} n Initiate forward negotiation and perform data post-processing. The receiving end has a sequence {z Ab} n Use the normal method to negotiate with the sender to obtain the same key data k b The receiver has the following sequence {z A1-b} n , pretending to negotiate with the sender without being discovered by the sender, at which time the sender obtains key data k that is irrelevant to the receiver 1-b .
[0090] It is worth noting that the transmitter should not know which measurement selection sequence the receiver uses to measure the coherent state quantum sequence, so {z Ab} n The uncertainty of the measurement selection sequence is expressed in this way, which does not mean that {z Ab} n is a newly generated sequence. Generally speaking, b can be 0 or 1.
[0091] 7. The sender sends to the receiver Where f is the intercept function and ⊕ represents the XOR calculation.
[0092] 8. Decoding at the receiving end
[0093] Those skilled in the art should understand that, in the above process, the sending end does not know which set of binary random sequences the receiving end uses as the measurement basis. b and key data k 1-b , the sending end does not know which set of key data is the key data obtained through real and effective negotiation. But the receiving end knows the measurement basis used and the corresponding measurement results, so the receiving end knows which set of key data is valid. In other words, at this time, the sending end does not know which encrypted message the receiving end decrypted, and the receiving end cannot know the content of another encrypted message. So far, the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method of the embodiment of the present invention can be implemented through steps 1-8.
[0094] It should be noted that those skilled in the art can easily recognize that the encryption method using XOR calculation can be replaced by other symmetric encryption methods. The XOR calculation method is merely exemplary and is used to illustrate the principles of the present invention. It does not limit the scope of the present invention. Those skilled in the art can make various combinations, modifications and equivalent substitutions to the above embodiments without departing from the spirit and scope of the present invention.
[0095] In addition, in all the above embodiments, a possible attack mode is that the receiving end replaces the homodyne detection device with the heterodyne detection device, thereby measuring all {x B}、{p b}, by pretending to measure only half of the data, two keys consistent with the sender are obtained during the forward negotiation process of data post-processing, thereby deceiving m0 and m1. However, since the use of heterodyne detection devices will reduce the security coding rate and maximum coding channel attenuation between the sender and the receiver, the coding rate of the sender and the receiver will be significantly reduced or even not coded, which will be discovered by the sender, thus avoiding this attack method.
[0096] In addition, those skilled in the art can understand that the embodiments of the present application do not specifically limit the specific structure of the execution entity of the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method, as long as it can be run by recording the computer program or instructions of the method provided by the embodiments of the present application, and processing can be performed according to the method provided by the embodiments of the present application.
[0097] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0098] See also Figure 4 Another embodiment of the present invention relates to a quantum inadvertent transmission device, which can be used to implement the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method provided in the present application, such as Figure 4 shown.
[0099] Specifically, the device includes sending-end device hardware and receiving-end device hardware, the sending-end device hardware and the receiving-end device hardware are connected by a quantum link formed by an optical fiber; each module inside the sending-end device hardware and the receiving-end device hardware is connected by a classical link.
[0100] Specifically, the hardware of the sending end device includes: a classical communication module, a quantum state preparation module, a processor and a memory; the hardware of the receiving end device includes: a classical communication module, a quantum state detection module, a processor and a memory.
[0101] The classical communication module of the sending device hardware is responsible for the classical communication between the sending end and the receiving end; the quantum state preparation module of the sending device hardware is responsible for preparing and sending quantum states; the processor of the sending device hardware is used for classical data processing required by the quantum oblivious transfer protocol such as data post-processing, encryption and decryption; the memory of the sending device hardware is used for data storage related to the quantum oblivious transfer protocol.
[0102] The classical communication module of the receiving device hardware is responsible for the classical communication between the receiving end and the sending end; the quantum state detection module of the receiving device hardware is responsible for receiving and detecting quantum states; the processor of the receiving device hardware is used for performing data post-processing, encryption and decryption and other classical data processing required by the quantum oblivious transfer protocol; the memory of the receiving device hardware is used for storing data related to the quantum oblivious transfer protocol.
[0103] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0104] See also Figure 5 , another embodiment of the present invention relates to an electronic device, such as Figure 5 As shown, it includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program or instruction that can be executed by the at least one processor, and the computer program or instruction is executed by the at least one processor so that the at least one processor can execute the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method as described above.
[0105] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.
[0106] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.
[0107] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0108] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0109] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0110] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0111] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A method for quantum inadvertent transmission of continuous variable Gaussian modulated coherent states, It is characterized in that Applied to the sending end, including: Generate two random number sequences that obey Gaussian distribution to prepare a coherent state quantum sequence, send the coherent state quantum sequence to a receiving end, so that the receiving end measures the coherent state quantum sequence with a first measurement selection sequence to obtain a measurement result sequence, and generate a second measurement selection sequence based on the first measurement selection sequence, and arrange the first measurement selection sequence and the second measurement selection sequence in a random order and send them to a sending end; According to the received first measurement selection sequence and the received second measurement selection sequence, values of corresponding position order are selected bit by bit from the two random number sequences to generate a first data set and a second data set; Initiate forward negotiation with the receiving end for the first data set and the second data set to obtain a first encryption key and a second encryption key; send a first message encrypted by the first encryption key and a second message encrypted by the second encryption key to the receiving end.
2. The method for inadvertent transmission of continuous variable Gaussian modulated coherent states according to claim 1, It is characterized in that The step of selecting values of corresponding position order from the two random number sequences bit by bit according to the received first measurement selection sequence and the second measurement selection sequence to generate a first data set and a second data set includes: receiving the two measurement selection sequences, and selecting the values of corresponding positions of the two random number sequences bit by bit according to the measurement selection sequence serving as the measurement basis to obtain a first data set, and selecting the values of corresponding positions of the two random number sequences bit by bit according to another measurement selection sequence to obtain a second data set; The value of the i-th bit of any one of the measurement selection sequences is used to indicate the selection of the value of the i-th bit of the two random number sequences. The measurement selection sequence is a binary sequence. 0 at any position of the binary sequence indicates the selection of X-based measurement, and 1 indicates the selection of P-based measurement. The value at any position of the random number sequence is used to indicate the coordinate value of the X-based or P-based in the phase space.
3. The method for inadvertent quantum transmission of continuous variable Gaussian modulated coherent states according to claim 1, It is characterized in that The initiating forward negotiation with the receiving end for the first data set and the second data set to obtain a first encryption key and a second encryption key includes: Performing forward negotiation according to the first data set and the measurement result sequence provided by the receiving end to obtain first key data; performing forward negotiation according to the second data set and the false result sequence generated by the receiving end to obtain second key data; The first key data is intercepted to obtain the first encryption key, and the second key data is intercepted to obtain the second encryption key.
4. The method for inadvertent transmission of continuous variable Gaussian modulated coherent states according to claim 1, It is characterized in that The sending to the receiving end the first message encrypted by the first encryption key and the second message encrypted by the second encryption key comprises: Performing an XOR operation on the first message to be sent and the first encryption key to obtain the encrypted first message; Performing an XOR operation on the second message to be sent and the second encryption key to obtain the encrypted second message; The encrypted first message and the encrypted second message are sent.
5. The method for inadvertent transmission of continuous variable Gaussian modulated coherent states according to claim 1, It is characterized in that The generating of two random number sequences obeying Gaussian distribution to prepare a coherent state quantum sequence comprises: The sender generates two sets of length n, with mean 0 and variance V A A Gaussian distributed random number sequence is used to combine the two groups of random number sequences to represent the phase space coordinates of the X basis and the P basis.
6. A method for quantum inadvertent transmission of continuous variable Gaussian modulated coherent states, It is characterized in that Applied to the receiving end, the method comprises: The receiving and transmitting end obtains a coherent state quantum sequence prepared by a random number sequence obeying a Gaussian distribution; Using a randomly generated first measurement selection sequence as a measurement basis to measure the received coherent state quantum sequence, obtaining a measurement result sequence, generating a second measurement selection sequence according to the first measurement selection sequence, arranging the first measurement selection sequence and the second measurement selection sequence in a random order and sending them to the transmitting end, so that the transmitting end generates two data sets; Accepting the forward negotiation initiated by the sending end, and obtaining a decryption key through negotiation; Receive a first message encrypted by a first encryption key and a second message encrypted by a second encryption key sent by the sender; use the decryption key to decrypt the first message and the second message respectively, and parse out the first message or the second message.
7. A method for inadvertent transmission of continuous variable Gaussian modulated coherent states according to claim 6, It is characterized in that The first measurement selection sequence is a binary sequence, and generating the second measurement selection sequence according to the first measurement selection sequence includes: The first measurement selection sequence is bitwise inverted to obtain a second measurement selection sequence, wherein 0 represents selecting the X basis of the coherent state quantum sequence for measurement, and 1 represents selecting the P basis of the coherent state quantum sequence for measurement.
8. The method for inadvertent transmission of a continuous variable Gaussian modulated coherent state quantum according to claim 6, It is characterized in that The accepting the forward negotiation initiated by the sending end and obtaining the decryption key through negotiation includes: Based on the measurement result sequence and the first data set, third key data is obtained through the forward negotiation; and the third key data is intercepted to obtain a decryption key.
9. An electronic device, It is characterized in that include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the continuous variable Gaussian modulated coherent state quantum inadvertent transmission method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Continuous random measurement matrix-based continuous variable quantum key distribution method
CN107733640A
Anti-collusion quantum key negotiation method, computer terminal and storage device
CN110365477A
Casual transmission method based on quantum information, electronic equipment and storage medium
CN117792635A
Continuous variable Gaussian modulation compressed state quantum casual transmission method
CN118764181A
Casual quantum transmission method, electronic equipment and storage medium
CN118764190A
