Delegating Quantum Computation Using Only Hash Functions

Jiayu Zhang

Abstract

This paper presents a novel protocol for delegating complex quantum computations to a powerful server while maintaining client data privacy. By adapting classical "garbled circuits" to be reversible and secure within the Quantum Random Oracle Model (QROM), the proposed method allows a computationally constrained client to delegate intensive tasks, such as the modular exponentiation in Shor’s algorithm, using minimal quantum resources independent of total circuit size.

The Delegation Problem in Quantum Computing

Quantum processors are expected to remain scarce, high-cost resources accessible primarily through cloud-based services. This creates a "delegation" problem: how can a client with a limited quantum device utilize a server's massive processor without exposing sensitive input data? Previous solutions often forced a trade-off between information-theoretic security (requiring high communication or client-side work), multi-round interactivity, or reliance on complex classical Fully Homomorphic Encryption (FHE) with lattice-based assumptions.

This research introduces a middle ground: a non-interactive, one-round protocol requiring minimal client-side quantum gates and relying on simpler cryptographic assumptions—specifically, hash functions modeled as random oracles.

Methods: Reversible Garbled Circuits

The core innovation is the Reversible Garbled Circuit. In classical cryptography, Yao’s garbled circuits are inherently non-reversible; they "consume" input keys to produce output keys. In quantum mechanics, operations must be unitary (reversible). Standard classical garbling applied to quantum states leads to entanglement with "garbage" auxiliary qubits, which collapses superpositions and halts computation.

To overcome this, the paper introduces a "Backward Table" alongside the standard garbled table. This allows the server to "un-compute" input keys after generating output keys, preserving the purity of the quantum state.

The Reversible Garbled Circuit mechanism uses a Backward Table to allow un-computation of keys, maintaining quantum state purity.

The protocol also employs a new encoding scheme that maps plaintext qubits into multi-qubit "ciphertext" states and utilizes specialized "gadgets" for phase gate support. Security is established through the first formal study of Key Dependent Message (KDM) security in a quantum context.

Key Insights: The C+P Circuit Family

The protocol targets circuits composed of Toffoli and diagonal (phase) gates (the "C+P" family). While not universal in the strictest sense, this family is sufficient for the modular exponentiation required by Shor’s factoring algorithm. Crucially, the client's quantum effort scales only with the input size and security parameter, not the overall circuit complexity. By proving security in the QROM, the paper demonstrates that private quantum delegation is achievable without the "heavy machinery" of FHE.

Results and Performance

The protocol achieves significant efficiency gains. The client requires only $O(\eta N_q + N_q^2)$ quantum CNOT gates, where $N_q$ is the number of input qubits and $\eta$ is the security parameter. For an input of length $n$ in Shor’s algorithm, the client uses $O(\eta n + n^2)$ gates—asymptotically superior to the $\omega(n^2)$ gates needed for local execution.

Comparison of the proposed protocol against existing quantum delegation methods.

As shown in the comparison table, the "C+P" protocol offers a unique balance of circuit class support and reduced client resources compared to FHE-based or high-round-complexity alternatives.

Limitations and Future Directions

While promising, the protocol has areas for refinement. There is a gap between the proven security key length and the conjectured optimal length. Additionally, the current gate set does not natively support universal quantum computation (e.g., Hadamard gates) without further interaction. Future work may involve moving the proof from the Random Oracle Model to the Standard Model and exploring classical optimization techniques like "free XOR" for the quantum domain.

Summary updated

BibTeX
@inproceedings{zhang2019delegating,
  author = {Jiayu Zhang},
  title = {{Delegating Quantum Computation Using Only Hash Functions}},
  booktitle = {TCC},
  year = {2019},
  doi = {10.1007/978-3-030-36033-7\_2},
}
Figure