A quantum circuit for QPC

Through a quantum circuit composed entirely of quantum operations, the control of non-quantum gates is used to perform quantum private comparison, which solves the problems of low efficiency and insufficient security of the existing QPC protocol, and achieves efficient and secure quantum private data comparison.

CN110147889BInactive Publication Date: 2024-10-29浙江工商大学杭州商学院
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201910489817.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-06
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing Quantum Private Comparison (QPC) protocols have low efficiency, high cost and insufficient security. Mainly due to their reliance on classical calculations, there are inefficiencies and security threats in the data transmission and comparison process.

Method used

A quantum circuit composed entirely of quantum operations is used to control non-quantum gates for private data comparison, omitting the classical operation part, and directly processing private data through quantum gates to improve efficiency and security.

Benefits of technology

It achieves efficient and secure quantum private data comparison, reduces the steps and attack risks of classical information processing, and improves the efficiency and security of the QPC protocol.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110147889B_ABST
    Figure CN110147889B_ABST
Patent Text Reader

Abstract

This invention creates a quantum circuit for QPC (Quantum Processing and Computation). This quantum circuit consists of three participants: A, B, and a third party (TP). A and B each possess one quantum gate, while TP possesses two. Initially, TP generates a certain number of three-particle entangled states and divides these entangled states into three quantum sequences. Simultaneously, decoy photons are randomly inserted into these sequences and sent to A and B respectively. A and B perform relevant operations on these photons using their quantum gates and then send the photons back to TP. TP collects these photons and uses some auxiliary photons to perform operations on them using its quantum gates. Finally, TP measures the photons after these operations and obtains the QPC comparison results between A and B based on the measurement results. The value of this invention lies in using quantum gates to implement QPC, thus offering high efficiency, low cost, and high security compared to existing technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a quantum circuit composed of quantum gates and used for quantum private comparison (QPC). Background Art

[0002] Quantum private comparison, as an important branch of quantum cryptography, has recently attracted widespread attention from researchers. Its main purpose is to compare the private data of two users in a secret environment without revealing the value of their private data. For example, the problem of comparing the wealth of millionaires without disclosing the property information of the participants, e-commerce, anonymous voting, data mining, etc.

[0003] To implement QPC, many current QPC protocols [1-9] often consist of two parts: a quantum communication part and a classical information processing part. This is because these QPC protocols use classical computing technology to implement comparison operations rather than quantum operations. This may bring many adverse effects: (1) low efficiency and high cost, because the data signal is transmitted in the form of quantum signals, and in the data comparison process, the data signal is in the form of classical signals. In this way, the protocol usually requires participants to perform the following operations: quantum measurement, classical XOR calculation, recording of intermediate calculation data, announcement through classical channels, etc.; (2) insufficient security of the protocol. Since classical computing is used in the protocol, the original data used in the comparison calculation, including private data and keys, as well as the intermediate records generated during the calculation process, exist in the form of classical information. This provides more attack opportunities for attackers of classical information and increases the probability of secret data being leaked in the form of classical information.

[0004] References:

[0005] [1]Yang,YG,Gao,WF,Wen,QY: Secure quantum private comparison.Phys.Scr.80(6),065002(2009)

[0006] [2]Liu,B.,Gao,F.,Jia,HY,Huang,W.,Zhang,WW,Wen,QY: Efficientquantum private comparison employing single photons and collective detection.Quantum Inf.Process.12(2),887–897(2013)

[0007] [3]Chen,X.B.,Su,Y.,Niu,X.X.,Yang,Y.X.:Efficient and feasible quantumprivate comparison of equality against the collective amplitude dampingnoise.Quantum Inf.Process.13(1),101–112(2014)

[0008] [4]Sun,Z.W.,Yu,J.P.,Wang,P.,Xu,L.L.,Wu,C.H.:Quantum privatecomparison with a malicious third party.Quantum Inf.Process.14(6),2125–2133(2015)

[0009] [5]Lang,Y.-F.:Semi-quantum private comparison using singlephotons.Int.J.Theor.Phys.57(10),3048–3055(2018)

[0010] [6]Ye,T.-Y.,Ye,C.-Q.:Measure-resend semi-quantum private comparisonwithout entanglement.Int.J.Theor.Phys.57(12),3819–3834(2018)

[0011] [7]Yang,Y.G.,Xia,J.,Jia,X.,Shi,L.,Zhang,H.:New quantum privatecomparison protocol without entanglement.Int.J.Quant.Inform.10(6),1250065(2012)

[0012] [8]Ye,T.Y.:Quantum private comparison via cavityQED.Commun.Theor.Phys.67(2),147–156(2017)

[0013] [9]Yang,YG,Wen,QY:An efficient two-party quantum private comparison protocol with decoy photons and two-photon entanglement.J.Phys.A:Math.Theor.42(5),055305(2009) Summary of the invention

[0014] In view of the defects of the prior art, in order to improve the efficiency and security of the QPC protocol and reduce its cost, the task of the present invention is to create a circuit that implements private data comparison by quantum operation, rather than the existing private data comparison by classical calculation, in which the quantum operation will be implemented by controlling non-quantum gates. The content of the present invention is completely composed of quantum operations, without classical operation parts. In this way, the efficiency and security of the QPC protocol can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0016] Figure 1 1 is a circuit diagram of a quantum circuit for QPC.

[0017] Figure 2 is a circuit symbol suitable for controlling non-quantum gates in the Z basis.

[0018] Figure 3 is a circuit symbol suitable for controlling non-quantum gates in the X basis. DETAILED DESCRIPTION

[0019] Controlling a non-quantum gate is a common quantum gate, and its circuit symbol is as follows Figure 2 As shown, the matrix representing its operation is CNOT = [1,0,0,0; 0,1,0,0; 0,0,0,1; 0,0,1,0]. As we all know, when the first quantum bit controlling the non-quantum gate is Figure 2 When the qubit in the upper left is |1>, it affects the second qubit, i.e. Figure 2 The qubit at the bottom left performs a non-operation, that is, converts the qubit |0> to the qubit |1> or converts |1> to |0>; otherwise, the second qubit remains unchanged. In other words, the first qubit plays a controlling role and is the control bit, and the second qubit is the target bit. The above operation of controlling the non-quantum gate is the result of the interaction between the two qubits when the two qubits controlling the non-quantum gate operation are from {|0>,|1>}. When the two qubits controlling the non-quantum gate operation are from {|+>,|->}, and , the above conclusion no longer holds.

[0020] After research, the present invention found that when the two qubits controlling the non-quantum gate operation are from {|+>,|->}, the first qubit is the target bit and the second qubit is the control bit. That is, when the second qubit is |->, the first qubit |+> is converted to |-> or |-> is converted to |+>; otherwise, the first qubit remains unchanged. In order to correctly reflect this situation, the present invention will use Figure 3 The symbols shown are used to represent the control non-quantum gate when the two quantum bits of the operation are from {|+>,|->}. In this case, the operation of the control non-quantum gate can be expressed by Definition 1.

[0021] Definition 1: where |v>,|w>∈{|+>,|->}, and

[0022] exist Figure 3 In the symbol shown, the present invention calls the wire end at the upper left of the symbol the first input end, and the wire end at the lower left of the symbol the second input end; and calls the wire end at the upper right of the symbol the first output end, and the wire end at the lower right of the symbol the second output end. Thus, when the two quantum bits controlling the non-quantum gate operation come from {|+>,|->}, the quantum bit connected to the first input end is the target bit, and the quantum bit connected to the second input end is the control bit.

[0023] Two participants A and B who are comparing private data perform QPC operations under the auspices of a third party TP. They have private data A and B, respectively, whose binary forms are (a L-1 ...a1a0) and (b L-1 ...b1b0), where a j ,b j ∈{0,1},j∈{0,1,...,L-1},2 L-1 ≤max{A,B}<2 L If |+> and |-> represent the classical bits 0 and 1 respectively, then we can represent the private data A and B as quantum state sets QA = {qa L-1 ,...,qa1,qa0} and QB={qb L-1 ,...,qb1,qb0}, where qa j ,qb j ∈{|+>,|->},j∈{0,1,...,L-1}. In addition, A has a control non-quantum gate G0, the third party TP has two control non-quantum gates G1 and G2, and B has a control non-quantum gate G3. The circuit diagram of the present invention is shown in Figure 1 The following are the specific steps for implementing the present invention.

[0024] Step 1: The third party TP prepares L three-particle entangled states Here, the Z basis and X basis are used to represent the measurement basis of {|0>,|1>} and {|+>,|->} respectively. Afterwards, TP uses the 1st, 2nd and 3rd particles of the L GHZ states to form three quantum sequences SA, SB and ST respectively. In order to detect whether there is eavesdropping behavior during quantum communication, TP prepares two decoy photon sequences D A and D B , where each photon is randomly selected from {|0>,|1>,|+>,|->}; TP respectively converts D A and D B The photons in the random insertion into SA and SB, respectively forming two new quantum sequences SA* and SB*. After the above preparations are completed, TP uses the X basis to measure the quantum sequence ST, and the measurement result is recorded as MT = {mt L-1 ,...,mt1,mt0}, where mt j ∈{|+>,|->},j∈{0,1,...,L-1}; TP sends SA* and SB* to A and B respectively.

[0025] Step 2: After A and B receive SA* and SB* respectively, TP announces the position of the decoy photons in SA* and SB* and their corresponding measurement basis through the classical channel. According to the information announced by TP, A and B make corresponding measurements and return the measurement results to TP through the classical channel. After receiving, TP verifies the measurement results of A and B to check whether there is an eavesdropper in the quantum channel. If the error rate of the verification result exceeds a certain preset value, it means that there is a high probability of an eavesdropper in the quantum channel, then they will terminate the communication and restart step 1. Otherwise, they proceed to the next step.

[0026] Step 3: A and B discard the decoy photons in SA* and SB* to restore the quantum sequences SA and SB, and then use the X basis to measure SA and SB respectively. The measurement results are recorded as SA′={sa L-1 ,...,sa1,sa0} and SB′={sb L-1 ,...,sb1,sb0}, where sa j , sb j ∈{|+>,|->}, j∈{0,1,...,L-1}.

[0027] Step 4: A and B prepare quantum states sa j and sb jThe photons are input into the target bits controlling the non-quantum gates G0 and G3, respectively, to prepare the quantum state qa j and qb j The photons are input into the control bits of the non-quantum gates G0 and G3. In this way, the photons input into the target bits will be transformed into and Among them j ,rb j ∈{|+>,|->},RA={ra L-1 ,...,ra1,ra0},RB={rb L-1 ,...,rb1,rb0},j∈{0,1,...,L-1}, and send them to TP.

[0028] Step 5: After receiving RA and RB, TP uses each pair of particles as the first and second qubits to control the non-quantum gate G1. The state of the former will be mapped to where rt j ∈{|+>,|->},RT={rt L-1 ,...,rt1,rt0},j∈{0,1,...,L-1}. The state is rt j The particle is used as the first quantum bit to control the non-quantum gate G2, and its second quantum bit is the newly prepared quantum state mt j In this way, the first quantum bit of input G2, that is, the quantum state is rt j The state of the particle under the action of G2 will be mapped to where r j ∈{|+>,|->},R={r L-1 ,...,r1,r0},j∈{0,1,...,L-1}.

[0029] Step 6: TP uses X to pair state r j If the measurement result is |->, TP declares that the private data of A and B are different and ends this QPC; otherwise, TP repeats steps 1 to 4 of this QPC process until all corresponding states in QA and QB are compared, and then TP declares that the private data of the two participants A and B are exactly the same.

[0030] In order to verify the correctness of the quantum circuit for QPC of the present invention, its correctness is analyzed as follows. In the above steps, the three-particle entangled state |GHZ> will collapse to one of {|+++>,|+-->,|-+->,|--+>}. Thus, according to Definition 1, Equation is established, so, When qa j and qb j When different, r j The measurement result is equal to |->, otherwise it is equal to |+>. Therefore, it can be seen that the invention, that is, the quantum circuit for QPC, is correct.

[0031] The security of the quantum circuit for QPC of the present invention is analyzed below from two perspectives: external attack and internal attack.

[0032] Let's first look at external attacks. In the above steps, except for steps 1 and 3, there is no opportunity for security attacks from the outside; and the quantum bit transmission through the quantum channel in steps 1 and 3 is very vulnerable to security attacks from the outside. In step 1, the present invention uses decoy photon technology to ensure the security of quantum communication in step 1. Decoy photon technology has been proven to have unconditional security by relevant literature. In step 3, the measurement results of quantum sequences RA and RB will not leak the private data of the two parties even if they are announced through the classical channel, so there is no risk of external attacks in step 3. Here, A and B only transmit RA and RB to TP through the quantum channel, which will not leak the private data of the two parties; at the same time, A and B also omit the following operations: ① classical information recording of quantum measurement and measurement results, ② classical XOR calculation, ③ recording of intermediate results generated by the calculation process, and ④ publishing relevant classical calculation results through classical channels. It can also be seen that the present invention is simple and efficient. As can be seen from the above, the present invention not only resists external security attacks, but is also simple and efficient.

[0033] Next, let's look at internal attacks. Internal attacks can be analyzed in two situations. The first situation is that one comparison participant attempts to obtain the secret data of the other party; the second situation is that TP attempts to obtain the secret data of two comparison participants.

[0034] The analysis of situation one is as follows. Since A and B have the same role, we only consider the situation where A attempts to obtain B's private data. The only way for A to launch a security attack from the inside is to use the photons sent to him, that is, the quantum sequence SA. If measured using the X basis, A's photons will collapse to |+>(|->) with a probability of 50%. The quantum state of the photons in the hands of B and TP will be one of the two states {|++>,|-->}({|+->,|-+>}) with a probability of 50%. Since A cannot know the quantum state of the photons in the hands of B and TP, A cannot deduce B's private data. Even if A obtains the quantum sequence RB, A still cannot deduce B's private data. In short, in the steps of the present invention, it is impossible for one party to obtain the private data of the other party.

[0035] The analysis of the second case is as follows. In the technical solution of the present invention, TP is a semi-loyal operator. He always strictly follows the process of the solution, faithfully generates GHZ entangled states, and will not collude with external eavesdroppers to steal information. Therefore, if he wants to steal the private data of the two comparison participants, he can only use the quantum sequence ST in his hand. The situation at this time is similar to that of a dishonest A, so TP cannot deduce QA (QB), that is, the private data of the two comparison participants. He only knows that the state is The measurement result of the particles is the comparison result of the QPC of the present invention. This means that it is impossible for TP to obtain the private data of the two comparison participants.

[0036] From the above analysis of Case 1 and Case 2, it can be seen that the technical solution of the present invention is also safe against internal attacks.

[0037] Because the existing QPC technology often uses classical computing to implement QPC, the existing QPC technology has problems such as low efficiency, high cost and insufficient security. The technical solution of the present invention omits several operations of processing classical information in traditional technology because it uses the method of quantum gate processing information to implement QPC. This not only improves work efficiency but also reduces the risk of classical security attacks. The present invention does not use expensive quantum devices, is easy to implement with existing technology, and completes the functional requirements of the invention task.

Claims

1. A quantum circuit for QPC, characterized in that: The quantum circuit of the QPC is operated by two private data comparison parties A and B under the auspices of a third party TP. A and B respectively have private data A=a L-1 ...a1a0 and B=b L-1 ...b1b0, where a j ,b j ∈{0,1},j∈{0,1,...,L-1},2 L-1 ≤max{A,B}<2 L ; If |+> and |-> represent the classical bits 0 and 1 respectively, then we can represent the private data A and B as quantum state sets QA = {qa L-1 ,...,qa1,qa0} and QB={qb L-1 ,...,qb1,qb0}, where qa j ,qb j ∈{|+>,|->}, j∈{0,1,...,L-1}; In addition, A has a control non-quantum gate labeled G0, B has a control non-quantum gate labeled G3, and TP has two control non-quantum gates labeled G1 and G2; The operation process of the quantum circuit includes the following six steps: Step 1: The third party TP prepares L three-particle entangled states Here, the Z basis and X basis are used to represent the measurement basis of {|0>,|1>} and {|+>,->} respectively. TP organizes the 1st, 2nd and 3rd particles of the L GHZ states into three quantum sequences SA, SB and ST respectively. In order to check whether there is any monitoring behavior in the quantum communication process, TP prepares two decoy photon sequences D A and D B , where each photon is randomly selected from {|0>,|1>,|+>,|->}, and TP converts D A and D B The photons in the random insertion into SA and SB form two new quantum sequences SA and SB respectively. * and SB * ; After that, TP uses the X basis to measure the quantum sequence ST, and the measurement result is recorded as MT = {mt L-1 ,...,mt1,mt0}, where mt j ∈{|+>,|->}, j∈{0,1,...,L-1}; TP respectively converts SA * and SB * Send to A and B; Step 2: A and B receive SA respectively * and SB * After that, TP announces SA through the classical channel * and SB * The position of the decoy photon in the quantum channel and its corresponding measurement basis; according to the information published by TP, A and B make corresponding measurements and return the measurement results to TP through the classical channel; after receiving them, TP will calibrate the measurement results of A and B to check whether there is an eavesdropper in the quantum channel. If the error rate of the calibration result exceeds a certain preset value, they will terminate the communication and restart from step 1, otherwise, continue to the next step; Step 3: A and B discard SA respectively * and SB * The decoy photons in the quantum sequence SA and SB are restored, and the X basis is used to measure SA and SB respectively. The measurement results are recorded as SA′={sa L-1 ,...,sa1,sa0} and SB′={sb L-1 ,...,sb1,sb0}, where sa j , sb j ∈{|+>,|->}, j∈{0,1,...,L-1}; Step 4: A and B are prepared separately in sa j and sb j The photons in the state are input into the first input terminals of the non-quantum gates G0 and G3, respectively, as the target positions of G0 and G3, to prepare the photons in the state of qa j and qb j The photons in the state are input into the second input terminals of the non-quantum gates G0 and G3, that is, they serve as the control bits of G0 and G3; the first output terminals of G0 and G3 output the states of ra j =sa j ⊕qa j and rb j =sb j ⊕qb j of photons, of which ra j ,rb j ∈{|+>,|->}, RA={ra L-1 ,...,ra1,ra0}, RB={rb L-1 ,...,rb1,rb0}, j∈{0,1,...,L-1}; A and B send RA and RB to TP respectively; Step 5: TP inputs each pair of particles received in RA and RB into the first and second input terminals of the non-quantum gate G1, and the output state of the first output terminal of G1 is rt j =ra j ⊕rb j of photons, where rt j ∈{|+>,|->}, RT={rt L-1 ,...,rt1,rt0}, j∈{0,1,...,L-1}; TP then sets the state to rt j =ra j ⊕rb j The photon is input to the first input terminal of the non-quantum gate G2, and the TP is prepared in mt j The particle in the mt state j The particle in state is input to the second input terminal of G2; the output state of the first output terminal of G2 is r j =rt j ⊕mt j =ra j ⊕rb j ⊕mt j =sa j ⊕qa j ⊕sb j ⊕qb j ⊕mt j of photons, where r j ∈{|+>,|->}, R={r L-1 ,...,r1,r0}, j∈{0,1,...,L-1}; Step 6: TP uses the X basis to output the state of the first output terminal of G2 as r j ; if the measurement result is |->, then TP declares that the private data of A and B are different and terminates this protocol; otherwise, TP repeats steps 1 to 5 of this protocol until all corresponding states in QA and QB are compared, and then TP declares that the private data of the two participants A and B are exactly the same; The ⊕ represents the operation of controlling the non-quantum gate on two quantum bits.

Citation Information

Patent Citations

  • Two-party quantum private comparison method based on five-quantum bit entangled state

    CN105871544A

  • Quantum privacy comparison method and system based on GHZ state

    CN108768641A

  • Method for realizing QPC by using quantum gate circuit

    CN110197283A

  • Quantum private comparison circuit based on control NOT gate

    CN110213053A