[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-127542-en":3,"doc-seo-127542-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},127542,687207017582,"Himbo","https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d",8,"Research & Report","NOISE-AWARE QUANTUM SOFTWARE TESTING - QOIN 方案用于缓解噪声影响","Quantum Computing promises computational speedups, yet current and near-term quantum devices suffer from hardware noise. This makes quantum software testing unreliable: a test can fail due to noise rather than genuine faults, especially when testing is executed on ideal simulators that ignore noise. The proposed noise-aware method, QOIN, uses machine learning to learn and filter a quantum computer’s noise effects, then assesses test cases using the filtered outputs against an oracle. Experiments on IBM noise models show noise reduction and improved oracle performance.","NOISE-AWARE QUANTUM SOFTWARE TESTING  \narXiv :2306 . 16992v1 [ cs . SE] 29 Jun 2023  \nAsmar Muqeet  \nSimula Research Laboratory University of Oslo Oslo [asmar@simula.no](asmar@simula.no)  \nTao Yue  \nSimula Research Laboratory Oslo [tao@simula.no](tao@simula.no)  \nShaukat Ali  \nSimula Research Laboratory and Oslo Metropolitan University Oslo [shaukat@simula.no](shaukat@simula.no)  \nPaolo Arcaini  \nNational Institute of Informatics  \nTokyo  \n[arcaini@nii.ac.jp](arcaini@nii.ac.jp)  \nABSTRACT  \nQuantum Computing (QC) promises computational speedup over classic computing for solving some complex problems. However, noise exists in current and near-term quantum computers. Quantum software testing (for gaining conﬁdence in quantum software's correctness) is inevitably impacted by noise, to the extent that it is impossible to know if a test case failed due to noise or real faults. Existing testing techniques test quantum programs without considering noise, i.e., by executing tests on ideal quantum computer simulators. Consequently, they are not directly applicable to testing quantum software on real QC hardware or noisy simulators. To this end, we propose a noiseaware approach (named QOIN ) to alleviate the noise effect on test results of quantum programs.  \nQOIN employs machine learning techniques (e.g., transfer learning) to learn the noise effect of a quantum computer and ﬁlter it from a quantum program's outputs. Such ﬁltered outputs are then used as the input to perform test case assessments (determining the passing or failing of a test case execution against a test oracle) . We evaluated QOIN on IBM's 23 noise models with nine real-world quantum programs and 1000 artiﬁcial quantum programs. We also generated faulty versions of these programs to check if a failing test case execution can be determined under noise. Results show that QOIN can reduce the noise effect by more than 80% . To check QOIN 's effectiveness for quantum software testing, we used an existing test oracle for quantum software testing. The results showed that the F1-score of the test oracle was improved on average by 82% for six real-world programs and by 75% for 800 artiﬁcial programs, demonstrating that QOIN can effectively learn noise patterns and enable noise-aware quantum software testing.  \nKeywords Software and its engineering 􀀁 Software testing and debugging 􀀁 Computing methodologies 􀀁 Instancebased learning 􀀁 Quantum Computing 􀀁 Machine learning.  \n1 Introduction  \nThere has been an increased interest in quantum software engineering over the past few years, focusing on designing, developing, and testing quantum computing (QC) applications [1, 2, 3, 4, 5, 6, 7, 8] . This growth of interest is due to the computational power promised by quantum computers to solve a particular class of problems more efﬁciently than classic computers [9] . In addition, quantum computers (IBM [10], Google [11], Honeywell [12]), and quantum computer simulators such as QuEST [13], QX [14], and IBM's Qiskit Aer simulator [15] are becoming available. However, quantum computers are susceptible to hardware noise due to immature hardware and environmental factors (e.g., magnetic ﬁelds, radiations) [16, 17] . Noise affects the accuracy of calculations a quantum computer performs, thus resulting in incorrect program outputs. Such computers with inherent noise are known as Noisy IntermediateScale Quantum (NISQ) computers [18] .  \nQOIN  \nQuantum software testing aims to cost-effectively ﬁnd quantum software bugs to achieve a certain level of conﬁdence in their correctness [19, 20, 21, 22, 1] . Testing quantum software is challenging due to the inherent quantum mechanics' features, such as superposition and entanglement [19, 22] . In addition, noise brings another layer of complexity to the challenge. For example, when checking test results, it becomes difﬁcult to conclude whether a test case execution failed due to a faulty quantum program or noise. Existing quantum software testing appr","cbCaisC9fWYJGcbl","https://ap.wps.com/l/cbCaisC9fWYJGcbl","pdf",1364160,1,20,"English","en",105,"# Abstract\n# 1 Introduction\n# QOIN\n## Problem with noise on NISQ\n## Noise-aware testing via machine learning","[{\"question\":\"为什么现有量子软件测试方法难以直接用于噪声量子硬件？\",\"answer\":\"现有方法通常在理想、无噪声模拟器上执行，导致测试结果无法反映真实噪声影响；在 NISQ 设备上，噪声会使相同程序的输出随设备而变化，从而难以判断测试失败到底来自噪声还是程序故障。\"},{\"question\":\"QOIN 如何缓解噪声对量子程序测试结果的影响？\",\"answer\":\"QOIN 通过监督学习训练模型学习量子计算机的噪声模式，并将噪声从量子程序输出中进行过滤；再用过滤后的输出进行测试用例评估，与测试判定准则（oracle）对照通过/失败。\"},{\"question\":\"实验结果表明 QOIN 的有效性如何？\",\"answer\":\"在 IBM 的 23 种噪声模型上，对真实与人工量子程序进行评估；结果显示噪声影响可降低 80% 以上。使用现有测试 oracle 时，6 个真实程序的平均 F1-score 提升 82%，800 个人工程序平均提升 75%。\"}]","NOISE-AWARE QUANTUM SOFTWARE TESTING - QOIN 方案用于缓解噪声影响 | PDF",1785939853,50,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"noise-aware-quantum-software-testing-qoin-noise-aware-approach","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/noise-aware-quantum-software-testing-qoin-noise-aware-approach/127542/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-23","2026-08-05",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"为什么现有量子软件测试方法难以直接用于噪声量子硬件？","Question",{"text":76,"@type":77},"现有方法通常在理想、无噪声模拟器上执行，导致测试结果无法反映真实噪声影响；在 NISQ 设备上，噪声会使相同程序的输出随设备而变化，从而难以判断测试失败到底来自噪声还是程序故障。","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"QOIN 如何缓解噪声对量子程序测试结果的影响？",{"text":81,"@type":77},"QOIN 通过监督学习训练模型学习量子计算机的噪声模式，并将噪声从量子程序输出中进行过滤；再用过滤后的输出进行测试用例评估，与测试判定准则（oracle）对照通过/失败。",{"name":83,"@type":74,"acceptedAnswer":84},"实验结果表明 QOIN 的有效性如何？",{"text":85,"@type":77},"在 IBM 的 23 种噪声模型上，对真实与人工量子程序进行评估；结果显示噪声影响可降低 80% 以上。使用现有测试 oracle 时，6 个真实程序的平均 F1-score 提升 82%，800 个人工程序平均提升 75%。","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":93},[94,98,102,106,111,115,120,123,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":46,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":112,"doc_module":4,"doc_module_name":46,"category_name":113,"show_sort_weight":29,"slug":114},6,"Technology","technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":21,"slug":126},9,"Religion & Spirituality","religion-spirituality",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":21,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":107,"slug":137},19,"General","general"]