{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T11:48:40Z","timestamp":1794743320194,"version":"4.9.1"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2026,8,10]],"date-time":"2026-08-10T00:00:00Z","timestamp":1786320000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100000266","name":"Engineering and Physical Sciences Research Council","doi-asserted-by":"publisher","award":["EP\/W032635\/1, and EP\/Y005244\/1"],"award-info":[{"award-number":["EP\/W032635\/1, and EP\/Y005244\/1"]}],"id":[{"id":"10.13039\/501100000266","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Quantum Comput."],"published-print":{"date-parts":[[2026,12,31]]},"abstract":"<jats:p>Property-based testing has been previously proposed for quantum programs in Q# with QSharpCheck; however, this implementation was limited in functionality, lacked extensibility, and was evaluated on a narrow range of programs using a single property. To address these limitations, we propose QuCheck, an improved property-based testing framework for Qiskit. By leveraging Qiskit and the broader Python ecosystem, QuCheck facilitates property construction, introduces flexible input generators and assertions, and supports expressive preconditions. We assessed its effectiveness through mutation analysis on five quantum programs (2-10 qubits), varying the number of properties, inputs, and measurement shots to assess their impact on fault detection and demonstrate the effectiveness of property-based testing across a range of conditions. Results show a strong positive correlation between the mutation score (a measure of fault detection) and number of properties evaluated, with a moderate negative correlation between the false positive rate and number of measurement shots. The most thorough test configurations achieved a mean mutation score of 0.90 averaged across all five algorithms, with a false positive rate between 0 and 0.06. QuCheck identified 47.8% more faults than QSharpCheck, with execution time reduced by 67.4%. These findings highlight the viability of property-based testing for verifying quantum systems.<\/jats:p>","DOI":"10.1145\/3815169","type":"journal-article","created":{"date-parts":[[2026,5,8]],"date-time":"2026-05-08T11:14:52Z","timestamp":1778238892000},"page":"1-32","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["QuCheck: A Property-based Testing Framework for Quantum Programs in Qiskit"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-4529-2903","authenticated-orcid":false,"given":"Gabriel","family":"Pontolillo","sequence":"first","affiliation":[{"name":"Department of Informatics, King's College London","place":["London, United Kingdom of Great Britain and Northern Ireland"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4869-6794","authenticated-orcid":false,"given":"Mohammad Reza","family":"Mousavi","sequence":"additional","affiliation":[{"name":"Department of Informatics, King's College London","place":["London, United Kingdom of Great Britain and Northern Ireland"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-7296-3113","authenticated-orcid":false,"given":"Marek","family":"Grzesiuk","sequence":"additional","affiliation":[{"name":"Department of Informatics, King's College London","place":["London, United Kingdom of Great Britain and Northern Ireland"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,8,10]]},"reference":[{"key":"e_1_3_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3528230.3529189"},{"key":"e_1_3_2_3_1","doi-asserted-by":"publisher","DOI":"10.2307\/2685469"},{"key":"e_1_3_2_4_1","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1007\/978-3-319-07151-0_1","volume-title":"Functional and Logic Programming - 12th International Symposium, FLOPS 2014, Kanazawa, Japan, June 4-6, 2014. Proceedings","volume":"8475","author":"Amaral Cl\u00e1udio","year":"2014","unstructured":"Cl\u00e1udio Amaral, M\u00e1rio Florido, and V\u00edtor Santos Costa. 2014. PrologCheck \u2013 Property-based testing in prolog. In Functional and Logic Programming - 12th International Symposium, FLOPS 2014, Kanazawa, Japan, June 4-6, 2014. Proceedings(Lecture Notes in Computer Science, Vol. 8475), Michael Codish and Eijiro Sumii (Eds.). Springer, 1\u201317. DOI:10.1007\/978-3-319-07151-0_1"},{"key":"e_1_3_2_5_1","first-page":"2","volume-title":"Proceedings of the 2006 ACM SIGPLAN Workshop on Erlang, Portland, Oregon, USA, September 16, 2006","author":"Arts Thomas","year":"2006","unstructured":"Thomas Arts, John Hughes, Joakim Johansson, and Ulf T. Wiger. 2006. Testing telecoms software with quviq QuickCheck. In Proceedings of the 2006 ACM SIGPLAN Workshop on Erlang, Portland, Oregon, USA, September 16, 2006 (Portland, Oregon, USA), Marc Feeley and Philip W. Trinder (Eds.). ACM, New York, NY, USA, 2\u201310. DOI:10.1145\/1159789.1159792"},{"key":"e_1_3_2_6_1","volume-title":"Arbitraries with Confidence: Externalizing PBT Inner-Workings for Better Insights","author":"Castro Tiago Ara\u00fajo","year":"2021","unstructured":"Tiago Ara\u00fajo Castro. 2021. Arbitraries with Confidence: Externalizing PBT Inner-Workings for Better Insights. Master\u2019s thesis. Faculty of Engineering, University of Porto."},{"key":"e_1_3_2_7_1","first-page":"268","volume-title":"Proceedings of the Fifth ACM SIGPLAN International Conference on Functional Programming (ICFP\u201900), Montreal, Canada, September 18-21, 2000","author":"Claessen Koen","year":"2000","unstructured":"Koen Claessen and John Hughes. 2000. QuickCheck: A lightweight tool for random testing of Haskell programs. In Proceedings of the Fifth ACM SIGPLAN International Conference on Functional Programming (ICFP\u201900), Montreal, Canada, September 18-21, 2000, Martin Odersky and Philip Wadler (Eds.). ACM, 268\u2013279. DOI:10.1145\/351240.351266"},{"key":"e_1_3_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3533767.3543296"},{"key":"e_1_3_2_9_1","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"crossref","first-page":"784","DOI":"10.1007\/978-3-540-78773-0_67","volume-title":"LATIN 2008: Theoretical Informatics, 8th Latin American Symposium, B\u00fazios, Brazil, April 7-11, 2008, Proceedings","volume":"4957","author":"F\u00fcrer Martin","year":"2008","unstructured":"Martin F\u00fcrer. 2008. Solving NP-complete problems with quantum search. In LATIN 2008: Theoretical Informatics, 8th Latin American Symposium, B\u00fazios, Brazil, April 7-11, 2008, Proceedings(Lecture Notes in Computer Science, Vol. 4957), Eduardo Sany Laber, Claudson F. Bornstein, Loana Tito Nogueira, and Lu\u00e9rbio Faria (Eds.). Springer, 784\u2013792. DOI:10.1007\/978-3-540-78773-0_67"},{"key":"e_1_3_2_10_1","doi-asserted-by":"publisher","unstructured":"Gabriel Pontolillo Mohammad Reza Mousavi and Marek Grzesiuk. 2024. QuCheck: A Property-based Testing Framework for Quantum Programs in Qiskit. DOI:10.6084\/m9.figshare.27919539","DOI":"10.6084\/m9.figshare.27919539"},{"key":"e_1_3_2_11_1","article-title":"qucheck","author":"Pontolillo Gabriel","year":"2026","unstructured":"Gabriel Pontolillo, Mohammad Reza Mousavi, and Marek Grzesiuk. 2026. qucheck. Retrieved from https:\/\/pypi.org\/project\/qucheck\/. Python Package Index (PyPI).","journal-title":"https:\/\/pypi.org\/project\/qucheck\/"},{"key":"e_1_3_2_12_1","doi-asserted-by":"publisher","DOI":"10.1147\/SJ.411.0004"},{"key":"e_1_3_2_13_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41586-022-04697-y"},{"issue":"2","key":"e_1_3_2_14_1","first-page":"65","article-title":"A simple sequentially rejective multiple test procedure","volume":"6","author":"Holm Sture","year":"1979","unstructured":"Sture Holm. 1979. A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics 6, 2 (1979), 65\u201370. Retrieved fromhttp:\/\/www.jstor.org\/stable\/4615733","journal-title":"Scandinavian Journal of Statistics"},{"key":"e_1_3_2_15_1","first-page":"430","volume-title":"ICSE \u201920: 42nd International Conference on Software Engineering, Workshops, Seoul, Republic of Korea, 27 June - 19 July, 2020","author":"Honarvar Shahin","year":"2020","unstructured":"Shahin Honarvar, Mohammad Reza Mousavi, and Rajagopal Nagarajan. 2020. Property-based testing of quantum programs in Q#. In ICSE \u201920: 42nd International Conference on Software Engineering, Workshops, Seoul, Republic of Korea, 27 June - 19 July, 2020. ACM, 430\u2013435. DOI:10.1145\/3387940.3391459"},{"key":"e_1_3_2_16_1","first-page":"186","volume-title":"Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2024, Vienna, Austria, September 16-20, 2024","author":"Hu Tianmin","year":"2024","unstructured":"Tianmin Hu, Guixin Ye, Zhanyong Tang, Shin Hwei Tan, Huanting Wang, Meng Li, and Zheng Wang. 2024. UPBEAT: Test input checks of Q# quantum libraries. In Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2024, Vienna, Austria, September 16-20, 2024 (Vienna, Austria), Maria Christakis and Michael Pradel (Eds.). ACM, New York, NY, USA, 186\u2013198. DOI:10.1145\/3650212.3652120"},{"key":"e_1_3_2_17_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41567-020-0932-7"},{"key":"e_1_3_2_18_1","first-page":"1","volume-title":"2024 IEEE 24th International Conference on Software Quality, Reliability and Security (QRS)","author":"Huang Linzhi","year":"2024","unstructured":"Linzhi Huang, Hanyu Pei, Yuechen Li, Beibei Yin, and Kai-Yuan Cai. 2024. A strategy of dynamic random testing with hybrid distance metrics for quantum programs. In 2024 IEEE 24th International Conference on Software Quality, Reliability and Security (QRS). 1\u201312. DOI:10.1109\/QRS62785.2024.00011"},{"key":"e_1_3_2_19_1","first-page":"541","volume-title":"Proceedings of the 46th International Symposium on Computer Architecture, ISCA 2019, Phoenix, AZ, USA, June 22-26, 2019","author":"Huang Yipeng","year":"2019","unstructured":"Yipeng Huang and Margaret Martonosi. 2019. Statistical assertions for validating patterns and finding bugs in quantum programs. In Proceedings of the 46th International Symposium on Computer Architecture, ISCA 2019, Phoenix, AZ, USA, June 22-26, 2019, Srilatha Bobbie Manne, Hillery C. Hunter, and Erik R. Altman (Eds.). ACM, 541\u2013553. DOI:10.1145\/3307650.3322213"},{"key":"e_1_3_2_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-69611-7_1"},{"key":"e_1_3_2_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-30936-1_9"},{"key":"e_1_3_2_22_1","doi-asserted-by":"publisher","DOI":"10.1016\/0083-6656(93)90029-j"},{"key":"e_1_3_2_23_1","doi-asserted-by":"publisher","unstructured":"Ali Javadi-Abhari Matthew Treinish Kevin Krsulich Christopher J. Wood Jake Lishman Julien Gacon Simon Martiel Paul D. Nation Lev S. Bishop Andrew W. Cross et\u00a0al. 2024. Quantum computing with Qiskit. arxiv:2405.08810 [quant-ph]. DOI:10.48550\/arXiv.2405.08810","DOI":"10.48550\/arXiv.2405.08810"},{"key":"e_1_3_2_24_1","article-title":"QSFE: Quantum Software Framework Evaluation","year":"2019","unstructured":"jclapis. 2019. QSFE: Quantum Software Framework Evaluation. https:\/\/github.com\/jclapis\/qsfe. Accessed: 2025-10-19.","journal-title":"https:\/\/github.com\/jclapis\/qsfe"},{"key":"e_1_3_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428218"},{"key":"e_1_3_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3656339"},{"key":"e_1_3_2_27_1","doi-asserted-by":"publisher","DOI":"10.21105\/joss.01891"},{"key":"e_1_3_2_28_1","first-page":"1266","volume-title":"36th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2021, Melbourne, Australia, November 15-19, 2021","author":"Mendiluze E\u00f1aut","year":"2021","unstructured":"E\u00f1aut Mendiluze, Shaukat Ali, Paolo Arcaini, and Tao Yue. 2021. Muskit: A mutation analysis tool for quantum software testing. In 36th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2021, Melbourne, Australia, November 15-19, 2021. IEEE, 1266\u20131270. DOI:10.1109\/ASE51524.2021.9678563"},{"key":"e_1_3_2_29_1","volume-title":"Q# Language Specification","year":"2020","unstructured":"Microsoft. 2020. Q# Language Specification. Retrieved from https:\/\/github.com\/microsoft\/qsharp-language\/tree\/main\/Specifications\/Language#q-language"},{"key":"e_1_3_2_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3462974"},{"key":"e_1_3_2_31_1","volume-title":"The Economic Impacts of Inadequate Infrastructure for Software Testing","author":"Technology National Institute of Standards &","year":"2002","unstructured":"National Institute of Standards & Technology. 2002. The Economic Impacts of Inadequate Infrastructure for Software Testing. Technical Report. NIST Planning Report 02-03."},{"key":"e_1_3_2_32_1","volume-title":"Quantum Computation and Quantum Information (10th Anniversary edition)","author":"Nielsen Michael A.","year":"2016","unstructured":"Michael A. Nielsen and Isaac L. Chuang. 2016. Quantum Computation and Quantum Information (10th Anniversary edition). Cambridge University Press."},{"key":"e_1_3_2_33_1","volume-title":"Scala Check: The Definitive Guide: Property-based Testing on the Java Platform","author":"Nilsson Rickard","year":"2014","unstructured":"Rickard Nilsson. 2014. Scala Check: The Definitive Guide: Property-based Testing on the Java Platform. Artima, Sunnyvale, CA."},{"key":"e_1_3_2_34_1","series-title":"ICSE\u201923","first-page":"2413","volume-title":"Proceedings of the 45th International Conference on Software Engineering","author":"Paltenghi Matteo","year":"2023","unstructured":"Matteo Paltenghi and Michael Pradel. 2023. MorphQ: Metamorphic testing of the Qiskit quantum computing platform. In Proceedings of the 45th International Conference on Software Engineering (Melbourne, Victoria, Australia) (ICSE\u201923). IEEE Press, 2413\u20132424. DOI:10.1109\/ICSE48619.2023.00202"},{"key":"e_1_3_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3660802"},{"key":"e_1_3_2_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3528230.3528395"},{"key":"e_1_3_2_37_1","series-title":"Q-SE 2024","first-page":"1","volume-title":"Proceedings of the 5th ACM\/IEEE International Workshop on Quantum Software Engineering, Q-SE 2024, Lisbon, Portugal, 16 April 2024","author":"Pontolillo Gabriel","year":"2024","unstructured":"Gabriel Pontolillo and Mohammad Reza Mousavi. 2024. Delta debugging for property-based regression testing of quantum programs. In Proceedings of the 5th ACM\/IEEE International Workshop on Quantum Software Engineering, Q-SE 2024, Lisbon, Portugal, 16 April 2024 (Lisbon, Portugal) (Q-SE 2024). ACM, New York, NY, USA, 1\u20138. DOI:10.1145\/3643667.3648219"},{"key":"e_1_3_2_38_1","series-title":"IFIP","first-page":"53","volume-title":"Intelligent Information Processing III, IFIP TC12 International Conference on Intelligent Information Processing (IIP 2006), September 20-23, Adelaide, Australia","volume":"228","author":"Raj C. Vidya","year":"2006","unstructured":"C. Vidya Raj and M. S. Shivakumar. 2006. Applying quantum algorithm to speed up the solution of hamiltonian cycle problems. In Intelligent Information Processing III, IFIP TC12 International Conference on Intelligent Information Processing (IIP 2006), September 20-23, Adelaide, Australia(IFIP, Vol. 228), Zhongzhi Shi, Katsunori Shimohara, and David Dagan Feng (Eds.). Springer, 53\u201361. DOI:10.1007\/978-0-387-44641-7_6"},{"issue":"7670","key":"e_1_3_2_39_1","doi-asserted-by":"crossref","first-page":"70","DOI":"10.1038\/nature23675","article-title":"Ground-to-satellite quantum teleportation","volume":"549","author":"Ren Ji-Gang","year":"2017","unstructured":"Ji-Gang Ren, Ping Xu, Hai-Lin Yong, Liang Zhang, Sheng-Kai Liao, Juan Yin, Wei-Yue Liu, Wen-Qi Cai, Meng Yang, Li Li, et\u00a0al. 2017. Ground-to-satellite quantum teleportation. Nature 549, 7670 (Sept.2017), 70\u201373.","journal-title":"Nature"},{"key":"e_1_3_2_40_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41534-025-01071-4"},{"key":"e_1_3_2_41_1","unstructured":"Jiyuan Wang Ming Gao Yu Jiang Jian-Guang Lou Yue Gao Dongmei Zhang and Jiaguang Sun. 2018. QuanFuzz: Fuzz testing of quantum program. arXiv:1810.10310. Retrieved from https:\/\/arxiv.org\/abs\/1810.10310"},{"key":"e_1_3_2_42_1","first-page":"173","volume-title":"44th IEEE\/ACM International Conference on Software Engineering: Companion Proceedings, ICSE Companion 2022, Pittsburgh, PA, USA, May 22-24, 2022","author":"Wang Xinyi","year":"2022","unstructured":"Xinyi Wang, Paolo Arcaini, Tao Yue, and Shaukat Ali. 2022a. QuSBT: Search-based testing of quantum programs. In 44th IEEE\/ACM International Conference on Software Engineering: Companion Proceedings, ICSE Companion 2022, Pittsburgh, PA, USA, May 22-24, 2022. ACM\/IEEE, New York, NY, USA, 173\u2013177. DOI:10.1145\/3510454.3516839"},{"key":"e_1_3_2_43_1","first-page":"2066","volume-title":"38th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2023, Luxembourg, September 11-15, 2023","author":"Wang Xinyi","year":"2023","unstructured":"Xinyi Wang, Paolo Arcaini, Tao Yue, and Shaukat Ali. 2023. QuCAT: A combinatorial testing tool for quantum software. In 38th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2023, Luxembourg, September 11-15, 2023. IEEE, 2066\u20132069. DOI:10.1109\/ASE56229.2023.00062"},{"key":"e_1_3_2_44_1","first-page":"1345","volume-title":"GECCO \u201922: Genetic and Evolutionary Computation Conference, Boston, Massachusetts, USA, July 9-13, 2022","author":"Wang Xinyi","year":"2022","unstructured":"Xinyi Wang, Tongxuan Yu, Paolo Arcaini, Tao Yue, and Shaukat Ali. 2022b. Mutation-based test generation for quantum programs with multi-objective search. In GECCO \u201922: Genetic and Evolutionary Computation Conference, Boston, Massachusetts, USA, July 9-13, 2022. ACM, 1345\u20131353. DOI:10.1145\/3512290.3528869"},{"key":"e_1_3_2_45_1","first-page":"1149","volume-title":"38th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2023, Luxembourg, September 11-15, 2023","author":"Ye Jiaming","year":"2023","unstructured":"Jiaming Ye, Shangzhou Xia, Fuyuan Zhang, Paolo Arcaini, Lei Ma, Jianjun Zhao, and Fuyuki Ishikawa. 2023. QuraTest: Integrating quantum specific features in quantum program testing. In 38th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2023, Luxembourg, September 11-15, 2023. IEEE, 1149\u20131161. DOI:10.1109\/ASE56229.2023.00196"},{"key":"e_1_3_2_46_1","unstructured":"Nengkun Yu. 2020. Quantum Closeness Testing: A Streaming Algorithm and Applications. arxiv:1904.03218 [quant-ph] https:\/\/arxiv.org\/abs\/1904.03218"},{"key":"e_1_3_2_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/Q-SE59154.2023.00014"}],"container-title":["ACM Transactions on Quantum Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3815169","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,10]],"date-time":"2026-08-10T15:26:57Z","timestamp":1786375617000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3815169"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,10]]},"references-count":46,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2026,12,31]]}},"alternative-id":["10.1145\/3815169"],"URL":"https:\/\/doi.org\/10.1145\/3815169","relation":{},"ISSN":["2643-6809","2643-6817"],"issn-type":[{"value":"2643-6809","type":"print"},{"value":"2643-6817","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,10]]},"assertion":[{"value":"2024-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-26","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-08-10","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}