IEEE International Conference on Quantum Control, Computing and Learning (qCCL)
Semi-Quantum Private Comparison and Hamming Distance Calculation Based on $d$–Dimensional Bell States
Yi Yang, Min Jiang
Abstract
This paper presents a semi-quantum private comparison and Hamming distance computation protocol based on$d$-dimensional Bell states. The proposed protocol enables two parties, with the assistance of a trusted third party (TP), to determine whether their private information is identical and compute the Hamming distance without disclosing their secrets. In this protocol, the TP prepares$d$-dimensional Bell states and distributes the entangled particles to Alice and Bob. Alice and Bob predetermine specific positions where they will perform REFLECT or MEASURE operations. Based on their measurement results, both parties encode their secret information and transmit the results to the TP via a classical channel. The TP then compares the data by incorporating pre-recorded offsets to determine whether the secrets are equal and to compute the Hamming distance, while ensuring that no private information is directly exposed. Compared to existing protocols, the proposed method demonstrates broader applicability in scenarios with limited quantum resources. To validate the protocol, we provide concrete examples demonstrating its theoretical and practical feasibility. Furthermore, security and efficiency analyses confirm its robustness against various external attacks and potential internal threats, including dishonest TP behavior.