跳到主要导航 跳到搜索 跳到主要内容

Mutation-based test generation for quantum programs with multi-objective search

  • Xinyi Wang
  • , Tongxuan Yu
  • , Paolo Arcaini
  • , Tao Yue
  • , Shaukat Ali
  • Nanjing University of Aeronautics and Astronautics
  • National Institute of Informatics
  • Simula Research Laboratory

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Mutation testing is often used for designing new tests, and involves changing a program in minor ways, which results in mutated versions of the program, i.e., mutants. An effective test suite should find faults (or kill mutants) with a minimum number of test cases, to save resources required for executing test cases. In this paper, in the context of mutation testing for quantum programs, we present a multi-objective and search-based approach (MutTG) to generate the minimum number of test cases killing as many mutants as possible. MutTG tries to estimate the likelihood that a mutant is equivalent, and uses this as a discount factor in the fitness definition to avoid keeping on trying to kill mutants that cannot be killed. We employed NSGA-II as the multi-objective search algorithm. Then, we compared MutTG with another version of the approach that does not use the discount factor in its fitness definition, and with random search (RS), over a set of open-source quantum programs and their mutants of varying complexity. Results show that the discount factor does indeed help in guiding the test generation, as the approach with the discount factor performs better than the one without it.

源语言英语
主期刊名GECCO 2022 - Proceedings of the 2022 Genetic and Evolutionary Computation Conference
出版商Association for Computing Machinery, Inc
1345-1353
页数9
ISBN(电子版)9781450392372
DOI
出版状态已出版 - 8 7月 2022
已对外发布
活动2022 Genetic and Evolutionary Computation Conference, GECCO 2022 - Virtual, Online, 美国
期限: 9 7月 202213 7月 2022

出版系列

姓名GECCO 2022 - Proceedings of the 2022 Genetic and Evolutionary Computation Conference

会议

会议2022 Genetic and Evolutionary Computation Conference, GECCO 2022
国家/地区美国
Virtual, Online
时期9/07/2213/07/22

指纹

探究 'Mutation-based test generation for quantum programs with multi-objective search' 的科研主题。它们共同构成独一无二的指纹。

引用此