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

Swap Test-Based Quantum Protocol for Private Array Equality 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)

  • Shibin Zhang

    (College of Artificial Intelligence (CUIT Shuangliu Industrial College), Chengdu University of Information Technology, Chengdu 610225, China
    Advanced Cryptography and System Security Key Laboratory of Sichuan Province, Chengdu 610225, China)

Abstract

Private array equality comparison (PAEC) aims to evaluate whether two arrays are equal while maintaining the confidentiality of their elements. Current private comparison protocols predominantly focus on determining the relationships of secret integers, lacking exploration of array comparisons. To address this issue, we propose a swap test-based quantum protocol for PAEC, which satisfies both functionality and security requirements using the principles of quantum mechanics. This protocol introduces a semi-honest third party (TP) that acts as a medium for generating Bell states as quantum resources and distributes the first and second qubits of these Bell states to the respective participants. They encode their array elements into the received qubits by performing rotation operations. These encoded qubits are sent to TP to derive the comparison results. To verify the feasibility of the proposed protocol, we construct a quantum circuit and conduct simulations on the IBM quantum platform. Security analysis further indicates that our protocol is resistant to various quantum attacks from outsider eavesdroppers and attempts by curious participants.

Suggested Citation

  • Min Hou & Shibin Zhang, 2025. "Swap Test-Based Quantum Protocol for Private Array Equality Comparison," Mathematics, MDPI, vol. 13(15), pages 1-15, July.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2425-:d:1711532
    as

    Download full text from publisher

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

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

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:15:p:2425-:d:1711532. 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.