In recent years, quantum computing has demonstrated superior efficiency to classical computing. In quantum computing, quantum circuits that implement specific quantum functions are crucial for generating correct solutions. Therefore, quantum circuit compilers, which decompose high-level gates into the hardware's native gates and optimize the circuit serve as the bridge from the quantum software stack to the hardware machines. However, untrusted quantum compilers risk stealing original quantum designs (quantum circuits), leading to the theft of sensitive intellectual property (IP). In classical computing, logic locking is a pivotal technique for securing integrated circuits (ICs) against reverse engineering and IP piracy. This technique involves inserting a keyed value into the circuit, ensuring the correct output is achieved only with the correct key. To address similar issues in quantum circuit protection, we propose a method called quantum logic locking, which involves inserting controlled gates to control the function of the quantum circuit. We have expanded on previous work by extending the 1-bit logic key method to a multi-bit key approach, allowing for the use of diverse quantum gates. We have demonstrated the practicality of our method through experiments on a set of benchmark quantum circuits. The effectiveness of quantum logic locking was measured by assessing the divergence distance from the original circuit. Our results demonstrate that quantum logic locking effectively conceals the function of the original quantum circuit, with an average fidelity degradation of less than 1%.
翻译:暂无翻译