{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,20]],"date-time":"2026-02-20T23:21:05Z","timestamp":1771629665848,"version":"3.50.1"},"reference-count":48,"publisher":"Springer Science and Business Media LLC","issue":"3","license":[{"start":{"date-parts":[[2024,5,1]],"date-time":"2024-05-01T00:00:00Z","timestamp":1714521600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,5,2]],"date-time":"2024-05-02T00:00:00Z","timestamp":1714608000000},"content-version":"vor","delay-in-days":1,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100007065","name":"Universit\u00e0 degli Studi di Salerno","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100007065","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Empir Software Eng"],"published-print":{"date-parts":[[2024,5]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Quantum computing is a promising field that can solve complex problems beyond traditional computers\u2019 capabilities. Developing high-quality quantum software applications, called quantum software engineering, has recently gained attention. However, quantum software development faces challenges related to code quality. A recent study found that many open-source quantum programs are affected by quantum-specific code smells, with <jats:italic>long circuit<\/jats:italic> being the most common. While the study provided relevant insights into the prevalence of code smells in quantum circuits, it did not explore the potential effect of transpilation, a necessary step for executing quantum computer programs, on the emergence of code smells. Indeed, transpilation might alter those characteristics employed to detect the presence of a smell on a circuit. To address this limitation, we present a new study investigating the impact of transpilation on quantum-specific code smells and how different target gate sets affect the results. We conducted experiments on 17 open-source quantum programs alongside a set of 100 synthetic circuits. We found that transpilation can significantly alter the metrics that are used to detect code smells, even into previously smell-free circuits, with the <jats:italic>long circuit<\/jats:italic> smell being the most susceptible to transpilation. Furthermore, the choice of the gate set significantly influences the presence and severity of code smells in transpiled circuits, highlighting the need for careful gate set selection to mitigate their impact. These findings have implications for circuit optimization and high-quality quantum software development. Further research is needed to understand the consequences of code smells and their potential impact on quantum computations, considering the characteristics and constraints of different gate sets and hardware platforms.<\/jats:p>","DOI":"10.1007\/s10664-024-10461-9","type":"journal-article","created":{"date-parts":[[2024,5,2]],"date-time":"2024-05-02T12:02:02Z","timestamp":1714651322000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["An empirical study into the effects of transpilation on quantum circuit smells"],"prefix":"10.1007","volume":"29","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6038-4171","authenticated-orcid":false,"given":"Manuel De","family":"Stefano","sequence":"first","affiliation":[]},{"given":"Dario Di","family":"Nucci","sequence":"additional","affiliation":[]},{"given":"Fabio","family":"Palomba","sequence":"additional","affiliation":[]},{"given":"Andrea De","family":"Lucia","sequence":"additional","affiliation":[]}],"member":"297","published-online":{"date-parts":[[2024,5,2]]},"reference":[{"key":"10461_CR1","unstructured":"Api reference for qiskit.circuit.random.random_circuit (2024). https:\/\/docs.quantum.ibm.com\/api\/qiskit\/0.19\/qiskit.circuit.random.random_circuit"},{"key":"10461_CR2","unstructured":"Qiskit 0.43.0 documentation (2024). https:\/\/qiskit.org\/documentation\/"},{"key":"10461_CR3","unstructured":"Transpiler (qiskit.transpiler)\u2014Qiskit 0.43.1 documentation (2024). https:\/\/qiskit.org\/documentation\/apidoc\/transpiler.html"},{"key":"10461_CR4","doi-asserted-by":"crossref","unstructured":"Ahmad A, Khan AA, Waseem M, Fahmideh M, Mikkonen T (2022) Towards process centered architecting for quantum software systems. In: 2022 IEEE International conference on quantum software (QSW), pp 26\u201331. IEEE","DOI":"10.1109\/QSW55613.2022.00019"},{"key":"10461_CR5","unstructured":"Aleksandrowicz G, Alexander T, Barkoutsos P, Bello L, Ben-Haim Y, Bucher D, Cabrera-Hern\u00e1ndez FJ, Carballo-Franquis J, Chen A, Chen CF et al (2019) Qiskit: An open-source framework for quantum computing. Accessed 16 Mar"},{"issue":"3","key":"10461_CR6","doi-asserted-by":"publisher","first-page":"1143","DOI":"10.1007\/s10664-015-9378-4","volume":"21","author":"F Arcelli Fontana","year":"2016","unstructured":"Arcelli Fontana F, M\u00e4ntyl\u00e4 MV, Zanoni M, Marino A (2016) Comparing and experimenting machine learning techniques for code smell detection. Empirical Softw Engg 21(3):1143\u20131191","journal-title":"Empirical Softw Engg"},{"key":"10461_CR7","doi-asserted-by":"crossref","unstructured":"Arcoverde R, Garcia A, Figueiredo E (2011) Understanding the longevity of code smells: preliminary results of an explanatory survey. In: Workshop on refactoring tools, pp 33\u201336","DOI":"10.1145\/1984732.1984740"},{"issue":"5","key":"10461_CR8","doi-asserted-by":"publisher","first-page":"502","DOI":"10.1111\/opo.12131","volume":"34","author":"RA Armstrong","year":"2014","unstructured":"Armstrong RA (2014) When to use the Bonferroni correction. Ophthalmic Physiol Opt 34(5):502\u2013508. https:\/\/doi.org\/10.1111\/opo.12131","journal-title":"Ophthalmic Physiol Opt"},{"key":"10461_CR9","doi-asserted-by":"crossref","unstructured":"Awan U, Hannola L, Tandon A, Goyal RK, Dhir A (2022) Quantum computing challenges in the software industry. a fuzzy ahp-based approach. Inf Softw Technol 147:106896","DOI":"10.1016\/j.infsof.2022.106896"},{"key":"10461_CR10","doi-asserted-by":"crossref","unstructured":"Garc\u00eda de\u00a0la Barrera A, Garc\u00eda-Rodr\u00edguez\u00a0de Guzm\u00e1n I, Polo M, Piattini M (2021) Quantum software testing: State of the art. Journal of Software: Evolution and Process p e2419","DOI":"10.1002\/smr.2419"},{"key":"10461_CR11","unstructured":"Basili VR, Caldiera G, Rombach HD (1994) The goal question metric approach. Encyclopedia of Software Engineering"},{"key":"10461_CR12","doi-asserted-by":"crossref","unstructured":"Campos J, Souto A (2021) Qbugs: A collection of reproducible bugs in quantum algorithms and a supporting infrastructure to enable controlled quantum software testing and debugging experiments. arXiv preprint arXiv:2103.16968","DOI":"10.1109\/Q-SE52541.2021.00013"},{"key":"10461_CR13","doi-asserted-by":"crossref","unstructured":"Chatzigeorgiou A, Manakos A (2010) Investigating the evolution of bad smells in object-oriented code. In: International conference on the quality of information and communications technology, pp 106\u2013115. IEEE","DOI":"10.1109\/QUATIC.2010.16"},{"key":"10461_CR14","doi-asserted-by":"crossref","unstructured":"Chen Q, C\u00e2mara R, Campos J, Souto A, Ahmed I (2023) The smelly eight: An empirical study on the prevalence of code smells in quantum computing. In: 2023 IEEE\/ACM 45th International conference on software engineering (ICSE)","DOI":"10.1109\/ICSE48619.2023.00041"},{"key":"10461_CR15","doi-asserted-by":"crossref","unstructured":"Cunningham W (1992) The wycash portfolio management system. OOPSLA-92","DOI":"10.1145\/157709.157715"},{"key":"10461_CR16","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2022.111326","volume":"190","author":"M De Stefano","year":"2022","unstructured":"De Stefano M, Pecorelli F, Di Nucci D, Palomba F, De Lucia A (2022) Software engineering for quantum programming: How far are we? J Syst Softw 190:111326. https:\/\/doi.org\/10.1016\/j.jss.2022.111326","journal-title":"J Syst Softw"},{"key":"10461_CR17","doi-asserted-by":"publisher","unstructured":"De Stefano M, Pecorelli F, Di Nucci D, Palomba F, De Lucia A (2023) The Quantum Frontier of Software Engineering: A Systematic Mapping Study. https:\/\/doi.org\/10.48550\/arXiv.2305.19683","DOI":"10.48550\/arXiv.2305.19683"},{"key":"10461_CR18","doi-asserted-by":"crossref","unstructured":"Di Nucci D, Palomba F, Tamburri D, Serebrenik A, De Lucia A (2018) Detecting code smells using machine learning techniques: Are we there yet? In: Int Conf on software analysis, evolution, and reengineering","DOI":"10.1109\/SANER.2018.8330266"},{"key":"10461_CR19","doi-asserted-by":"crossref","unstructured":"El Aoun MR, Li H, Khomh F, Openja M (2021) Understanding quantum software engineering challenges: An empirical study on stack exchange forums and github issues. In: 37th International conference on software maintenance and evolution (ICSME)","DOI":"10.1109\/ICSME52107.2021.00037"},{"key":"10461_CR20","unstructured":"Fowler M, Beck K (1999) Refactoring: Improving the design of existing code. Addison-Wesley Longman Publishing Co., Inc"},{"issue":"200","key":"10461_CR21","doi-asserted-by":"publisher","first-page":"675","DOI":"10.1080\/01621459.1937.10503522","volume":"32","author":"M Friedman","year":"1937","unstructured":"Friedman M (1937) The Use of Ranks to Avoid the Assumption of Normality Implicit in the Analysis of Variance. J Am Stat Assoc 32(200):675\u2013701. https:\/\/doi.org\/10.1080\/01621459.1937.10503522","journal-title":"J Am Stat Assoc"},{"issue":"2","key":"10461_CR22","doi-asserted-by":"publisher","first-page":"107","DOI":"10.3102\/10769986006002107","volume":"6","author":"LV Hedges","year":"1981","unstructured":"Hedges LV (1981) Distribution Theory for Glass\u2019s Estimator of Effect size and Related Estimators. J Educ Stat 6(2):107\u2013128. https:\/\/doi.org\/10.3102\/10769986006002107","journal-title":"J Educ Stat"},{"issue":"1","key":"10461_CR23","doi-asserted-by":"publisher","first-page":"49","DOI":"10.1093\/comjnl\/bxh065","volume":"48","author":"T Hoare","year":"2005","unstructured":"Hoare T, Milner R (2005) Grand challenges for computing research. Comput J 48(1):49\u201352","journal-title":"Comput J"},{"key":"10461_CR24","unstructured":"Knight W (2018) Serious quantum computers are finally here. what are we going to do with them. MIT Technology Review. Retrieved on October 30:2018"},{"key":"10461_CR25","doi-asserted-by":"crossref","unstructured":"Lin T, Fu X, Chen F, Li L (2021) A novel approach for code smells detection based on deep leaning. In: International conference on applied cryptography in computer and communications, pp 171\u2013174. Springer","DOI":"10.1007\/978-3-030-80851-8_12"},{"key":"10461_CR26","unstructured":"Liu H, Jin J, Xu Z, Bu Y, Zou Y, Zhang L (2019) Deep learning based code smell detection. Transactions on Software Engineering"},{"key":"10461_CR27","unstructured":"Moguel E, Berrocal J, Garc\u00eda-Alonso J, Murillo JM (2020) A roadmap for quantum software engineering: Applying the lessons learned from the classics. In: Q-SET@ QCE, pp 5\u201313"},{"issue":"1","key":"10461_CR28","doi-asserted-by":"publisher","first-page":"20","DOI":"10.1109\/TSE.2009.50","volume":"36","author":"N Moha","year":"2009","unstructured":"Moha N, Gueheneuc YG, Duchien L, Le Meur AF (2009) Decor: A method for the specification and detection of code and design smells. Trans Softw Eng 36(1):20\u201336","journal-title":"Trans Softw Eng"},{"key":"10461_CR29","volume-title":"Quantum Computation and Quantum Information, 10th anniversary","author":"MA Nielsen","year":"2010","unstructured":"Nielsen MA, Chuang IL (2010) Quantum Computation and Quantum Information, 10th anniversary, ed. Cambridge University Press, Cambridge, New York","edition":"ed"},{"key":"10461_CR30","doi-asserted-by":"crossref","unstructured":"Palomba F, Bavota G, Di Penta M, Fasano F, Oliveto R, De Lucia A (2018) A large-scale empirical study on the lifecycle of code smell co-occurrences. Inf Softw Technol 99","DOI":"10.1016\/j.infsof.2018.02.004"},{"issue":"5","key":"10461_CR31","doi-asserted-by":"publisher","first-page":"462","DOI":"10.1109\/TSE.2014.2372760","volume":"41","author":"F Palomba","year":"2014","unstructured":"Palomba F, Bavota G, Di Penta M, Oliveto R, Poshyvanyk D, De Lucia A (2014) Mining version histories for detecting code smells. Trans Softw Eng 41(5):462\u2013489","journal-title":"Trans Softw Eng"},{"key":"10461_CR32","doi-asserted-by":"crossref","unstructured":"Palomba F, Panichella A, De Lucia A, Oliveto R, Zaidman A (2016) A textual-based technique for smell detection. In: International conference on program comprehension (ICPC), pp 1\u201310. IEEE","DOI":"10.1109\/ICPC.2016.7503704"},{"issue":"OOPSLA1","key":"10461_CR33","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3527330","volume":"6","author":"M Paltenghi","year":"2022","unstructured":"Paltenghi M, Pradel M (2022) Bugs in quantum computing platforms: an empirical study. Proc ACM Program Lang 6(OOPSLA1):1\u201327","journal-title":"Proc ACM Program Lang"},{"key":"10461_CR34","doi-asserted-by":"crossref","unstructured":"Pecorelli F, Di Nucci D, De Roover C, De Lucia A (2020a) A large empirical assessment of the role of data balancing in machine-learning-based code smell detection. Journal of Systems and Software p 110693","DOI":"10.1016\/j.jss.2020.110693"},{"issue":"3","key":"10461_CR35","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1007\/s10664-022-10126-5","volume":"27","author":"F Pecorelli","year":"2022","unstructured":"Pecorelli F, Lujan S, Lenarduzzi V, Palomba F, De Lucia A (2022) On the adequacy of static analysis warnings with respect to code smell prediction. Empir Softw Eng 27(3):1\u201344","journal-title":"Empir Softw Eng"},{"key":"10461_CR36","doi-asserted-by":"crossref","unstructured":"Pecorelli F, Palomba F, Di Nucci D, De Lucia A (2019) Comparing heuristic and machine learning approaches for metric-based code smell detection. In: International conference on program comprehension (ICPC), pp 93\u2013104. IEEE","DOI":"10.1109\/ICPC.2019.00023"},{"key":"10461_CR37","doi-asserted-by":"crossref","unstructured":"Pecorelli F, Palomba F, Khomh F, De Lucia A (2020b) Developer-driven code smell prioritization. In: International conference on mining software repositories","DOI":"10.1145\/3379597.3387457"},{"issue":"3","key":"10461_CR38","doi-asserted-by":"publisher","first-page":"12","DOI":"10.1145\/3402127.3402131","volume":"45","author":"M Piattini","year":"2020","unstructured":"Piattini M, Peterssen G, P\u00e9rez-Castillo R (2020) Quantum computing: A new software engineering golden age. ACM SIGSOFT Softw Eng Notes 45(3):12\u201314","journal-title":"ACM SIGSOFT Softw Eng Notes"},{"key":"10461_CR39","unstructured":"Piattini M, Peterssen G, P\u00e9rez-Castillo R, Hevia JL, Serrano MA, Hern\u00e1ndez G, de\u00a0Guzm\u00e1n IGR, Paradela CA, Polo M, Murina E et al (2020b) The talavera manifesto for quantum software engineering and programming. In: QANSWER, pp 1\u20135"},{"issue":"1","key":"10461_CR40","doi-asserted-by":"publisher","first-page":"62","DOI":"10.1109\/MITP.2020.3019522","volume":"23","author":"M Piattini","year":"2021","unstructured":"Piattini M, Serrano M, Perez-Castillo R, Petersen G, Hevia JL (2021) Toward a quantum software engineering. IT Professional 23(1):62\u201366","journal-title":"IT Professional"},{"issue":"8","key":"10461_CR41","doi-asserted-by":"publisher","first-page":"1353","DOI":"10.1109\/JPROC.2020.2994765","volume":"108","author":"Y Shi","year":"2020","unstructured":"Shi Y, Gokhale P, Murali P, Baker JM, Duckering C, Ding Y, Brown NC, Chamberland C, Javadi-Abhari A, Cross AW et al (2020) Resource-efficient quantum computing by breaking abstractions. Proc IEEE 108(8):1353\u20131370","journal-title":"Proc IEEE"},{"issue":"3","key":"10461_CR42","doi-asserted-by":"publisher","first-page":"347","DOI":"10.1109\/TSE.2009.1","volume":"35","author":"N Tsantalis","year":"2009","unstructured":"Tsantalis N, Chatzigeorgiou A (2009) Identification of move method refactoring opportunities. Trans Softw Eng 35(3):347\u2013367","journal-title":"Trans Softw Eng"},{"key":"10461_CR43","doi-asserted-by":"crossref","unstructured":"Tufano M, Palomba F, Bavota G, Di Penta M, Oliveto R, De Lucia A, Poshyvanyk D (2016) An empirical investigation into the nature of test smells. In: International conference on automated software engineering, pp 4\u201315","DOI":"10.1145\/2970276.2970340"},{"key":"10461_CR44","doi-asserted-by":"crossref","unstructured":"Tufano M, Palomba F, Bavota G, Oliveto R, Di Penta M, De Lucia A, Poshyvanyk D (2015) When and why your code starts to smell bad. In: International conference on software engineering, vol 1, pp 403\u2013414. IEEE","DOI":"10.1109\/ICSE.2015.59"},{"key":"10461_CR45","doi-asserted-by":"publisher","unstructured":"Wilcoxon F (1992) Individual Comparisons by Ranking Methods. In: Kotz S, Johnson NL (eds) Breakthroughs in statistics: methodology and distribution, Springer Series in Statistics, pp 196\u2013202. Springer, New York, NY. https:\/\/doi.org\/10.1007\/978-1-4612-4380-9_16","DOI":"10.1007\/978-1-4612-4380-9_16"},{"key":"10461_CR46","doi-asserted-by":"publisher","unstructured":"Williams CP (2011) Quantum Gates. In: Williams CP (ed) Explorations in quantum computing, texts in computer science, pp 51\u2013122. Springer, London. https:\/\/doi.org\/10.1007\/978-1-84628-887-6_2","DOI":"10.1007\/978-1-84628-887-6_2"},{"key":"10461_CR47","doi-asserted-by":"crossref","unstructured":"Yarkoni S, Raponi E, B\u00e4ck T, Schmitt S (2022) Quantum annealing for industry applications: Introduction and review. Reports on Progress in Physics","DOI":"10.1088\/1361-6633\/ac8c54"},{"key":"10461_CR48","unstructured":"Zhao J (2020) Quantum software engineering: Landscapes and horizons. arXiv preprint arXiv:2007.07047"}],"container-title":["Empirical Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10664-024-10461-9.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10664-024-10461-9\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10664-024-10461-9.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,6,1]],"date-time":"2024-06-01T02:10:54Z","timestamp":1717207854000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10664-024-10461-9"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,5]]},"references-count":48,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2024,5]]}},"alternative-id":["10461"],"URL":"https:\/\/doi.org\/10.1007\/s10664-024-10461-9","relation":{},"ISSN":["1382-3256","1573-7616"],"issn-type":[{"value":"1382-3256","type":"print"},{"value":"1573-7616","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,5]]},"assertion":[{"value":"13 February 2024","order":1,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"2 May 2024","order":2,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}],"article-number":"61"}}