[论文解读] Randomized Reversible Gate-Based Obfuscation for Secured Compilation of Quantum Circuit
本文提出一种基于随机可逆门的混淆技术,通过在不受信任的第三方编译器进行编译期间保护量子电路的知识产权。该方法在原始设计中插入一个随机可逆电路,并在编译后将其反转,从而在保持功能正确性的同时实现高安全性的混淆——实验表明,总变差距离(TVD)最大可达1.92,且对逆向工程攻击具有强抵抗力,同时仅造成1%–3%的保真度损失。
The success of quantum circuits in providing reliable outcomes for a given problem depends on the gate count and depth in near-term noisy quantum computers. Quantum circuit compilers that decompose high-level gates to native gates of the hardware and optimize the circuit play a key role in quantum computing. However, the quality and time complexity of the optimization process can vary significantly especially for practically relevant large-scale quantum circuits. As a result, third-party (often less-trusted/untrusted) compilers have emerged, claiming to provide better and faster optimization of complex quantum circuits than so-called trusted compilers. However, untrusted compilers can pose severe security risks, such as the theft of sensitive intellectual property (IP) embedded within the quantum circuit. We propose an obfuscation technique for quantum circuits using randomized reversible gates to protect them from such attacks during compilation. The idea is to insert a small random circuit into the original circuit and send it to the untrusted compiler. Since the circuit function is corrupted, the adversary may get incorrect IP. However, the user may also get incorrect output post-compilation. To circumvent this issue, we concatenate the inverse of the random circuit in the compiled circuit to recover the original functionality. We demonstrate the practicality of our method by conducting exhaustive experiments on a set of benchmark circuits and measuring the quality of obfuscation by calculating the Total Variation Distance (TVD) metric. Our method achieves TVD of up to 1.92 and performs at least 2X better than a previously reported obfuscation method. We also propose a novel adversarial reverse engineering (RE) approach and show that the proposed obfuscation is resilient against RE attacks. The proposed technique introduces minimal degradation in fidelity (~1% to ~3% on average).
研究动机与目标
- 应对第三方量子电路编译器窃取专有量子算法或知识产权所带来的日益增长的安全风险。
- 通过在编译过程中隐藏量子电路的真实功能,缓解不受信任编译器带来的威胁。
- 开发一种实用的混淆方法,通过可逆门的插入与反转,确保编译后电路的正确性。
- 通过消除可识别的标记或边界,增加攻击者逆向工程的搜索空间,从而提升对逆向工程攻击的抵抗力。
- 在实现强混淆指标的同时,最小化性能开销与保真度退化,且在真实基准电路上表现良好。
提出的方法
- 在将量子电路发送给不受信任的编译器之前,向原始量子电路中插入一个随机可逆量子电路。
- 仅使用可逆门(例如CNOT、Toffoli)以确保插入的电路为酉操作,从而可在后期被反转。
- 在编译完成后应用插入电路的逆操作,以恢复原始量子电路的功能。
- 利用缺乏标记或屏障的特性,防止攻击者识别混淆边界的范围。
- 通过测量混淆后电路与原始电路输出之间的总变差距离(TVD)来评估混淆质量。
- 通过系统性地从混淆电路的两端逐步移除门,开展对抗性逆向工程(RE)仿真,以测试恢复难度。
实验结果
研究问题
- RQ1随机可逆门插入是否能有效隐藏量子电路的真实功能,使其对不受信任的编译器不可见?
- RQ2在未访问黄金模型的情况下,该混淆方法在多大程度上能抵抗攻击者的逆向工程尝试?
- RQ3该混淆技术对最终编译后量子电路的保真度和门数有何影响?
- RQ4混淆对攻击者必须探索的可行逆向工程配置数量有何影响?
- RQ5与文献中已有混淆技术相比,该方法在混淆强度(以TVD衡量)方面表现如何?
主要发现
- 所提出的混淆方法在基准电路上实现了最高1.92的总变差距离(TVD),显著优于以往方法最高仅0.92的水平。
- 该方法引入的保真度退化极小,小规模电路的平均损失低于1%,大规模复杂电路的损失低于3%。
- 通过系统性地逐步移除门进行的逆向工程尝试基本无效,即使在移除大量门后,潜在配置数量仍处于难以处理的高数量级。
- 高TVD值并不总是意味着输出正确,表明即使统计相似性较低,混淆电路仍能有效误导攻击者。
- 由于混淆设计中未设置标记或屏障,当在两端均应用混淆时,逆向工程的搜索空间扩大至2*(n-1)种配置。
- 即使在最悲观的假设下,即攻击者已知晓混淆技术,恢复原始电路所需的计算量仍处于不可行的水平。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。