A Mutation-Based Framework for Efficiency Evaluation of Quantum Compilers

Authors:

Abstract
The core of a quantum compiler lies in its optimization strategies, whose effectiveness can be assessed not only based on theoretical complexity but also empirically evaluated efficiently using performance metrics in real-world scenarios. We first propose leveraging the mutation relation between inputs and outputs to test the efficiency of quantum compilers, which consists of two parts. Finding the optimal solution for compilation is an NP-hard problem, when generating test benchmarks, we specifically generate coverage mutation benchmarks that reflect optimal strategies for the initial mapping and routing stages of compilation, respectively, in accordance with OpenQASM syntax. Then, based on the limitations of physical chips and optimal compilation standards, we constructed two mutation relationships to reflect the compilation efficiency of the compiler on quantum gate metrics. Finally, we constructed 63,000 benchmark tests covering various scales on three superconducting chips, and evaluated the gap between heuristic algorithms SABRE, QMAP, and FiDLS and optimal strategies using our proposed method. Our approach allows for an intuitive observation that the subgraph isomorphism method in FiDLS performs the best in initial mapping, while SABRE has the smallest gap with the optimal solution. Collectively, our mutation-based framework effectively addresses the critical gap in the lack of systematic and quantitative evaluation methods for quantum compiler optimal efficiency, enabling precise and reliable assessment of compiler performance and the inherent differences among various compilation algorithms.

This publication has 17 references indexed in Scilit: