TL;DR
BVQC is a novel "backdoor-style" watermarking scheme designed to protect the intellectual property of Variational Quantum Circuits (VQCs). By embedding the watermark into the circuit's trained parameters rather than its physical structure, BVQC remains robust against aggressive re-compilation while maintaining significantly higher accuracy than previous state-of-the-art methods.
What Problem Does This Paper Address?
Variational Quantum Circuits (VQCs) are the workhorses of the current NISQ (Noisy Intermediate-Scale Quantum) era, used for everything from chemistry simulations to optimization. Because designing an effective VQC requires immense expertise and computational resources, these circuits are valuable Intellectual Property (IP).
However, protecting this IP is difficult. Existing watermarking techniques usually involve "structural" signatures—like inserting specific gate sequences or choosing suboptimal qubit mappings. The problem is twofold:
- Fragility: Modern quantum compilers (like Qiskit or BQiskit) are designed to optimize circuits. They often see these watermark "signatures" as inefficiencies and simply delete or overwrite them during re-compilation.
- Performance Hit: Adding extra gates or using suboptimal mappings increases noise and decoherence, which significantly degrades the accuracy of the circuit on real quantum hardware.
Methods
The authors propose BVQC, which shifts the watermark from the circuit's structure to its functionality.
The Backdoor Approach
Instead of adding physical gates, BVQC treats watermarking as a multi-task learning problem. During the training phase, the VQC is optimized to solve two tasks simultaneously:
- The Base Task: The original problem (e.g., finding the ground state energy of a molecule).
- The Watermark Task (The Backdoor): When the circuit is given a specific, secret set of "trigger" inputs and measurements, it is trained to produce a specific, predefined "watermark loss" value.
To an unauthorized user, the circuit looks and performs normally. Only the IP owner knows the secret "key" (the specific input/measurement pair) to trigger the watermark response for verification.
The Grouping Algorithm
A major challenge in multi-task learning is "gradient conflict," where training for the watermark might hurt the accuracy of the base task. BVQC introduces a Grouping Algorithm that evaluates candidate trigger sets. It selects triggers that have minimal interference with the base task’s optimization path, ensuring that the "backdoor" doesn't compromise the circuit's primary utility.
Datasets
The researchers evaluated BVQC across several standard quantum computing benchmarks:
- Chemistry: VQE (Variational Quantum Eigensolver) for $H_2$ and $H_3^+$ molecules using the PennyLane Molecules dataset.
- Optimization: QAOA (Quantum Approximate Optimization Algorithm) using HamLib-MaxCut graphs (4-node and 6-node).
- Excited States: VQD (Variational Quantum Deflation) for molecular benchmarks.
- Hardware: Experiments were run on simulated environments and validated using IBMQ Kolkata and IBMQ Cairo quantum processors.
Key Insights and Ideas
- Parameter-Level Robustness: Because the watermark is encoded in the rotation angles ($\theta$) of the gates rather than the presence of the gates themselves, it is "compiler-proof." A compiler can reorder gates or swap qubits, but it must preserve the underlying mathematical operation, which keeps the watermark intact.
- The "Aha" Moment on Noise: Previous methods failed because they added "weight" (more gates) to an already noisy system. BVQC realizes that since VQCs are already being trained, we can just "steer" that training to include a secret signature at zero extra hardware cost.
- Verification via Loss: Ownership is proven not by looking at the code, but by running the circuit. If the output loss on a secret input matches the predefined "watermark loss," the IP is verified.
Key Results
- Resilience to Re-compilation: BVQC significantly outperformed prior structural methods. In tests, the Probabilistic Proof of Authorship (PPA) for older methods spiked after re-compilation (meaning the watermark was lost), while BVQC’s PPA remained stable.
- Superior Accuracy: BVQC reduced the Ground Truth Distance (GTD)—a measure of how far the result is from the ideal—by an average of 0.089 compared to previous SOTA.
- Minimal Overhead: The task loss change caused by embedding the BVQC watermark was a negligible 4.1e-3, meaning the watermarked circuit is virtually as accurate as a "clean" one.
Limitations and Future Work
While BVQC is robust against compilers, the authors acknowledge potential "removal" attacks like fine-tuning, where an adversary retrains the circuit on a new dataset to "wash out" the parameters. Although they suggest parameter smoothing can mitigate this, a dedicated study on the limits of fine-tuning attacks would be a natural next step.
Additionally, the current scheme assumes a "white-box" or "gray-box" threat model where the attacker has access to the circuit parameters. Future work could explore how these backdoor watermarks behave in purely "black-box" API-based quantum computing services.
Summary updated