Repairing faulty quantum circuits is challenging and requires automated solutions. We present QRep, an automated repair approach that iteratively identifies and repairs faults in a circuit. QRep uniformly applies patches across the circuit and assigns each gate a suspiciousness score, reflecting its likelihood of being faulty. It then narrows the search space by prioritising the most suspicious gates in subsequent iterations, increasing the repair efficiency. We evaluated QRep on 40 (real and synthetic) faulty circuits. QRep completely repaired 70% of them, and for the remaining circuits, the actual faulty gate was ranked within the top 44% most suspicious gates, demonstrating the effectiveness of QRep in fault localisation. Compared with two baseline approaches, QRep scales to larger and more complex circuits, up to 13 qubits.
翻译:修复故障量子线路具有挑战性,需要自动化解决方案。我们提出QRep,一种迭代识别并修复线路中故障的自动化修复方法。QRep均匀地在线路中应用补丁,并为每个门分配可疑度分数,反映其故障可能性。随后,通过优先处理后续迭代中最可疑的门,该方法缩小搜索空间,提高了修复效率。我们在40个(真实与合成)故障线路上评估了QRep。QRep完全修复了其中70%的线路,而其余线路中,实际故障门均排在最可疑的44%的门之内,证明了QRep在故障定位方面的有效性。与两种基线方法相比,QRep能够扩展到更大且更复杂的线路,最多支持13个量子比特。