Preprint
Article

This version is not peer-reviewed.

Anonymous Computation in Quantum Networks

Submitted:

28 June 2026

Posted:

29 June 2026

You are already at the latest version

Abstract
Entanglement swapping is not only one of the core resources of quantum information processing, but also the backbone of long-distance quantum communication and quantum networks. Naturally, quantum information processing schemes based on entanglement swapping, such as quantum cryptography protocols and quantum algorithms, are more adaptable to quantum network environments. In this paper, we achieve quantum anonymous computation through entanglement swapping, the basic idea of which comes from our previous work [2019, Quantum Information Processing, 18(6), 168]. We propose two quantum anonymous computation protocols, in which entanglement swapping plays a crucial role in transmitting information and enhancing information security.
Keywords: 
;  ;  ;  

1. Introduction

In recent centuries, the vigorous development of science and technology has greatly enhanced humanity’s ability to understand nature and transform the world [1]. However, science can never answer ultimate questions, such as how the primordial energy that gave birth to all things in the universe came into existence, what force truly drives the operations of the universe, and what is the fundamental cause of quantum entanglement [2]. Many such questions can never be satisfactorily answered solely through scientific exploration. After all, human observation of the universe is extremely limited, and the resulting perspectives are undoubtedly very one-sided [2].
Unfortunately, despite the significant limitations of science, some people treat it as a belief. These individuals do not believe in karma and hold the concept of “hedonism”. At the same time, they behave improperly and without restraint in their pursuit of fame and wealth. In such circumstances, science has undoubtedly become a kind of cult, exploited by some unscrupulous individuals for evil purposes. From the current global situation, the damage caused by technology and industry to the ecological environment has already seriously threatened the survival and development of all humanity.
If technology is allowed to continue developing without proper guidance, the world will eventually be destroyed. Fortunately, some wise individuals have already recognized this and are actively taking countermeasures, including seeking solutions. To our knowledge, the only approach is to understand the core principles of the I Ching and put them into practice, with the success rate of practice determined by the depth of the understanding of the I Ching. The I Ching is the origin of all things, and through it, satisfactory answers can be found to the questions like those mentioned above [2].
A few individuals with extraordinary wisdom have discovered that the world in which humans live is like a virtual world created by a supercomputer [3]. Based on current knowledge, it is acceptable to hypothesize this supercomputer as a quantum computer [3]. Building on this idea, in our recent work [3], we have hypothesized that the universe is created by a vast quantum computer network. All natural phenomena in the universe are developed and designed by this network based on the core theories of the I Ching, with quantum mechanical phenomena serving as a typical example. Therefore, exploring quantum mechanical phenomena is of great help in understanding the I Ching. Furthermore, although the quantum network cannot be directly observed, its operating mechanism can be roughly inferred through the various natural phenomena it exhibits.
As one of the most peculiar phenomena in quantum mechanics, entanglement swapping is a key pillar for building quantum networks, and it has wide and important applications in quantum cryptography, quantum communication and quantum computing [4,5,6]. In this paper, based on our previous work [7], we design two quantum anonymous computation (QAC) protocols through entanglement swapping. In a QAC protocol, the identity of data holders is confidential, but there are no requirements regarding whether the data is public. Even if the data is public, it is not disclosed which participant each data comes from. We introduce a third party in both protocols, who is responsible for collecting all data and completing the computation of the final public functions. Both protocols use unitary operations for encoding, and achieve information exchange and confidentiality through entanglement swapping.
The remaining part of this paper is arranged as follows: Section 2 describes the two proposed protocols, including the protocol procedures and the main quantum resources used. Section 3 is a summary of the work presented in this paper.

2. Quantum Anonymous Computation Protocols

Before describing the processes of the two protocols, let us first introduce the main quantum resources adopted in the protocols, including quantum states, unitary operations, and entanglement swapping cases.
In the two protocols, the d-level Bell states are used as the information carriers, which can be expressed as
ϕ ( u , v ) = 1 d j = 0 d 1 ζ j u j j v ,
where u , v = 0 , 1 , , d 1 , and the symbol ⊕ denotes addition modulo d throughout this paper. It is easy to get
ϕ ( 0 , 0 ) = 1 d j = 0 d 1 j j .
ϕ ( u , v ) can be generated by
( I U ( u , v ) ) ϕ ( 0 , 0 ) = ϕ ( u , v ) ,
where I is the identity matrix, the symbol ⊗ is the tensor product symbol, and
U ( u , v ) = 1 d j = 0 d 1 ζ j u j v j .
The entanglement swapping used in the protocol is realized by performing a joint measurement on one particle in the d-level cat state and one particle in the d-level Bell state, which can be expressed as [5,8]
ϕ u 0 1 , u 1 1 , , u m 1 ϕ u 0 2 , u 1 2 = 1 d v 0 , v 1 = 0 d 1 ζ u k 1 v 1 u 0 2 v 0 ϕ u 0 1 u 0 2 v 0 , u 1 1 , u 2 1 , , u 1 2 u k 1 v 1 , , u m 1 ϕ v 0 , v 1 ,
where the particle u k 1 in the cat state and the particle u 1 2 in the Bell state are swapped, the symbol ⊖ denotes subtraction modulo d throughout this paper, and the d-level cat state is given by [5,8]
ϕ ( u 1 , u 2 , , u m ) = 1 d j = 0 d 1 ζ j u 1 j , j u 2 , j u 3 , , j u m , u 1 , u 2 , , u m { 0 , 1 , , d 1 } .

2.1. Quantum Anonymous Computation for Multiple Sets of Data

Suppose that there are n mutually distrustful participants, P 1 , P 2 , , P n , and that each party P i has a set of secret data, denoted as S i = { x i 1 , x i 2 , , x i l i } , where
x i j { 0 , 1 , 2 , , ξ } , ξ N , i i = 1 , 2 , , n , i j = 1 , 2 , , l i .
Here, the value of ξ is set according to an actual situation. For example, if S i represents the exam scores of all subjects for a student and the maximum score for each subject is 100 points, then ξ can be set to 100. P i arranges the values of data in descending order as follows:
y i 1 , y i 2 , , y i k i , i k i z | z Z + , 1 z l i ,
where k i ( 1 k i l i ) . Next, P i counts the number of the data equal to y i 1 , y i 2 , , y i k i , respectively, and records their quantities as
η i 1 , η i 2 , , η i k i .
A semi-honest third party (named TP throughout this paper), who executes the protocol honestly but is curious about the identity of the data owners, help the participants calculate the public function
f x 1 1 , x 1 2 , , x 1 l 1 ; x 2 1 , x 2 2 , , x 2 l 2 ; ; x n 1 , x n 2 , , x n l n .
The protocol steps are as follows:
Step 1.  P i prepares ξ + 1 copies of d-level Bell state ϕ ( 0 , 0 ) , where
d z | z Z + , z > m a x l 1 , l 2 , , l n ,
and marks them by
ϕ ( 0 , 0 ) r , r = 0 , 1 , , ξ .
TP prepares ξ + 1 copies of the d-level ( n + 1 )-particle cat state ϕ ( u 0 , u 1 , , u n ) , and marks them by
ϕ u 0 r , u 1 r , , u n r .
Then, TP takes the particles with the marks u 1 r , u 2 r , , u n r out from ϕ u 0 r , u 1 r , , u n r , and arrange them as follows:
u 1 0 , u 1 1 , , u 1 ξ , u 2 0 , u 2 1 , , u 2 ξ , , u n 0 , u n 1 , , u n ξ ,
and marks them by S 1 , S 2 , , S n , respectively.
Step 2. TP sends S 1 , S 2 , , S n to P 1 , P 2 , , P n through quantum channels, respectively. To verify the security of quantum channels, TP can use decoy photons or the entanglement correlation of entangled states for eavesdropping detection. These two eavesdropping detection methods are detailed in Ref. [10] and will not be elaborated here.
Step 3. If there are no eavesdroppers in quantum channels, P i encodes his secret data which equal to the value y i t i t i { 1 , 2 , , k i } . Specifically, P i chooses the d-level Bell state with the subscript which equals to y i t i , and establishes a variable w i t i and sets w i t i = η i t i . For the rest of d-level Bell states with the subscripts h i 0 , 1 , , ξ y i t i , P i sets w i h i = 0 . Then, P i uses the unitary operation shown in Eq. 3 to generate the d-level Bell states
ϕ ( v i r , w i r ) = 1 d l = 0 d 1 ζ l v i r l l w i r .
Step 4.  P i performs d-level Bell measurements on the particle with the marks u i r in the cat state and the particle with the mark v i r in ϕ ( v i r , w i r ) , respectively. The measurement results are marked by
ϕ ( λ i r , γ i r ) r = 0 ξ .
Then, P i sends all unmeasured particles in d-level Bell states to TP. To ensure the security of transmission, the same method as Step 2 is used for eavesdropping detection.
Step 5.  P 1 , P 2 , , P n cooperate together to calculate
A r = i = 1 n γ i r ,
and then announce A r to TP publicly. Here, if all participants gather together, they can directly complete the calculation, otherwise they can use public quantum channels to complete the calculation.
Step 6. After receiving all cat states (note here that all unmeasured particles in the d-level Bell states and cat states collapse into new cat states), TP measures each cat state and obtains the marks
u 0 r + i = 1 n k i r i = 1 n λ i r mod d , u 1 r w 1 r γ 1 r , u 2 r w 2 r γ 2 r , , u n r w n r γ n r .
Then he calculates
R r = i = 1 n u i r w i r γ i r i = 1 n u i r + A r ,
which means the number of all participants’ data that equal to r is R r . By adding subscripts, the data of all participants can be marked as
0 1 , 0 2 , , 0 R 0 , 1 1 , 1 2 , , 1 R 1 , ξ 1 , ξ 2 , , ξ R ξ ,
such that TP can calculate the public function
f 0 1 , 0 2 , , 0 R 0 ; 1 1 , 1 2 , , 1 R 1 ; ; ξ 1 , ξ 2 , , ξ R ξ .

2.2. Quantum Anonymous Computation for a Set of Data

Suppose that there are n mutually distrustful participants, P 1 , P 2 , , P n , who have the secret data x 1 , x 2 , , x n , respectively, where
x i { 0 , 1 , 2 , , ξ } , i i = 1 , 2 , , n .
TP helps the participants complete the calculation of the public function
f ( x 1 , x 2 , , x n ) .
The steps of the protocol are as follows:
Step 1. TP prepares a n-particle n-level singlet state, which is given by [9]
Ψ = 1 n ! l 1 , l 2 , , l n S ( 1 ) ω S l 1 l 2 l n ,
where S denotes the permutation of 0 , 1 , , n 1 , and ω S the inverse number of S (i.e., the number of transpositions of pairs of elements in S which are used to place the elements in ascending order [9].) TP takes out the i-th particle in each state in turn, and then sands them to P i . As before, in order to ensure the security of particle transmission, eavesdropping detection is required, which will not be repeated here.
Step 2. After confirming that there are no eavesdroppers in quantum channels, P i performs single-particle measurements on the singlet state Ψ , and marks measurement result by m i .
Step 3. TP prepares n copies of d-level ( n + 1 )-particle cat states, marked by
ϕ u 0 r , u 1 r , , u n r r = 1 n ,
where
d z | z Z + , z > m a x x 1 , x 2 , , x n .
Then, TP takes the particles u 1 r , u 2 r , , u n r out from ϕ u 0 r , u 1 r , , u n r to constructs the particle groups
u 1 1 , u 1 2 , , u 1 n , u 2 1 , u 2 2 , , u 2 n , , u n 1 , u n 2 , , u n n ,
and marks them by S 1 , S 2 , , S n , respectively. Finally, TP sends S i to P i .
Step 4. Confirming that there are no eavesdroppers, P i prepares n copies of the d-level Bell state ϕ ( 0 , 0 ) , denoted as ϕ ( 0 , 0 ) r r = 1 n . Then, P i chooses the m i -th d-level Bell state, and establishes a variable w i m i and sets w i m i = x i . For the rest of d-level Bell states with the subscripts h i 1 , 2 , , n m i , P i sets w i h i = 0 . Finally, P i uses the unitary operation shown in Eq. 3 to generate
ϕ v i r , w i r = 1 d l = 0 d 1 ζ l v i r l l w i r .
Step 5.  P i performs d-level Bell measurements on the particle with the marks u i r in ϕ u 0 r , u 1 r , , u n r and the particles with the marks v i r in ϕ v i r , w i r . The measurement results are marked by
ϕ ( λ i r , γ i r ) r = 1 n .
Then, P i sends the unmeasured particles in all d-level Bell states to TP.
Step 6.  P 1 , P 2 , , P n cooperate together to calculate
A r = i = 1 n γ i r ,
and then announce A r to TP.
Step 7. Similar to the sixth step in the previous protocol, TP performs measurements and calculations, and then marks the calculation results by R r . Finally, TP calculates the function
f R 1 , R 2 , , R n ,
which is equal to f ( x 1 , x 2 , , x n ) .

2.3. Discussion

The security analysis and the calculation of the success probability of the two protocols proposed above can refer to Refs. [7,10], which will not be elaborated here. The two protocols can be applied to all anonymous computation scenarios, such as quantum anonymous voting [11], quantum anonymous survey [12], and quantum anonymous ranking [13].

3. Conclusions

We have presented two quantum protocols for anonymous computation, both of which allow multiple mutually distrustful users to compute a public function for any non-negative integers. Since both of the protocols are implemented through entanglement swapping, they can adapt to quantum network environments and have significant advantages in communication distance. In our future work, we will consider a more detailed characterization of the success probability and security analysis for the two proposed protocols.

References

  1. Ji, Z. X. Introduction to Quantum Information Security. University of Science and Technology of China Press, 2025.
  2. Ji, Z. X., & Zhang, H. G. (2025). Theoretical Foundations of Quantum Mechanics. Preprints, 202502.1244. [CrossRef]
  3. Ji, Z. X., & Zhang, H. G. (2026). Cosmic Quantum Network. Preprints, 202605.1256. [CrossRef]
  4. Galindo, A., & Martin-Delgado, M. A. (2002). Information and computation: Classical and quantum aspects. Reviews of Modern Physics, 74(2), 347. [CrossRef]
  5. Ji, Z. X., & Zhang, H. G. (2020). Entanglement swapping theory and beyond. arXiv preprint, arXiv: 2009.02555. [CrossRef]
  6. Ji, Z. X., Fan, P. R., & Zhang, H. G. (2022). Entanglement swapping for Bell states and Greenberger-Horne-Zeilinger states in qubit systems. Physica A: Statistical Mechanics and its Applications, 585(1), 126400. [CrossRef]
  7. Ji, Z. X., Zhang H. G., Wang, H. Z., Wu, F. S., Jia, J. W., & Wu, W. Q. (2019). Quantum protocols for secure multi-party summation. Quantum Information Processing, 18(6), 168. [CrossRef]
  8. Karimipour, V., Bahraminasab, A., & Bagherinezhad, S. (2002). Entanglement swapping of generalized cat states and secret sharing. Physical Review A, 65(4). [CrossRef]
  9. Cabello, A. (2002). N-particle N-level singlet states: some properties and applications. Physical review letters, 89(10), 100402.
  10. Ji, Z. X., & Zhang, H. G. (2020). Security proof of quantum cryptography against entanglement-measurement attack. arXiv preprint, arXiv: 2012.14275. [CrossRef]
  11. Hillery, M., Ziman, M., Buzˇek, V., & Bielikova´, M. (2006). Towards quantum-based privacy and voting. Physics Letters A, 349(1-4), 75-81. [CrossRef]
  12. Vaccaro, J. A., Spring, J., & Chefles, A. (2007). Quantum protocols for anonymous voting and surveying. Physical Review A, 75(1), 012333. [CrossRef]
  13. Huang, W., Wen, Q. Y., Liu, B., Su, Q., Qin, S. J., & Gao, F. (2014). Quantum anonymous ranking. Physical Review A, 89(3), 032325. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings