用于量子电路安全编译的随机可逆门混淆
Randomized Reversible Gate-Based Obfuscation for Secured Compilation of Quantum Circuit
AI总结:
针对不可信量子电路编译器窃取知识产权的风险,提出基于随机可逆门的混淆技术,通过插入随机电路并在编译后拼接其逆电路以恢复原始功能,实验表明该方法在保真度损失极小的情况下有效抵御逆向工程攻击。
摘要:
在近期含噪量子计算机中,量子电路能否为给定问题提供可靠结果取决于门数量和电路深度。将高级门分解为硬件原生门并优化电路的量子电路编译器,在量子计算中发挥着关键作用。然而,优化过程的质量和时间复杂度可能差异巨大,特别是对于实际应用中的大规模量子电路。因此,第三方(通常是不太可信/不可信的)编译器应运而生,声称能比所谓的可信编译器提供更好、更快的复杂量子电路优化。但不可信编译器可能带来严重的安全风险,例如窃取嵌入在量子电路中的敏感知识产权(IP)。我们提出了一种使用随机可逆门的量子电路混淆技术,以在编译过程中保护其免受此类攻击。其核心思想是在原始电路中插入一个小的随机电路,并将其发送给不可信编译器。由于电路功能被破坏,对手可能会获取错误的IP。然而,用户在编译后也可能得到错误的输出。为规避此问题,我们在编译后的电路中拼接该随机电路的逆电路,以恢复原始功能。我们通过对一组基准电路进行详尽实验,并计算总变差距离(TVD)指标来衡量混淆质量,从而验证了本方法的实用性。我们的方法实现了高达1.92的TVD,且性能比先前报道的混淆方法至少好2倍。我们还提出了一种新颖的对抗性逆向工程(RE)方法,并表明所提出的混淆对RE攻击具有弹性。该技术引入的保真度下降极小(平均约为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).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。