Skip to main content
QUICK REVIEW

[論文レビュー] Randomized Reversible Gate-Based Obfuscation for Secured Compilation of Quantum Circuit

Subrata K. Das, Swaroop Ghosh|arXiv (Cornell University)|May 2, 2023
Quantum Computing Algorithms and ArchitectureComputer Science被引用数 3
ひとこと要約

この論文は、信頼できない第三者のコンパイラーによるコンパイル中に量子回路の知的財産権を保護するため、ランダム化された可逆ゲートに基づく obfuscation 技術を提案する。元の設計にランダムな可逆回路を挿入し、その後コンパイル後にそれを逆転することで、機能を保持しつつ高い obfuscation セキュリティを達成する。最大の全変動距離(TVD)が1.92に達し、逆エンジニアリング攻撃に対しても耐性を示し、忠実度の損失は最小限(1–3%)に抑えられている。

ABSTRACT

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).

研究の動機と目的

  • 第三者による量子回路コンパイラーによる特許取得済みの量子アルゴリズムや知的財産権の盗難という増加するセキュリティリスクに対処する。
  • 信頼できないコンパイラーの脅威を軽減するため、コンパイル中における量子回路の真の機能を隠蔽する。
  • 可逆ゲートの挿入と逆転により、コンパイル後も回路の正しさを保つ実用的な obfuscation 方法を開発する。
  • 識別可能なマーカーやバリアを排除することで、逆エンジニアリング攻撃に対する耐性を確保する。
  • 性能のオーバーヘッドと忠実度の低下を最小限に抑えつつ、実際のベンチマーク回路で強い obfuscation メトリクスを達成する。

提案手法

  • 信頼できないコンパイラーに送信する前に、元の量子回路にランダムな可逆量子回路を挿入する。
  • CNOT や ToFoli などの可逆ゲートのみを用いて、挿入された回路がユニタリであり、後で逆転可能であることを保証する。
  • コンパイル後にランダム回路の逆転を適用し、元の量子回路の機能を回復する。
  • マーカーやバリアが存在しないことで、攻撃者が obfuscation の境界を特定できないようにする。
  • obfuscation の品質を、obfuscated 回路と元の回路の出力間の全変動距離(TVD)で測定する。
  • 逆エンジニアリングの模擬実験として、obfuscated 回路の両端から段階的にゲートを削除することで、回復の難易度をテストする。

実験結果

リサーチクエスチョン

  • RQ1ランダムに可逆ゲートを挿入することで、信頼できないコンパイラーが量子回路の真の機能を効果的に隠蔽できるか?
  • RQ2ゴールデンモデルにアクセスのない攻撃者が逆エンジニアリングを試みた場合、提案手法はどの程度耐性を示すか?
  • RQ3この obfuscation 技術は、最終的なコンパイル済み量子回路の忠実度とゲート数にどのような影響を与えるか?
  • RQ4逆エンジニアリングのための有効な構成の探索空間は、obfuscation の影響を受けてどの程度増加するか?
  • RQ5文献に登録された他の obfuscation 技術と比較して、TVD で測定した obfuscation 強度はどの程度か?

主な発見

  • 提案手法は、ベンチマーク回路全体で最大の全変動距離(TVD)が1.92に達し、先行手法の最大0.92を大きく上回っている。
  • 忠実度の低下は最小限に抑えられ、小規模な回路では平均で1%未満、大規模で複雑な回路では3%未満の損失にとどまっている。
  • 両端からの段階的ゲート削除による逆エンジニアリングの試みは、ほとんど効果がなく、削除後も探索可能な構成数は依然として非常に高かった。
  • 高いTVD値であっても出力が正しくない場合があり、統計的類似性が低くても、obfuscated 回路は攻撃者を誤導できることが示された。
  • obfuscation の設計にマーカーやバリアが存在しないため、両端に obfuscation を適用した場合、逆エンジニアリングの探索空間は2×(n−1)にまで増加する。
  • 攻撃者が obfuscation の手法を把握しているという楽観的仮定のもとでも、元の回路を回復するための計算的負荷は依然として非現実的である。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。