IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i2p326-d1571998.html
   My bibliography  Save this article

Two-Party Quantum Private Comparison Protocol for Direct Secret Comparison

Author

Listed:
  • Min Hou

    (School of Computer Science, Sichuan University Jinjiang College, Meishan 620860, China
    Network and Data Security Key Laboratory of Sichuan Province, University of Electronic Science and Technology of China, Chengdu 610054, China)

  • Yue Wu

    (School of Computer Science, Sichuan University Jinjiang College, Meishan 620860, China)

Abstract

In this paper, we leverage the properties of the swap test to evaluate the similarity of two qubits and propose a two-party quantum private comparison (QPC) protocol involving a semi-trusted third party (TP). The TP facilitates the comparison between participants without accessing their private information, other than the final comparison results. Our protocol encodes participants’ secret integers directly into the amplitudes of single-photon states and introduces a novel method for secret-to-secret comparison rather than the traditional bit-to-bit comparison, resulting in improved scalability. To ensure security, the encoded single-photon states are concealed using rotation operations. The comparison results are derived through the implementation of the swap test. A simulation on the IBM Quantum Platform demonstrates the protocol’s feasibility, and a security analysis confirms its robustness against potential eavesdropping and participant attacks. Compared with existing QPC protocols that employ bit-to-bit comparison methods, our approach offers improved practicality and scalability. Specifically, it integrates single-photon states, rotation operations, and the swap test as key components for direct secret comparison, facilitating easier implementation with quantum technology.

Suggested Citation

  • Min Hou & Yue Wu, 2025. "Two-Party Quantum Private Comparison Protocol for Direct Secret Comparison," Mathematics, MDPI, vol. 13(2), pages 1-17, January.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:2:p:326-:d:1571998
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/2/326/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/2/326/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:2:p:326-:d:1571998. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.