Quantum security multi-party summation protocol based on quantum circuit
By employing a quantum-safe multi-party summation protocol based on quantum circuits, and utilizing quantum state secret share negotiation and quantum addition circuit computation, the security and scalability issues in existing protocols are resolved, enabling unconditionally secure joint summation among multiple participants and preventing information leakage.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG ZHIJIANG SHUAN QUANTUM TECH CO LTD
- Filing Date
- 2026-03-26
- Publication Date
- 2026-04-24
AI Technical Summary
Existing quantum-safe multi-party summation protocols suffer from problems such as reliance on trusted third parties, security dependence on eavesdropping detection, excessively large key and ciphertext sizes, limited computational circuit depth, and lack of verification against malicious server behavior, and are difficult to achieve unconditional security.
Employing a quantum circuit-based protocol, the protocol achieves multi-party summation through offline quantum state secret share negotiation and online quantum addition circuit computation. It utilizes quantum circuit operations such as quantum NOT gates, Hadamard gates, and controlled phase gates, combined with a QKD network for information transmission, ensuring security and privacy protection.
It enables multi-party summation without the need for third-party involvement, prevents information leakage, collusion and eavesdropping, has good scalability, supports quantum state input, and achieves unconditional security.
Smart Images

Figure CN121923819A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of quantum-safe multi-party computation technology, and in particular to a quantum-safe multi-party summation protocol based on quantum circuits. Background Technology
[0002] Quantum-safe multi-party summation protocols aim to allow multiple, untrusted parties to collaboratively compute the sum of multiple quantum states without revealing their private data, balancing functionality and security. In classical cryptography, secure multi-party computation typically relies on difficult problems such as large number factorization and the discrete logarithm problem to ensure security. However, with the development of quantum computing technology, especially the introduction of Shor's quantum algorithm, these cornerstones of classical cryptography face the potential threat of being compromised.
[0003] Currently, research on quantum-safe multi-party summation protocols mainly focuses on the following directions. The first is protocols based on quantum entanglement distribution. These protocols typically rely on a trusted third party, which constitutes a security bottleneck in practical deployments. The second is protocols based on single-particle sequences and decoy states. Their security heavily depends on the statistical detection of eavesdropping, and they are at risk of information leakage in scenarios with finite-length keys. The third is computational frameworks based on quantum homomorphic encryption. Fully homomorphic quantum encryption schemes are still mainly in the theoretical exploration stage and are far from practical application. Existing schemes generally suffer from problems such as excessively large key and ciphertext sizes, limited computational circuit depth, and extremely high fault tolerance requirements. Furthermore, the entire computation process depends entirely on the correct execution of the server, lacking an effective verification mechanism for malicious server behavior. The fourth is schemes based on classical cryptography and post-quantum cryptography. The security of these schemes is based on the assumption of computational complexity of new mathematical problems, and is not information-theoretic secure or unconditionally secure. Summary of the Invention
[0004] To address the aforementioned shortcomings of existing technologies, this invention proposes a quantum-safe multi-party summation protocol based on quantum circuits, aiming to achieve a solution without the need for third-party intervention. The technical effect is that each participant can jointly calculate the sum of integers without obtaining any information other than the result.
[0005] The technical solution of this invention is implemented as follows: A quantum-safe multi-party summation protocol based on quantum circuits, the protocol comprising: Offline phase: S1: All participating parties jointly negotiate to obtain a quantum state secret share, which is an auxiliary value required for the online part to be calculated. Online phase: S2: Participants input real data and execute a quantum addition circuit with the secret share; S3: Participants sequentially send the results of executing the quantum addition circuit to the next participant for calculation; S4: Step S3 continues the calculation until the penultimate participant. The last participant measures the final result and discloses the result to all participants.
[0006] Preferably, the specific steps of step S1 in the offline phase are as follows: 1) Each participant Randomly generated random values And convert the random value into a value of length . A binary sequence; 2) Each participant For each random value ,initialization Each quantum bit is state, traversing the above For each bit, at the position where the bit value is 1, the corresponding qubit is flipped using a quantum NOT gate, resulting in the final quantum state. , recorded as ; 3) Each participant , to quantum state Send to the corresponding participants via a secure channel Retain a quantum state for yourself ; 4) Each participant A random quantum state is obtained by adding the quantum states received from other participants to the quantum state it retains. Recorded as auxiliary value .
[0007] Preferably, the online phase is achieved using auxiliary values. The online phase involves summing the actual input values of the participants, and the specific steps of steps S2, S3, and S4 are as follows: 1) Each participant Input a string of length quantum state , denoted as and will and auxiliary values The addition circuit is executed to obtain , recorded as ; 2) Participating parties via secure channel Send to the participants via key encryption ; 3) For participating parties Perform the following steps in sequence: a) Participating parties Users and Participants Same key decryption participants The message was sent, and the decrypted quantum state was compared with its own quantum state. Added using a quantum addition circuit; b) Participating parties The result obtained by addition via quantum addition circuitry is sent to the participants through a secure channel. Participants Do not perform this step; 4) Participating parties A quantum state result obtained by summing all values was obtained, and the result was sent to all participants.
[0008] Preferably, during the offline phase, each participant Randomly generated random values satisfy .
[0009] Preferably, the quantum adder circuit has unitarity and is capable of performing parallel computations on superposition states.
[0010] Compared with the prior art, the present invention has the following beneficial effects: This invention proposes a quantum-safe multi-party summation protocol based on quantum circuits, which enables multi-party summation without the involvement of a trusted third party and without revealing any information other than the result. By having each participant negotiate a quantum secret share during the offline phase, and then using this secret share to hide the true input during the online phase, it can prevent... This method allows participating parties to collude to infer the true input of other participating parties, while also preventing eavesdropping by third parties; it prevents third-party monitoring through secure channels and prevents the leakage of private data; it has good scalability, enabling multiple participating parties to jointly sum and supports quantum state input. Attached Figure Description
[0011] Figure 1 This is the overall process of the quantum-safe multi-party summation protocol based on quantum circuits in this invention; Figure 2 This is a circuit diagram of the quantum Fourier transform in an embodiment of the present invention. Detailed Implementation
[0012] The present invention will now be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention.
[0013] like Figure 1As shown, a quantum-safe multi-party summation protocol based on quantum circuits is disclosed, the protocol comprising: Offline phase: S1: All participating parties jointly negotiate to obtain a quantum state secret share, which is an auxiliary value required for the online part to be calculated. Online phase: S2: Participants input real data and execute a quantum addition circuit with the secret share; S3: Participants sequentially send the results of executing the quantum addition circuit to the next participant for calculation; S4: Step S3 continues the calculation until the last participant, who measures the final result and discloses the result to all participants.
[0014] The agreement requires no third-party involvement. Each participant can jointly calculate the sum of integers without obtaining any information other than the result. The protocol is divided into two parts: an offline phase and an online phase. The offline phase calculates the auxiliary values required for the online phase. The offline phase generates the auxiliary values according to the following steps, which can improve the speed of the online phase. Specifically, the steps are as follows: 1) Each participant First, it needs to be randomly generated. random values And needs to meet And convert the random value to a length of A binary sequence.
[0015] 2) Each participant For each random value ,initialization Each quantum bit is state, traversing the above Given a classical bit sequence, for each position in the sequence with a value of 1, the corresponding qubit is flipped using a quantum NOT gate (X gate). The resulting quantum state is... , recorded as .
[0016] 3) Each participant , to quantum state Send to the corresponding participants via a secure channel Retain a quantum state for yourself .
[0017] 4) Each participant A random quantum state is obtained by adding the quantum states received from other participants to the quantum state it retains. Recorded as .
[0018] The online phase uses the auxiliary values generated in the offline phase to sum the actual input values of the participants. The online phase performs safe summation calculations according to the following steps.
[0019] 1) Each participant Input a string of length quantum state , denoted as and will and auxiliary values The addition circuit is executed to obtain , recorded as .
[0020] 2) Participating parties via secure channel Send to the participants via key encryption .
[0021] 3) For participating parties Follow these steps in sequence. a) Participating parties Users and Participants Same key decryption participants The message was sent, and the decrypted quantum state was compared with its own quantum state. Added using a quantum adder circuit.
[0022] b) Participating parties Users and Participants The result obtained by adding via quantum addition circuit through a secure channel is encrypted with a key and sent to the participants. (Participants) (Do not perform this step).
[0023] 4) The participants obtain a quantum state result from the sum of all values and send the result to all participants.
[0024] Embodiments of the present invention: This embodiment provides a specific implementation of a quantum-safe multi-party summation protocol based on quantum circuits. The technologies involved are quantum Fourier transform and QKD network, which requires quantum NOT gate (X gate) flipping, Hadamard gate, and controlled phase gate in quantum circuits, as follows.
[0025] 1) Each participant First, it needs to be randomly generated. A random value, and it needs to satisfy And convert the random value to a length of The binary sequence. The specific steps are as follows: a) Length is The range of digit integers is: First, generate an independent A random integer, each number randomly selected with a sign (positive or negative), and its absolute value is... Uniformly and randomly selected from within, denoted as .
[0026] b) Before calculation The sum of the numbers Calculate the first Integer The range of values is .
[0027] c) Calculation and will Convert to a binary sequence.
[0028] 2) Each participant For each random value ,initialization Each quantum bit is state, traversing the above Given a classical bit sequence, for each position in the sequence with a value of 1, perform a quantum NOT gate (X-gate) flip on the corresponding qubit. The resulting quantum state is... , recorded as .
[0029] 3) Each participant , to quantum state It is sent to the corresponding participants via the QKD quantum communication channel. Retain a quantum state for yourself .
[0030] 4) Each participant A random quantum state is obtained by adding the quantum states received from other participants to the quantum state it retains. Recorded as .
[0031] The online phase uses the auxiliary values generated in the offline phase to sum the actual input values of the participants. The online phase performs safe summation calculations according to the following steps.
[0032] 1) Each participant Input a string of length quantum state , denoted as and will and auxiliary values The addition circuit is executed to obtain , recorded as .
[0033] 2) Participating parties With participating parties A common key is obtained through QKD key distribution, and the participating parties Will Send to the participants via key encryption .
[0034] 3) For participating parties Perform the following steps in sequence: Participants Users and Participants Same key decryption participants The message was sent, and the decrypted quantum state was compared with its own quantum state. The addition is performed using a quantum adder circuit. The steps of the quantum adder circuit are as follows: a) Represent your own quantum superposition state as the quantum state of the first addend. From the participating parties The quantum superposition state of the received calculation result is denoted as the quantum state of the second addend. The tensor product of two qubits is .
[0035] b) Apply a quantum Fourier transform to the quantum state of the second addend, where the quantum Fourier transform circuit diagram is as follows: Figure 2 As shown in the figure, H represents the Hadamard gate, and R represents the phase shift gate. For one qubit. First, consider the second addend. All qubits Apply complete The quantum Fourier transform of a quantum bit is an operation of... .
[0036] This transformation will Each ground state component From its "numerical representation" to its "phase representation". The entire superposition state The information is converted to a Fourier basis and encoded in the relative phase of the qubit.
[0037] c) Perform controlled phase rotation, first from the least significant bit to the most significant bit (index). arrive ), process quantum states sequentially The Each qubit. Secondly, for each... Using it as a control bit for quantum states Multiple target bits execute a series of controlled phase rotation gates. For quantum states The qubits ( arrive Apply a controlled phase rotation gate, the rotation angle of which is... .because It is a superposition state, and the above control operation is "coherently controlled". The circuit will simultaneously control all... The component performs its corresponding phase rotation operation, and the resulting state is: , The operation involves applying a phase shift to the second bit, with the first bit as the controlled bit: .
[0038] d) Applying an inverse quantum Fourier transform to the quantum state Apply The inverse quantum Fourier transform of a qubit is represented as follows: .
[0039] The inverse QFT transforms the information in the phase space (i.e., the phase distribution after addition) into a spatial representation of the computational basis. At this point, the quantum state... The state evolution is as follows .
[0040] b) Participating parties Users and Participants A common key is obtained through QKD key distribution, and the participating parties The result obtained by addition using a quantum addition circuit is encrypted with a key and sent to the participants. (Participants) (Do not perform this step).
[0041] 4) Participating parties A quantum state result obtained by summing all values was obtained, and the result was sent to all participants.
[0042] As can be seen from the embodiments of this invention, this invention proposes a quantum-safe multi-party summation protocol based on quantum circuits, which can achieve multi-party joint summation without the participation of a trusted third party, and without leaking any information other than the result; by having each participant jointly negotiate a quantum secret share in the offline phase, and using the secret share to hide the real input in the online phase, it can prevent... This method allows participating parties to collude to infer the true input of other participating parties, while also preventing eavesdropping by third parties; it prevents third-party monitoring through secure channels and prevents the leakage of private data; it has good scalability, enabling multiple participating parties to jointly sum and supports quantum state input.
Claims
1. A quantum-safe multi-party summation protocol based on quantum circuits, characterized in that, The protocol includes: Offline phase: S1: All participating parties jointly negotiate to obtain a quantum state secret share, which is an auxiliary value required for calculation in the online phase; Online phase: S2: Participants input real data and execute a quantum addition circuit with the secret share; S3: Participants sequentially send the results of executing the quantum addition circuit to the next participant for calculation; S4: Step S3 continues the calculation until the penultimate participant. The last participant measures the final result and discloses the result to all participants.
2. The quantum-safe multi-party summation protocol based on quantum circuits according to claim 1, characterized in that, The specific steps of step S1 in the offline phase are as follows: 1) Each participant Randomly generated random values And convert the random value into a value of length . A binary sequence; 2) Each participant For each random value ,initialization Each quantum bit is state, traversing the above For each bit, at the position where the bit value is 1, the corresponding qubit is flipped using a quantum NOT gate, resulting in the final quantum state. , recorded as ; 3) Each participant , to quantum state Send to the corresponding participants via a secure channel Retain a quantum state for yourself ; 4) Each participant A random quantum state is obtained by adding the quantum states received from other participants to the quantum state it retains. Recorded as auxiliary value .
3. The quantum-safe multi-party summation protocol based on quantum circuits according to claim 2, characterized in that, The online phase is achieved by using auxiliary values. The online phase involves summing the actual input values of the participants, and the specific steps of steps S2, S3, and S4 are as follows: 1) Each participant Input a string of length quantum state , denoted as and will and auxiliary values The addition circuit is executed to obtain , recorded as ; 2) Participating parties via secure channel Send to participants via key encryption ; 3) For participating parties Perform the following steps in sequence: a) Participating parties Users and Participants Same key decryption participants The message was sent, and the decrypted quantum state was compared with its own quantum state. Added using a quantum addition circuit; b) Participating parties The result obtained by addition via quantum addition circuitry is sent to the participants through a secure channel. Participants Do not perform this step; 4) Participating parties A quantum state result obtained by summing all values was obtained, and the result was sent to all participants.
4. The quantum-safe multi-party summation protocol based on quantum circuits according to claim 2 or 3, characterized in that, During the offline phase, each participant Randomly generated random values satisfy .
5. The quantum-safe multi-party summation protocol based on quantum circuits according to claim 1, characterized in that, The quantum adder circuit is unitary and can perform parallel computations on superposition states.
Citation Information
Patent Citations
Multi-party security computing method and device based on quantum computing
CN113515776A
Quantum security multi-party summation method based on measurement equipment independence
CN113572608A
Quantum security multi-party computing method based on quantum homomorphic encryption
CN113660085A
Efficient threshold security multi-party computing method under malicious model
CN114444069A
Security reasoning method based on security multi-party calculation
CN116882499A