Device-Independent-Quantum-Randomness-Enhanced Zero-Knowledge Proof

Chenglong Li, Kaiyi Zhang, Xingjian Zhang, Kui-Xing Yang, Han Yu, Su-Yi Cheng, Hongrui Cui, Wen‐Zhao Liu, Minghan Li, Yang Liu, Bing Bai, Hai-Hao Dong, Jun Zhang, Xiongfeng Ma, Jingyun Fan, Qiang Zhang, Jian-Wei Pan · DOI

Abstract

Zero-knowledge proof (ZKP) is a fundamental cryptographic primitive that allows a prover to convince a verifier of the validity of a statement without leaking any further information. As an efficient variant of ZKP, non-interactive zero-knowledge proof (NIZKP) adopting the Fiat-Shamir heuristic is essential to a wide spectrum of applications, such as federated learning, blockchain and social networks. However, the heuristic is typically built upon the random oracle model making ideal assumptions about hash functions, which does not hold in reality and thus undermines the security of the protocol. Here, we present a quantum resolution to the problem. Instead of resorting to a random oracle model, we implement a quantum randomness service. This service generates random numbers certified by the loophole-free Bell test and delivers them with postquantum cryptography (PQC) authentication. Employing this service, we conceive and implement a NIZKP of the three-colouring problem. By bridging together three prominent research themes, quantum non-locality, PQC and ZKP, we anticipate this work to open a new paradigm of quantum information science.

Introduction

Zero-Knowledge Proofs (ZKPs) are a cornerstone of modern privacy-preserving technologies. They allow a "prover" to convince a "verifier" that a statement is true—such as possessing a valid digital signature or sufficient funds—without revealing the underlying data itself. To make these proofs practical for asynchronous environments like blockchain and the web, researchers utilize Non-Interactive ZKPs (NIZKPs). These protocols eliminate the need for back-and-forth communication by using the Fiat-Shamir heuristic.

However, the Fiat-Shamir heuristic relies on the random oracle model, which assumes that cryptographic hash functions (like SHA-256) behave as perfectly unpredictable sources of randomness. In reality, these functions are deterministic and potentially vulnerable to sophisticated pre-computation attacks or the immense processing power of future quantum computers. This research addresses this fundamental "trust gap" by replacing mathematical assumptions with physical ones, utilizing the inherent unpredictability of quantum mechanics.

System Architecture and Methods

The core of this work is a Quantum Randomness Service that acts as a trusted "randomness beacon." The system architecture integrates three distinct technological pillars to ensure end-to-end security.

System architecture and physical implementation of the quantum randomness service and NIZKP.

1. Device-Independent Quantum Random Number Generation (DIQRNG)

Rather than trusting a proprietary hardware chip, the authors utilize a "loophole-free Bell test." By measuring entangled photons sent to two stations (Alice and Bob) located approximately 180 meters apart, they generate randomness that is physically guaranteed by the laws of quantum non-locality. Because the randomness is certified by the violation of a Bell inequality, the user does not need to trust the internal workings of the quantum devices; the measurement outcomes themselves prove the randomness is genuine.

2. Post-Quantum Cryptography (PQC)

To deliver these random bits securely from the beacon to the users, the system employs lattice-based signature algorithms (specifically Aigis.Sig). These algorithms are designed to be "quantum-safe," ensuring that the authentication of the randomness service cannot be forged even by an adversary equipped with a large-scale quantum computer.

3. The NIZKP Protocol

The researchers applied this service to the "three-colouring problem," a classic NP-complete problem used as a benchmark in cryptography. In this protocol, the prover commits to a specific coloring of a graph. A timestamp server signs this commitment, and the quantum beacon subsequently provides the "challenge" bits. These bits determine which edges of the graph the prover must reveal to demonstrate the validity of the coloring without revealing the entire solution.

Detailed cryptographic protocol for the quantum-enhanced NIZKP.

Experimental Results and Performance

The system was evaluated through a series of physical experiments and computational benchmarks. The photon detection system achieved an efficiency of 81%, which is sufficient to close the "detection loophole" required for a valid Bell test.

Key performance metrics include:

  • Randomness Generation: The system generated 512 bits of certified randomness in approximately 31.38 seconds per pulse.
  • Scalability: Testing on synthetic graphs with 50 to 250 vertices ($V$) confirmed that the protocol's complexity scales at $O(|V|^2)$. For a graph with 250 vertices, the proof size was approximately 521 MB, with a verification time of just over 1 second.
  • Soundness: The total "soundness error" (the probability that a prover could successfully cheat) was calculated to be extremely low, combining errors from randomness generation ($2^{-64}$), extraction ($2^{-100}$), and the ZKP protocol itself ($2^{-64}$).

Discussion and Future Outlook

This work successfully bridges three prominent research themes: quantum non-locality, post-quantum cryptography, and zero-knowledge proofs. By eliminating the reliance on the random oracle model, the protocol provides a higher level of security rooted in physical laws rather than mathematical conjectures.

While the current latency of 31 seconds per pulse is a significant achievement for a research experiment, it remains slow compared to traditional digital signatures. Future developments will focus on increasing the bit rate of the DIQRNG and reducing the infrastructure requirements, which currently involve bulky Superconducting Nanowire Single-Photon Detectors (SNSPDs). Additionally, the authors suggest that a decentralized network of independent quantum beacons could further enhance security, ensuring that the randomness service remains robust even if individual nodes are compromised.

Summary updated

BibTeX
@inproceedings{li2023device,
  author = {Chenglong Li and Kaiyi Zhang and Xingjian Zhang and Kui-Xing Yang and Han Yu and Su-Yi Cheng and Hongrui Cui and Wen‐Zhao Liu and Minghan Li and Yang Liu and Bing Bai and Hai-Hao Dong and Jun Zhang and Xiongfeng Ma and Yu Yu and Jingyun Fan and Qiang Zhang and Jian-Wei Pan},
  title = {{Device-Independent-Quantum-Randomness-Enhanced Zero-Knowledge Proof}},
  booktitle = {Proceedings of the National Academy of Sciences},
  year = {2023},
  doi = {10.1073/pnas.2205463120},
}
Figure