Continuous variable Gaussian modulation compressed state quantum casual transmission method
Through the continuous variable Gaussian modulated compressed state quantum inadvertent transmission method, the unclonability and irreversibility of quantum states are used, combined with the forward negotiation mechanism, to generate a consistent security key, which solves the problem of traditional technology being unable to resist quantum computer attacks and achieves Highly secure information transmission.
Patent Information
- Application Number
- CN202410900763.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-11
AI Technical Summary
Traditional secure multi-party computing technology cannot resist attacks by quantum computers, and existing inadvertent transmission methods have insufficient security when faced with quantum computers.
The continuous variable Gaussian modulated compressed state quantum inadvertent transmission method is used to generate and send compressed state quantum sequences, taking advantage of the non-clonability of quantum states and the irreversibility of quantum measurements, combined with the forward negotiation mechanism, to generate consistent security keys and realize information Transmission security is enhanced.
Effectively resist quantum computer attacks, enhance communication security, ensure the confidentiality and irreversibility of information transmission, and improve the security of inadvertent transmission.
Smart Images

Figure CN118764181A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of quantum communication technology, and in particular to a method for continuous variable Gaussian modulated compressed state quantum inadvertent transmission. Background Art
[0002] Oblivious Transfer (OT) is a protocol in cryptography used in the interaction process between the sender and the receiver. The sender can send multiple messages, but the receiver can only get one of the messages and cannot know the other messages. At the same time, the sender cannot know which message the receiver has selected. Therefore, neither the sender nor the receiver will know the specific information the other party has learned.
[0003] Since traditional secure multi-party computing technologies are mostly built using asymmetric encryption 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 continuous variable Gaussian modulated compressed state quantum oblivious transmission method, so as to realize the construction of oblivious transmission based on the continuous variable compressed state quantum communication method that can resist quantum computer attacks.
[0005] In order to solve the above technical problems, the embodiments of the present invention provide a continuous variable Gaussian modulated compressed state quantum inadvertent transmission method, which is applied to the transmitting end and includes:
[0006] Generate a basis selection sequence and a random number sequence obeying a Gaussian distribution to prepare a compressed state quantum sequence, and send the compressed state quantum sequence to a receiving end, so that the receiving end generates a measurement selection sequence to measure the compressed state quantum sequence to obtain a measurement result sequence;
[0007] Sending the basis selection sequence to the receiving end, so that the receiving end generates two position sets according to the measurement selection sequence and the basis selection sequence, and arranges the two position sets in a random order and sends them to the sending end, wherein any one of the position sets represents the position of the same selection value in the measurement selection sequence and the basis selection sequence in the sequence, and the other position set represents the position of different selection values in the sequence;
[0008] Receive two position sets and initiate forward negotiation to the receiving end, respectively generate a first encryption key and a second encryption key, and 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 compressed state quantum inadvertent transmission method, which is applied to a receiving end and includes:
[0010] Receiving a compressed state quantum sequence sent by a transmitting end, and randomly generating a measurement selection sequence to measure the compressed state quantum sequence to obtain a measurement result sequence;
[0011] Receive a basis selection sequence sent by the transmitting end, compare the basis selection sequence with the measurement selection sequence, and obtain a first position set and a second position set; wherein the first position set represents the positions of the same selection values in the measurement selection sequence and the basis selection sequence in the sequence, and the second position set represents the positions of different selection values in the sequence; arrange the first position set and the second position set in a random order and send them to the transmitting end;
[0012] Dividing the measurement result sequence in order according to the first position set to obtain a first result subsequence, and dividing the measurement result sequence according to the second position set to obtain a second result subsequence;
[0013] Accept the forward negotiation initiated by the sending end, generate a decryption key, decrypt the first message encrypted by the first encryption key and the second message encrypted by the second encryption key, and parse out the first message or the second message.
[0014] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable 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 a continuous variable Gaussian modulated compressed state quantum inadvertent transmission method.
[0015] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements a continuous variable Gaussian modulated compressed state quantum inadvertent transmission method.
[0016] Compared with the related art, the embodiments of the present invention generate a basis selection sequence and a random number sequence that obeys Gaussian distribution at the sending end, use these sequences to prepare a compressed state quantum sequence, and send it to the receiving end; the receiving end generates a measurement selection sequence and measures the received compressed state quantum sequence to obtain a measurement result sequence; the sending end sends the basis selection sequence to the receiving end; the receiving end generates two position sets according to the measurement selection sequence and the basis selection sequence, and sends them to the sending end; the sending end receives the two position sets and conducts forward negotiation with the receiving end to generate a first encryption key and a second encryption key respectively; the sending end encrypts the first message using the first encryption key, encrypts the second message using the second encryption key, and sends the encrypted message to the receiving end. The embodiments of the present invention complete the transmission of encrypted information by generating, sending and measuring compressed state quantum sequences, and generating encryption keys, and utilize the non-cloning of quantum states and the irreversibility of quantum measurements to enhance the security of communication, and further based on the forward negotiation mechanism, the sending end and the receiving end generate consistent security keys, and utilize the randomness of the basis selection sequence and the measurement sequence to achieve inadvertent transmission that can resist quantum computer attacks. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] 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.
[0018] Figure 1 It is a flow chart of a method for continuous variable Gaussian modulated compressed state quantum inadvertent transmission applied at a transmitting end according to an embodiment of the present invention;
[0019] Figure 2 is a flow chart of a method for continuous variable Gaussian modulated compressed state quantum inadvertent transmission applied at a receiving end according to another embodiment of the present invention;
[0020] Figure 3 It is an example interactive diagram of the continuous variable Gaussian modulated compressed state quantum inadvertent transmission method provided by the present invention;
[0021] Figure 4 is a hardware block diagram illustrating a quantum inadvertent transmission device provided according to another embodiment of the present application;
[0022] Figure 5 It is a hardware block diagram of an electronic device provided according to another embodiment of the present application. DETAILED DESCRIPTION
[0023] 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.
[0024] An embodiment of the present invention relates to a continuous variable Gaussian modulated compressed state quantum oblivious transmission method, which is applied to a sending end, and the sending end can be any hardware device with QOT function. This embodiment generates, sends and measures compressed state quantum sequences, and generates encryption keys to complete the transmission of encrypted information. It uses 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 sending end and the receiving end generate consistent security keys. The randomness of the base selection sequence and the measurement sequence is used to achieve oblivious transmission that can resist quantum computer attacks.
[0025] 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 compressed 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.
[0026] like Figure 1 As shown, a method for inadvertent transmission of a continuous variable Gaussian modulated compressed state quantum provided by this embodiment includes the following steps. The implementation details of the method for inadvertent transmission of a continuous variable Gaussian modulated compressed state quantum provided by this embodiment 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.
[0027] Step 101: The sending end generates a basis selection sequence and a random number sequence obeying a Gaussian distribution to prepare a compressed state quantum sequence, and sends the compressed state quantum sequence to the receiving end. The receiving end generates a measurement selection sequence to measure the compressed state quantum sequence to obtain a measurement result sequence.
[0028] Specifically, the transmitting end generates a set of basis selection sequences with a length of n and a set of Gaussian distributed random number sequences with a length of n, and prepares n x-basis squeezed state or p-basis squeezed state quantum sequences in sequence through the above two sets of sequences.
[0029] In some embodiments, a set of length n, with mean 0 and variance V is generated. AThe Gaussian distributed random number sequence {r A} n ; Generate a set of binary sequences of length n as the basis to select the sequence {x} n Among them, based on the random number sequence {r A} n (r A ,0) or (0,r A ) represents the coordinate values of the orthogonal components x basis and p basis in the phase space. The 0 in the basis selection sequence represents the selection of the x basis to prepare the compressed state quantum sequence, and 1 represents the selection of the p basis to prepare the compressed state quantum sequence. A} n and the basis selection sequence {x} n Afterwards, n x-basis squeezed state or p-basis squeezed state quantum sequences are prepared in sequence.
[0030] Specifically, those skilled in the art will appreciate that, in this embodiment, the base selection sequence {x} n is a binary sequence, and the base selection sequence {x} is not limited n It can only be a binary sequence, which can be any sequence as long as it can be used to represent the selection of x-based or p-based to prepare a compressed state quantum sequence. No additional restrictions are made here.
[0031] In some embodiments, after preparing n x-basis compressed states or p-basis compressed quantum sequences, the compressed state quantum sequences are sent to a receiving end. The receiving end generates a measurement selection sequence {y} of length n n The received compressed state quantum sequence is measured to obtain a measurement result sequence. Here, the measurement selection sequence {y} generated by the receiving end is n It is also a binary random sequence. In the measurement selection sequence, 0 represents the selection of the x basis to measure the compressed state quantum sequence, and 1 represents the selection of the p basis to measure the compressed state quantum sequence.
[0032] It should also be noted that 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.
[0033] Step 102: The transmitter sends the basis selection sequence to the receiver. The receiver generates two position sets according to the measurement selection sequence and the basis selection sequence, and sends the two position sets to the transmitter in a random order.
[0034] Specifically, the sending end selects the basis sequence {x}n Sent to the receiving end, so that the receiving end can select the sequence {y} according to the measurement n and the basis selection sequence {x} n Perform basis vector comparison and generate two position sets {y b} and {y 1-b}, b∈{0,1}. Among them, any one position set represents the position of the same selected value in the measurement selection sequence and the basis selection sequence in the sequence, and the other position set represents the position of different selected values in the sequence. After the comparison is completed, the receiving end sends the two position sets to the sending end.
[0035] For ease of understanding, here is an example of obtaining two position sets by comparing basis vectors, for example:
[0036] There exists a basis selection sequence {x} n ={0,1,0,1,1}, measure the selected sequence {y} n ={1,1,0,0,1}; then there is a position set {y b}={2,3,5}, another position set {y 1-b After obtaining the position set, the receiver arranges them in random order and sends them to the sender.
[0037] It is worth mentioning that the above-mentioned position combinations are sent after random arrangement, so that the sender does not know which position set of the receiver is obtained by the real measurement result, that is, the randomness of the basis selection sequence and the measurement sequence is realized, thereby realizing inadvertent transmission that can resist quantum computer attacks.
[0038] In some embodiments, at the transmitting end, the basis selection sequence {x} n Before sending to the receiving end, the following steps a-b may also be included:
[0039] Step a: The transmitting end receives partial data in a measurement result sequence obtained by measuring the compressed state quantum sequence from the receiving end, and confirms that the receiving end has completed the measurement of the compressed state quantum sequence according to the partial data in the measurement result sequence.
[0040] Specifically, the sender and receiver select part of the data for "storage-measurement attack" detection to confirm that the receiver has completed the measurement of the quantum sequence. If the detection result passes, the detected data is discarded and the subsequent steps are continued. If the detection fails, this round of quantum communication process ends.
[0041] Step b: The transmitting end receives part of the data in the measurement result sequence obtained by measuring the compressed state quantum sequence sent by the receiving end, and performs parameter evaluation with the receiving end based on the part of the data in the measurement result sequence to confirm that the receiving end can generate a security key.
[0042] Specifically, the sender and receiver randomly select a portion of data for parameter evaluation to ensure that this quantum communication has not been attacked by a third party. If both parties confirm that a secure key can be generated, they continue with the next process and discard the data used for parameter evaluation; if a secure key cannot be generated, the quantum communication is abandoned and the process starts again.
[0043] In some embodiments, after sequentially executing steps a-b, the transmitting end sends a basis selection sequence to the receiving end, so that the receiving end generates two position sets according to the measurement selection sequence and the basis selection sequence, and sends the two position sets to the transmitting end.
[0044] Step 103: The sending end receives two position sets and initiates forward negotiation with the receiving end, generates a first encryption key and a second encryption key respectively, and sends a first message encrypted by the first encryption key and a second message encrypted by the second encryption key to the receiving end.
[0045] Specifically, the sending end receives two position sets and initiates forward negotiation to the receiving end. Based on the negotiation results, a first encryption key and a second encryption key are generated respectively. The sending end sends a first message encrypted by the first encryption key and a second message encrypted by the second encryption key to the receiving end.
[0046] In some embodiments, after the transmitting end receives two position sets and before initiating forward negotiation to the receiving end, it also includes: the transmitting end receives two position sets, and divides the random number sequence into a first subsequence and a second subsequence according to the two position sets; wherein the position of each random number in the first subsequence in the random number sequence matches the position in one of the position sets; and the position of each random number in the second subsequence in the random number sequence matches the position in the other position set.
[0047] Specifically, the sender receives two position sets {y b} and {y 1-b}, b∈{0,1}, where any one position set represents the position of the same selected value in the measurement selection sequence and the basis selection sequence in the sequence, and the other position set represents the position of different selected values in the sequence. The sending end converts the random number sequence {r A} n Perform bitwise division to obtain {r Ab} and {r A1-b}, b∈{0,1}. Then, the sender sends negotiation data to the receiver, that is, for the two sets of data {r Ab} and {r A1-b} respectively initiate forward negotiation and perform data post-processing. 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. Ab}, the receiving end negotiates with the sending end in a normal way to obtain the key data k b , for {r A1-b}, the receiving end pretends to negotiate without being discovered by the sending end and obtains the key data k 1-b , the above b∈{0,1}.
[0048] It should be understood by those skilled in the art that in the above-mentioned process of obtaining the secret key data, for the secret key data k b and key data k 1-b The sender does not know which set of key data is the key data obtained through real and effective negotiation. Therefore, when transmitting encrypted messages, inadvertent transmission can be achieved to resist quantum computer attacks.
[0049] In some embodiments, after obtaining the key data, it also includes intercepting the first key data, that is, intercepting the first encryption key; and further intercepting the second key data to generate the second encryption key.
[0050] Specifically, the sending end has a key data k b and irrelevant key data j 1-b The corresponding encryption keys are intercepted respectively, which can be expressed as encryption key f(k0), encryption key f(k1), where b=0 and f is the interception function.
[0051] 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.
[0052] 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.
[0053] Another embodiment of the present invention relates to a method for continuous variable Gaussian modulated compressed state quantum oblivious transmission. In this embodiment, the continuous variable Gaussian modulated compressed state quantum oblivious transmission method is applied to a receiving end, and the receiving end can be a hardware device with QOT function. In this embodiment, the receiving end receives the compressed state quantum sequence sent by the sending end, randomly generates a measurement selection sequence, measures the compressed state quantum sequence, and obtains a measurement result sequence; receives the basis selection sequence sent by the sending end, compares the basis selection sequence and the measurement selection sequence, obtains two position sets, sends the position set to the sending end, divides the measurement results according to the position set, and forward negotiates with the sending end according to the division result to obtain a decryption key, and finally decrypts the encrypted message according to the decryption key. This implementation method is based on quantum indivisibility and non-cloning, 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 oblivious transmission that can resist quantum computer attacks.
[0054] like Figure 2 As shown, a continuous variable Gaussian modulated compressed state quantum oblivious transmission method provided in this embodiment is applied to a receiving end, and includes the following steps. The implementation details of the continuous variable Gaussian modulated compressed state quantum oblivious transmission method applied to the receiving end are specifically described below. The following content is only for the convenience of understanding the implementation details provided, and is not necessary for the implementation of this solution.
[0055] Step 201: The receiving end receives the compressed state quantum sequence sent by the sending end, and randomly generates a measurement selection sequence to measure the compressed state quantum sequence to obtain a measurement result sequence.
[0056] Specifically, the receiving end receives the compressed quantum sequence of length n sent by the sending end, and correspondingly randomly generates a set of measurement selection sequences {y} of length n n The compressed state quantum sequence is measured to obtain the measurement result, which is recorded as {r B} n .
[0057] In some embodiments, the receiving end randomly generates a set of measurement selection sequences {y} of length n n , including: the receiving end generates a set of binary sequences as the measurement selection sequence {y} n The compressed state quantum sequence is measured according to the selected values in the measurement selection sequence to obtain the measurement result {r B} nThe binary sequence is composed of several selected values of 0 and 1. The selected value 0 indicates that the x-based measurement of the compressed state quantum sequence is selected, and the selected value 1 indicates that the p-based measurement of the compressed state quantum sequence is selected. It should be clarified here that the measurement selection sequence {y} n is a binary sequence and does not represent 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.
[0058] In some embodiments, after obtaining the measurement result {r B} n After that, the receiving end and the sending end perform "storage-measurement attack" detection and parameter evaluation. Specifically, the description of the process of "storage-measurement attack" detection and parameter evaluation has been recorded in step a-step b included in some embodiments of step 102, which will not be repeated here. For details, please refer to the relevant parts.
[0059] Step 202: The receiving end receives the basis selection sequence sent by the transmitting end, compares the basis selection sequence with the measurement selection sequence to obtain a first position set and a second position set, and arranges the first position set and the second position set in a random order and sends them to the transmitting end.
[0060] Specifically, the receiving end receives the basis selection sequence {x} sent by the sending end n , where the base selection sequence is a set of binary sequences of length n. The sender selects the sequence {x} according to the base n and measure the selected sequence {y} n The basis vectors are compared bit by bit. In this embodiment, the basis selection sequence {x} n and measure the selected sequence {y} n They are all binary random sequences, so according to probability, about 50% of the basis information is consistent. The receiving end selects the basis sequence {x} n and measure the selected sequence {y} n , the consistent and inconsistent sequence bit information are divided into two position sets {y b} and {y 1-b}, where b∈{0,1}. After obtaining the position set, both position sets are sent to the transmitter, so that the transmitter selects the sequence {y} based on the measurements generated by the two position sets. n According to the two position sets, the random number sequence {r A} n Perform bitwise division to obtain {r Ab} and {r A1-b}, b∈{0,1}.
[0061] It is worth mentioning that the above-mentioned position combinations are sent after random arrangement, so that the sender does not know which position set of the receiver is obtained by the real measurement result, that is, the randomness of the basis selection sequence and the measurement sequence is realized, thereby realizing inadvertent transmission that can resist quantum computer attacks.
[0062] The above basis vector alignment can be simply described by an example, for example:
[0063] Assume n = 5, the receiving end generates a base selection sequence {x} of length 5 n ={0,1,0,1,1}, the sender generates {y} with a length of 5 n ={1,1,0,0,1}; the sender selects the sequence {x} according to the basis n and measure the selected sequence {y} n The basis vectors are compared bit by bit, so there are two position sets after the basis vectors are compared: the position set of the same position {y b}={2,3,5}, the position set of different positions {y 1-b}={1,4}, where b∈{0,1}.
[0064] Step 203: The receiving end divides the measurement result sequence in order according to the first position set to obtain a first result subsequence, and divides the measurement result sequence according to the second position set to obtain a second result subsequence.
[0065] Specifically, the receiving end obtains two position sets, wherein the first position set represents the positions of the same selected values in the measurement selection sequence and the basis selection sequence in the sequence, and the second position set represents the positions of different selected values in the sequence.
[0066] Specifically, as shown in the example of basis vector alignment given above, after alignment, the position set {y b}={2,3,5}, the position set of different positions {y 1-b}={1,4}, where b∈{0,1}. Further, the measurement result sequence {r B} n Divide, that is, divide by the position set {y b}={2,3,5}, select the measurement result sequence {r B} n The measurement results at the 2nd, 3rd and 5th positions on the first result subsequence {r Bb}, similarly, we can also select the measurement result sequence {r Bb} n The measurement results at the 1st and 4th positions of the second result subsequence {r B1-b}.
[0067] Step 204: The receiving end accepts the forward negotiation initiated by the sending end, generates a decryption key, decrypts the first message encrypted by the first encryption key and the second message encrypted by the second encryption key, and parses out the first message or the second message.
[0068] Specifically, the receiving end accepts the forward negotiation initiated by the sending end, and the receiving end Bb} n and {r B1-b} and the receiving end's {r Ab},{r A1-b}, b∈{0,1} for negotiation. Before forward negotiation, both the receiving end and the sending end need to perform data post-processing. The data post-processing steps belong to the existing technology and the process is complicated. The specific process is not within the scope of patent protection, so it will not be described in detail here. The receiving end will treat {r Bb} n and {r Ab} Negotiate with the sender in a normal way to obtain the same key data k b And retain; for inconsistent basis vector comparison results {r A1-b} and {r B1-b}, pretend to negotiate without the sender noticing, and obtain irrelevant key data k 1-b .
[0069] In some embodiments, the receiving end only uses the key data k b The first message and the second message sent by the sending end are intercepted and the decryption key is obtained. On this basis, in some embodiments, the receiving end decrypts the first message and the second message sent by the sending end according to the decryption key.
[0070] Specifically, the decryption process 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 decryption method using XOR calculation can be replaced by other symmetric decryption methods, and the XOR calculation method is only exemplary.
[0071] Those skilled in the art should understand that the sending end does not know which set of positions the receiving end specifically uses to make the comparison result consistent, so for key data k0 and 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 result and the basis vector comparison result, so the receiving end knows which set of key data is valid, but the receiving end can only use the correct key to decrypt the message, so the receiving end cannot know the content of another encrypted message.
[0072] Since the first embodiment corresponds to this embodiment, this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in this embodiment are still valid in this embodiment, and the technical effects that can be achieved in this embodiment can also be achieved in the first embodiment. In order to reduce repetition, they will not be repeated here.
[0073] In addition, in some embodiments, the continuous variable Gaussian modulated compressed state quantum inadvertent transmission method provided by the present application has an overall interaction process as follows: Figure 3 As shown, the specific steps include:
[0074] 1. The sender generates a set of length n, with a mean of 0 and a variance of V A The Gaussian distributed random number sequence {r A} n and a set of binary random sequences {x} of length n n , where the binary random sequence {x} n 0 in the equation represents that the sender selects the x basis, and 1 represents that the sender selects the p basis. n , the sender uses (r A ,0) or (0,r A ) as the coordinate values of the orthogonal components x and p in the phase space, and prepare n x-basis squeezed states or p-basis squeezed states in sequence.
[0075] 2. The sender sends n squeezed states to the receiver.
[0076] 3. The receiving end generates a binary random sequence {y} of length n n , where 0 in the binary random sequence represents the selection of x basis for measurement, and 1 represents the selection of p basis for measurement. The measurement result is recorded as {r B} n .
[0077] 4. The sender and receiver select part of the data for "storage-measurement attack" detection to confirm that the receiver has completed the quantum state measurement. If the detection result passes, this part of the detected data is discarded and the subsequent steps are continued. If the detection fails, the next round of the protocol process ends.
[0078] 5. The sender and receiver randomly select a portion of data for parameter evaluation to ensure that this quantum communication has not been attacked by a third party. If both parties confirm that a secure key can be generated, they continue with the next process and discard the data used for parameter evaluation; if a secure key cannot be generated, the quantum communication is abandoned and the process starts again.
[0079] 6. The sender sends the binary random sequence {x} n Send to the receiving end.
[0080] 7. The receiving end is for {x} n and {y} n Perform basis vector comparison. Since both are binary random sequences, according to probability, about 50% of the basis information is consistent. The receiving end divides the consistent and inconsistent sequence bit information into two sets {y b} and {y 1-b}, where b∈{0,1}, and select {r B} n Corresponding to the position, we get the sequence {r Bb}.
[0081] 8. The receiver sends {y0} and {y1} to the sender.
[0082] 9. The sender divides {r A} n Divided into {r A0},{r A1}. The receiving end has a sequence {r Ab}Use the normal method to negotiate with the sender to obtain the same key data k b The receiving end is inconsistent with the measurement basis sequence {r A1-b}, pretending to negotiate with the sender without being discovered by the sender, at which time the sender obtains key data k that has nothing to do with the receiver 1-b .
[0083] 10. The sender sends to the receiver where f is the intercept function, Represents the exclusive-or operation.
[0084] 11. Decoding at the receiving end
[0085] 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 subject of the continuous variable Gaussian modulated compressed state quantum inadvertent transmission method, as long as it can be processed by running a computer program or instruction that records the method provided by the embodiments of the present application, and according to the method provided by the embodiments of the present application.
[0086] 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.
[0087] 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 compressed state quantum inadvertent transmission method provided by the present application, such as Figure 4 shown.
[0088] Specifically, the device includes a transmitting device hardware and a receiving device hardware, wherein the transmitting device hardware and the receiving device hardware are connected by a quantum link formed by an optical fiber; each module inside the transmitting device hardware and the receiving device hardware is connected by a classical link.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] 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.
[0093] 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 compressed state quantum inadvertent transmission method as described above.
[0094] 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.
[0095] 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.
[0096] 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.
[0097] 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.
[0098] 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.
[0099] 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.
[0100] 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 continuous variable Gaussian modulated compressed state quantum inadvertent transmission, characterized in that: Applied to the sending end, including: Generate a basis selection sequence and a random number sequence obeying a Gaussian distribution to prepare a compressed state quantum sequence, and send the compressed state quantum sequence to a receiving end, so that the receiving end generates a measurement selection sequence to measure the compressed state quantum sequence to obtain a measurement result sequence; Sending the basis selection sequence to the receiving end, so that the receiving end generates two position sets according to the measurement selection sequence and the basis selection sequence, and arranges the two position sets in a random order and sends them to the sending end, wherein any one of the position sets represents the position of the same selection value in the measurement selection sequence and the basis selection sequence in the sequence, and the other position set represents the position of different selection values in the sequence; Receive two position sets and initiate forward negotiation to the receiving end, respectively generate a first encryption key and a second encryption key, and 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 continuous variable Gaussian modulated compressed state quantum inadvertent transmission method according to claim 1, characterized in that: The receiving two position sets and initiating forward negotiation with the receiving end to respectively generate a first encryption key and a second encryption key, including: The random number sequence is divided into a first subsequence and a second subsequence according to the two position sets; wherein, The position of each random number in the first subsequence in the random number sequence matches the position in one of the position sets; the position of each random number in the second subsequence in the random number sequence matches the position in the other of the position sets; Initiate a forward negotiation with the receiving end according to the first subsequence to obtain first key data, and initiate a forward negotiation with the receiving end according to the second subsequence to obtain second key data; The first key data is intercepted to generate the first encryption key; the second key data is intercepted to generate the second encryption key.
3. The continuous variable Gaussian modulated compressed state quantum inadvertent transmission method according to claim 1, 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 an encrypted first message; Performing an XOR operation on the second message to be sent and the second encryption key to obtain an encrypted second message; The encrypted first message and the encrypted second message are sent.
4. The method for continuous variable Gaussian modulated compressed state quantum inadvertent transmission according to any one of claims 1 to 3, characterized in that: The method further comprises: Before sending the basis selection sequence to the receiving end, receiving part of the data in the measurement result sequence obtained by measuring the compressed state quantum sequence sent by the receiving end; Confirming that the receiving end has completed the measurement of the compressed state quantum sequence according to part of the data in the measurement result sequence, and performing parameter evaluation to confirm that the receiving end has the ability to generate a security key; After confirming that the receiving end has completed the measurement and parameter evaluation of the compressed state quantum sequence, the step of sending the basis selection sequence to the receiving end is performed.
5. The continuous variable Gaussian modulated compressed state quantum inadvertent transmission method according to claim 1, characterized in that: The method of generating a basis selection sequence and a random number sequence obeying a Gaussian distribution to prepare a compressed state quantum sequence includes: Generate a set of length n, with mean 0 and variance V A The random number sequence {r A } n ; Generate a set of binary sequences with a length of n as the basis selection sequence; Wherein, the random number sequence {r A } n (r A ,0) or (0,r A ) represents the coordinate values of the orthogonal components x basis and p basis in the phase space, wherein 0 in the basis selection sequence represents the selection of x basis to prepare the compressed state quantum sequence, and 1 represents the selection of p basis to prepare the compressed state quantum sequence.
6. A method for continuous variable Gaussian modulated compressed state quantum inadvertent transmission, characterized in that: Applied to the receiving end, including: Receiving a compressed state quantum sequence sent by a transmitting end, and randomly generating a measurement selection sequence to measure the compressed state quantum sequence to obtain a measurement result sequence; receiving a basis selection sequence sent by the transmitting end, comparing the basis selection sequence with the measurement selection sequence to obtain a first position set and a second position set, and arranging the first position set and the second position set in a random order and sending them to the transmitting end; wherein the first position set represents the positions of the same selection values in the measurement selection sequence and the basis selection sequence in the sequence, and the second position set represents the positions of different selection values in the sequence; Dividing the measurement result sequence in order according to the first position set to obtain a first result subsequence, and dividing the measurement result sequence according to the second position set to obtain a second result subsequence; Accept the forward negotiation initiated by the sending end, generate a decryption key, decrypt the first message encrypted by the first encryption key and the second message encrypted by the second encryption key, and parse out the first message or the second message.
7. The continuous variable Gaussian modulated compressed state quantum inadvertent transmission method according to claim 6, characterized in that: The randomly generated measurement selection sequence is used to measure the compressed state quantum sequence to obtain a measurement result sequence, including: Randomly generate a set of binary random number sequences as the measurement selection sequence; Measuring the compressed state quantum sequence according to the selected values in the measurement selection sequence to obtain a measurement result sequence; Among them, the selection value in the measurement selection sequence is 0, which means that the x-based measurement of the compressed state quantum sequence is selected, and the selection value is 1, which means that the p-based measurement of the compressed state quantum sequence is selected.
8. The method for continuous variable Gaussian modulated compressed state quantum inadvertent transmission according to claim 6, characterized in that: The accepting the forward negotiation initiated by the sending end and generating a decryption key includes: Performing forward negotiation with the sending end according to the first result subsequence and the first subsequence obtained by the sending end according to the first position set division to obtain a third key number; The third key data is intercepted to obtain a decryption key.
9. An electronic device, 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 executable 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 compressed 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, characterized in that: When the computer program is executed by a processor, the continuous variable Gaussian modulated compressed state quantum inadvertent transmission method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Casual quantum transmission method, electronic equipment and storage medium
CN118944874A
Quantum-incoherent transmission method, electronic device and storage medium
CN118944874B
