Evaluating Quantum Circuit Protection Methods After Compilation: An Empirical Comparison
Abstract
Quantum cloud providers can read the circuits they receive and their outputs, yet methods for hiding a circuit are usually evaluated on the circuit as written, before compilation optimises it. We compare three ObfusQate schemes (inverse, composite and delayed gates), ECQCO and Q-MaskCut under one protocol that compiles every protected circuit at optimisation level 3 before measuring it; the goal is to keep the provider from learning the user's algorithm and answer. Q-MaskCut is one example combination of existing techniques: a one-time-pad key, decoy wires, circuit cutting with a random rotation pair across each cut, and Pauli twirling with dynamical-decoupling masking after compilation. We simulate 11 circuits of 3 to 19 qubits without noise and on two noise models, measure the compiled structure and execution time of 23 circuits of 3 to 127 qubits, and test whether the structural disguise survives a second compilation by the provider. Composite and delayed gates lose most of their structural disguise in compilation and leave the output readable; inverse gates keep a high normalised graph edit distance (normGED) only by making execution 7 to 112 times longer; ECQCO's output could not be decoded with the implementation provided by its authors. Q-MaskCut hides the output (mean total variation distance without the key 0.94), and without noise, with exact fragment probabilities, it decodes exactly. Its compiled normGED of 0.88 comes mostly from the masking, which a second compilation removes, leaving 0.42 from the key, decoys and padlocks. With noise, its fidelity is comparable to the original's; it needs 7 to 91 fragment variants per circuit in the simulations (7 to 61 in a run on ibmmarrakesh) and a classical reconstruction. Protection should therefore be evaluated on the compiled circuit and again after the provider recompiles it.
Create a lesson
Metadata
- Comments
- 23 pages, 12 figures, 5 tables
Related papers
Verification and Evaluation of A Comprehensive Quantum Simulation Compiler
Shared title terminologyquant-phBhuwan Joshi, Zoukarneini Difaizi Tagba, Zhi Xiang Chong et al.
Small-world networks yield tunable quantum codes at short circuit depth
Shared title terminologyquant-phSamuel Bevins, Gregory Bentsen
Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum Compilation
Shared title terminologyquant-phXiaodi Li, Yuqing Wang, Xue Chen et al.
Unveiling the Action of Randomized Compiling on Quantum States: A Geometric Perspective
Shared title terminologyquant-phKai Tang, Chao Zhan, Yao Song et al.
Undecidable quantum storage: no algorithm can tell from the noise rate whether a fixed circuit remembers
Shared title terminologyquant-phSeth Douglas, Nidhal Mghirbi
A Frequency-Learning Interpolation-Based Coordinate Descent Method to Optimize Parameterized Quantum Circuits on Quantum Hardware
Shared title terminologyquant-phJack Mandell, Adam Leicester, Zixu Wang et al.