arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.05943quant-phcs.ET
收藏

一种面向安全与隐私的量子电路混淆方法

A Quantum Circuit Obfuscation Methodology for Security and Privacy

Aakarshitha Suresh, Abdullah Ash Saki, Mahabubul Alam, Rasit o Topalaglu, Swaroop Ghosh

AI总结:

本文提出一种量子电路混淆方法,通过基于度量的虚拟 SWAP 门插入在不可信编译器前最大化功能破坏,并能在编译后恢复正确功能,同时保持较低开销。

摘要:

利用高效编译器对量子电路进行优化,是其在 NISQ 计算机上取得成功的关键。多个第三方编译器正在不断发展,以期为大型量子电路提供更优性能。这些第三方,或者某个原本可信编译器的特定版本,可能并不可信,这可能导致攻击者对量子电路进行逆向工程,以提取敏感方面,例如电路拓扑、程序及其性质。本文提出对量子电路进行混淆以隐藏其功能。量子电路在正确输出与错误输出之间具有固有裕度。因此,通过插入虚拟门进行混淆(即破坏功能)并非易事。我们逐次插入虚拟 SWAP 门,以在将量子电路发送给不可信编译器之前实现最大程度的功能破坏。如果不可信方克隆该设计,他们将得到错误的功能。设计者在编译后移除虚拟 SWAP 门,以恢复正确功能。与经典对应物相比,量子芯片不会泄露电路功能。因此,攻击者无法猜测 SWAP 门及其位置,也无法使用预言机模型进行验证。在经典计算机中,无法对有/无 SWAP 插入的现实量子电路进行评估。因此,我们提出了一种基于度量的 SWAP 门插入过程。该度量的目标是确保使用全变差距离衡量的功能破坏最大化。所提出的方法使用 IBM 默认含噪仿真模型进行了验证。我们基于度量的方法预测 SWAP 位置,可实现高达 50% 的全变差距离,其表现比平均全变差距离好 7.5%,并且在基准测试中处于可获得的最佳全变差距离的 12.3% 以内。在添加 SWAP 后,我们在门数量和电路深度方面获得了小于 5% 的开销。

英文摘要:

Optimization of quantum circuits using an efficient compiler is key to its success for NISQ computers. Several 3rd party compilers are evolving to offer improved performance for large quantum circuits. These 3rd parties, or just a certain release of an otherwise trustworthy compiler, may possibly be untrusted and this could lead to an adversary to Reverse Engineer (RE) the quantum circuit for extracting sensitive aspects e.g., circuit topology, program, and its properties. In this paper, we propose obfuscation of quantum circuits to hide the functionality. Quantum circuits have inherent margin between correct and incorrect outputs. Therefore, obfuscation (i.e., corruption of functionality) by inserting dummy gates is nontrivial. We insert dummy SWAP gates one at a time for maximum corruption of functionality before sending the quantum circuit to an untrusted compiler. If an untrusted party clones the design, they get incorrect functionality. The designer removes the dummy SWAP gate post-compilation to restore the correct functionality. Compared to a classical counterpart, the quantum chip does not reveal the circuit functionality. Therefore, an adversary cannot guess the SWAP gate and location/validate using an oracle model. Evaluation of realistic quantum circuit with/without SWAP insertion is impossible in classical computers. Therefore, we propose a metric-based SWAP gate insertion process. The objective of the metric is to ensure maximum corruption of functionality measured using Total Variation Distance (TVD). The proposed approach is validated using IBM default noisy simulation model. Our metric-based approach predicts the SWAP position to achieve TVD of upto 50%, and performs 7.5% better than average TVD, and performs within 12.3% of the best obtainable TVD for the benchmarks. We obtain an overhead of < 5% for the number of gates and circuit depth after SWAP addition.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑