Quantum Private Array Content Comparison Based on Multi-Qubit Swap Test
Current private comparison schemes primarily focus on comparing single secret integers using quantum technologies, while the area of private array content comparison remains relatively unexplored. To bridge this gap, we introduce a quantum private array content comparison (QPACC) scheme based on multi-qubit swap test. This scheme integrates rotation operation, quantum homomorphic encryption (QHE), and multi-qubit swap test to facilitate the equality comparison of array contents while ensuring their confidentiality. In our approach, participants encode their array elements into the phases of quantum states using rotation operations, which are then encrypted via QHE. These encrypted quantum states are sent to a semi-honest third party (TP) who decrypts the encoded quantum states and computes the modulus squared sum of the inner products of these decoded quantum states using the multi-qubit swap test, thereby determining the equality relationship of the array contents. To verify the feasibility of the proposed scheme, we conduct a case simulation using IBM Qiskit. Security analysis indicates that the proposed scheme is resistant to quantum attacks (including intercept-resend, entangle-measure, and quantum Trojan horse attacks) from outsider eavesdroppers and attempts by curious participants.
Authors
- Shibin Zhang (ORCID: https://orcid.org/0000-0001-6323-9420)
- Min Hou (ORCID: https://orcid.org/0009-0006-2128-4825)
- Yue Wu (ORCID: https://orcid.org/0000-0001-8889-5475)
Institutions
- University of Electronic Science and Technology of China (CN)
- Sichuan University (CN)
- Chengdu University of Information Technology (CN)
- Chengdu University of Technology (CN)
- State Key Laboratory of Cryptology (CN)
Publication Details
- Journal
- Mathematics
- Published
- 2025-11-28
- DOI
- https://doi.org/10.3390/math13233827
- Primary Topic
- Quantum Information and Cryptography
- Type
- article
- Field-Weighted Citation Impact
- 0.00