Multi-Stage Watermarking for Quantum Circuits

Yang Min, Xiaolong Guo, Lei JiangQCE 2024

TL;DR

This paper introduces a novel multi-stage watermarking technique for quantum circuits that embeds ownership information across different stages of circuit synthesis (decomposition, mapping, and scheduling). This approach significantly reduces the overhead (circuit depth, gate count) and fidelity loss compared to existing methods, while offering a much stronger proof of authorship.

What Problem Does This Paper Address?

Quantum computing is rapidly advancing, and quantum circuits are becoming valuable intellectual property (IP). As the commercial value of these circuits grows, so does the risk of unauthorized copying and distribution by malicious actors. Existing watermarking techniques for quantum circuits, primarily focused on unitary matrix decomposition, introduce substantial overhead by increasing circuit depth and the number of 2-qubit gates, leading to a significant degradation in circuit fidelity. This paper aims to develop a more efficient and effective watermarking scheme that minimizes these negative impacts while ensuring robust IP protection.

Methods

The proposed solution is a "multi-stage watermarking" approach that integrates signature embedding at three key stages of the quantum circuit synthesis pipeline:

  • Stage 1: Watermarking on Unitary Matrix Decomposition: Instead of directly altering the unitary matrix, this stage uses the parity of the most significant digit of the distance between the original and decomposed unitary matrices of circuit blocks as a signature symbol. This allows for multi-symbol signatures by processing multiple blocks.
  • Stage 2: Watermarking on Qubit Mapping: This stage assigns unique multi-symbol signatures to different mappings of logical qubits to physical qubits on a NISQ machine. Signatures are derived by traversing an ordered binary search tree of possible mappings, ranked by infidelity overhead, using 'c' for left branches and 'd' for right branches.
  • Stage 3: Watermarking on Gate Scheduling: Here, a single-symbol signature ('e') is introduced by placing pairs of self-canceling gates (e.g., X gates) before and after SWAP gates on non-critical paths. The number of 'e' symbols corresponds to the number of such gate pairs.

By distributing the signature embedding across these stages, the technique aims to leverage additional constraints without drastically altering the circuit's core structure at any single step.

Datasets

The paper evaluates its method using six representative quantum circuits from the MQTBench benchmark suite. These circuits are small-scale (3-5 qubits) to highlight the sensitivity of watermarking insertion. The experiments are conducted using a simulated IBM NISQ machine backend called FakeLagos, available in Qiskit.

Key Insights and Ideas

  • Distributing the burden: The core insight is that watermarking doesn't need to be a single, heavy operation. By spreading signature embedding across multiple synthesis stages, the impact on circuit depth and fidelity can be significantly mitigated.
  • Leveraging synthesis stages: Each stage of quantum circuit synthesis (decomposition, mapping, scheduling) offers unique opportunities to embed information without necessarily causing large disruptions.
  • Parity for decomposition: Using the parity of a distance metric (rather than the distance itself) for unitary decomposition watermarking is a clever way to encode information with minimal structural change.
  • Tree-based mapping signatures: The binary search tree approach for qubit mapping signatures provides a systematic way to associate unique identifiers with different mapping choices, directly linking them to infidelity.
  • Self-canceling gates for scheduling: Introducing self-canceling gate pairs on non-critical paths is an elegant way to embed a signature without affecting the critical path or overall circuit depth in many cases.

Key Results

The multi-stage watermarking technique demonstrates significant improvements over the state-of-the-art [9]:

  • Reduced Overhead: On average, the proposed method shows a 16% reduction in 2-qubit gates and a 6% reduction in circuit depth compared to the previous technique.
  • Improved Fidelity: Watermarked circuits exhibit an average increase in fidelity (measured by PST) of 8% compared to the previous method.
  • Stronger IP Protection: The probabilistic proof of authorship (PPA) is 79.4% lower than the previous method, indicating a much higher confidence in identifying the true author.
  • Minimal Impact on Non-Watermarked Baselines: Compared to non-watermarked circuits, the proposed method introduces a modest increase in circuit depth (3%), a slight reduction in CNOT gates (2%), and a small decrease in PST (1%).

Limitations and Future Work

  • Trade-offs: While the multi-stage approach significantly reduces overhead compared to prior methods, there are still trade-offs. For instance, some watermarking signatures can slightly increase circuit depth or decrease PST in specific scenarios.
  • Signature Length: The paper mentions that the length of the signature can be tuned, but further exploration into optimal signature lengths for different applications might be beneficial.
  • Generalizability: While tested on MQTBench circuits, further validation on a wider range of quantum benchmarks and different NISQ architectures would be valuable.
  • Future Work: The authors suggest exploring more sophisticated signature embedding strategies and investigating the impact of their technique on different quantum algorithms and applications. They also highlight the need for further research into robust detection mechanisms for these watermarks.

Summary updated

Abstract

Quantum computing represents a burgeoning computational paradigm that significantly advances the resolution of contemporary intricate problems across various domains, including cryptography, chemistry, and machine learning. Quantum circuits tailored to address specific problems have emerged as critical intellectual properties (IPs) for quantum computing companies, attributing to the escalating commercial value of quantum computing. Consequently, designing watermarking schemes for quantum circuits becomes imperative to thwart malicious entities from producing unauthorized circuit replicas and unlawfully disseminating them within the market. Unfortunately, the prevailing watermarking technique reliant on unitary matrix decomposition markedly inflates the number of 2-qubit gates and circuit depth, thereby compromising the fidelity of watermarked circuits when embedding detectable signatures into the corresponding unitary matrices. In this paper, we propose an innovative multi-stage watermarking scheme for quantum circuits, introducing additional constraints across various synthesis stages to validate the ownership of IPs. Compared to the state-of-the-art watermarking technique, our multi-stage watermarking approach demonstrates, on average, a reduction in the number of 2-qubit gates by 16\% and circuit depth by 6\%, alongside an increase in the fidelity of watermarked circuits by 8\%, while achieving a 79.4\% lower probabilistic proof of authorship.
BibTeX
@inproceedings{min2024multi,
  author = {Yang Min and Xiaolong Guo and Lei Jiang},
  title = {{Multi-Stage Watermarking for Quantum Circuits}},
  booktitle = {QCE},
  year = {2024},
}
Figure