{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,7]],"date-time":"2025-11-07T09:43:53Z","timestamp":1762508633123,"version":"3.37.3"},"reference-count":53,"publisher":"Springer Science and Business Media LLC","issue":"2","license":[{"start":{"date-parts":[[2021,10,29]],"date-time":"2021-10-29T00:00:00Z","timestamp":1635465600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,10,29]],"date-time":"2021-10-29T00:00:00Z","timestamp":1635465600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100004837","name":"Ministerio de Ciencia e Innovaci\u00f3n","doi-asserted-by":"crossref","award":["SMOQUIN (PID2019-104791RB-I00)"],"award-info":[{"award-number":["SMOQUIN (PID2019-104791RB-I00)"]}],"id":[{"id":"10.13039\/501100004837","id-type":"DOI","asserted-by":"crossref"}]},{"name":"cdti missions programme (center for the development of industrial technology of the ministry of science and innovation of spain) and feder","award":["QHealth Project"],"award-info":[{"award-number":["QHealth Project"]}]},{"DOI":"10.13039\/501100007480","name":"Universidad de Castilla la Mancha","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100007480","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Software Qual J"],"published-print":{"date-parts":[[2022,6]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Quantum computing is now a reality, and its incomparable computational power has led companies to show a great interest in being able to work with quantum software in order to support part of their current and future business operations. However, the quantum computing paradigm differs significantly from its classical counterparts, which has brought about the need to revolutionise how the future software is designed, built, and operated in order to work with quantum computers. Since companies cannot discard all their current (and probably mission-critical) information systems, they must adapt their classical information systems to new specific quantum applications, thus evolving towards hybrid information systems. Unfortunately, there are no specific methods with which to deal with this challenge. We believe that reengineering, and more specifically, software modernisation using model-driven engineering principles, could be useful as regard migrating classical systems and existing quantum programs towards hybrid information systems. This paper, therefore, presents QRev, a reverse engineering tool that analyses quantum programs developed in Q# in order to identify its components and interrelationships, and then generates abstract models that can be used in software modernisation processes. The platform-independent models are generated according to the Knowledge Discovery Metamodel (KDM) standard. QRev is validated in a case study involving five quantum programs in order to demonstrate its effectiveness and scalability. The main implication of the study is that QRev can be used in order to attain KDM models, which can subsequently be employed to restructure or add new quantum functionality at a higher abstraction level, i.e. independently of the specific quantum technology.<\/jats:p>","DOI":"10.1007\/s11219-021-09574-x","type":"journal-article","created":{"date-parts":[[2021,10,29]],"date-time":"2021-10-29T09:06:47Z","timestamp":1635498407000},"page":"551-580","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["QRev: migrating quantum code towards hybrid information systems"],"prefix":"10.1007","volume":"30","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9271-3184","authenticated-orcid":false,"given":"Ricardo","family":"P\u00e9rez-Castillo","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Luis","family":"Jim\u00e9nez-Navajas","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Mario","family":"Piattini","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2021,10,29]]},"reference":[{"doi-asserted-by":"crossref","unstructured":"Aaronson, S. (2008). The limits of quantum. J Scientific American, 298(3), 62\u201369.","key":"9574_CR1","DOI":"10.1038\/scientificamerican0308-62"},{"unstructured":"Arute, F., et al. (2019). Quantum supremacy using a programmable superconducting processor. Nature, 574(7779), 505\u2013510.","key":"9574_CR2"},{"unstructured":"aQuantum. QPath. (2020) The quantum software development and lifecycle application platform. [cited 2020 26\/11\/2020]; Available from: https:\/\/www.quantumpath.es\/","key":"9574_CR3"},{"doi-asserted-by":"crossref","unstructured":"Bennett, C. H., Brassard, G.,\u00a0Cr\u00e9peau, C., Jozsa,\u00a0R., Peres A., &\u00a0Wootters, W. K. (1993). Teleporting an unknown quantum state via dual classical and Einstein-Podolsky-Rosen channels,\u00a070(13),\u00a01895.","key":"9574_CR4","DOI":"10.1103\/PhysRevLett.70.1895"},{"doi-asserted-by":"crossref","unstructured":"Boixo, S., Isakov, S. V., Smelyanskiy, V. N., Babbush, R., Ding, N., Jiang, Z., et al. (2018). Characterizing quantum supremacy in near-term devices. Nature Physics, 14(6), 595\u2013600.","key":"9574_CR5","DOI":"10.1038\/s41567-018-0124-x"},{"unstructured":"Bozzo-Rey, M., Longbottom,\u00a0J., & M\u00fcller,\u00a0H. A. (2019).\u00a0Quantum computing: challenges and opportunities, in Proceedings of the 29th annual international conference on computer science and software engineering,\u00a0IBM Corp. Toronto, Ontario, Canada. 393\u2013394.","key":"9574_CR6"},{"doi-asserted-by":"crossref","unstructured":"Bruneli\u00e8re, H., Cabot, J., Dup\u00e9, G., & Madiot, F. (2014). Modisco: A model driven reverse engineering framework. Information Software Technology, 56(8), 1012\u20131032.","key":"9574_CR7","DOI":"10.1016\/j.infsof.2014.04.007"},{"doi-asserted-by":"crossref","unstructured":"Canfora, G., & Penta, M. D. (2007).\u00a0New frontiers of reverse engineering, in 2007 future of software engineering. IEEE Computer Society.","key":"9574_CR8","DOI":"10.1109\/FOSE.2007.15"},{"unstructured":"Cross, A.W., Bishop,\u00a0L. S., Smolin,\u00a0J. A., & Gambetta, J. M. (2017).\u00a0Open quantum assembly language.","key":"9574_CR9"},{"doi-asserted-by":"crossref","unstructured":"De Lucia, A., Ferrucci,\u00a0F., Tortora,\u00a0G., & Tucci,\u00a0M. (2007).\u00a0Emerging methods, technologies, and process management in software engineering,\u00a01\u2013276.","key":"9574_CR10","DOI":"10.1002\/9780470238103"},{"doi-asserted-by":"crossref","unstructured":"Einstein, A., Podolsky,\u00a0B., & Rosen,\u00a0N. J. (1935).\u00a0Can quantum-mechanical description of physical reality be considered complete? 47(10), 777.","key":"9574_CR11","DOI":"10.1103\/PhysRev.47.777"},{"doi-asserted-by":"crossref","unstructured":"Garhwal, S., Ghorani,\u00a0M., & Ahmad,\u00a0A. (2019).\u00a0Quantum programming language: A systematic review of research topic and top cited languages. Archives of Computational Methods in Engineering.","key":"9574_CR12","DOI":"10.1007\/s11831-019-09372-6"},{"unstructured":"Gayrard, R., Carri\u00e8re,\u00a0F., Darde,\u00a0B., & Jaunay.\u00a0J. (2019).\u00a0Quantum computing: ready for the huge leap?\u00a0https:\/\/www.wavestone.com\/app\/uploads\/2019\/10\/Quantum-Computing-WavestoneFrance-Digitale-EN-web-2019.pdf","key":"9574_CR13"},{"unstructured":"Geller, A. (2020).\u00a0Introducing Quantum Intermediate Representation (QIR). 23rd September\u00a02020 [cited 2020 23\/11\/2020]; Available from: https:\/\/devblogs.microsoft.com\/qsharp\/introducing-quantum-intermediate-representation-qir\/","key":"9574_CR14"},{"doi-asserted-by":"crossref","unstructured":"Horodecki, R., Horodecki,\u00a0P., Horodecki,\u00a0M., & Horodecki,\u00a0K. (2009).\u00a0Quantum entanglement.\u00a081(2), 865.","key":"9574_CR15","DOI":"10.1103\/RevModPhys.81.865"},{"unstructured":"IBM. (2020).\u00a0IBM Q Experience.\u00a0Available from: https:\/\/quantum-computing.ibm.com\/","key":"9574_CR16"},{"doi-asserted-by":"crossref","unstructured":"Jim\u00e9nez-Navajas, L., P\u00e9rez-Castillo,\u00a0R., & Piattini,\u00a0M. (2020).\u00a0Reverse engineering of quantum programs toward KDM models, in 13th International Conference on the Quality of Information and Communications Technology (QUATIC). Springer International Publishing: Faro, Portugal (Online Conference), 249\u2013262.","key":"9574_CR17","DOI":"10.1007\/978-3-030-58793-2_20"},{"unstructured":"Kay, A. (2020). Tutorial on the Quantikz Package. https:\/\/arxiv.org\/pdf\/1809.03842.pdf","key":"9574_CR18"},{"doi-asserted-by":"crossref","unstructured":"Kazman, R., Woods,\u00a0S. G., & Carriere,\u00a0S. J. (1998).\u00a0Requirements for integrating software architecture and reengineering models: CORUM II. Reverse Engineering - Working Conference Proceedings, 154\u2013163.","key":"9574_CR19","DOI":"10.1109\/WCRE.1998.723185"},{"doi-asserted-by":"crossref","unstructured":"Lamhaddab, K., Lachgar, M., & Elbaamrani, K. (2019). Porting Mobile Apps from iOS to Android: A Practical Experience. Mobile Information Systems, 2019, 4324871.","key":"9574_CR20","DOI":"10.1155\/2019\/4324871"},{"doi-asserted-by":"crossref","unstructured":"Mueck, L. (2017). Quantum software. Nature, 549(7671), 171\u2013171.","key":"9574_CR21","DOI":"10.1038\/549171a"},{"unstructured":"Microsoft. Quantum code samples. (2020a). [cited 2020 23\/11\/2020]; Available from: https:\/\/github.com\/microsoft\/Quantum\/tree\/main\/samples","key":"9574_CR22"},{"unstructured":"Microsoft QDK. Creating random numbers with quantum computing. (2020b). Available from: https:\/\/docs.microsoft.com\/es-es\/samples\/microsoft\/quantum\/creating-random-numbers-with-quantum-computing\/","key":"9574_CR23"},{"unstructured":"Microsoft QDK. Measuring Qubits. (2020e). Available from: https:\/\/docs.microsoft.com\/es-es\/samples\/microsoft\/quantum\/measuring-qubits\/","key":"9574_CR24"},{"unstructured":"Microsoft QDK. Quantum teleportation sample. (2020c). Available from: https:\/\/docs.microsoft.com\/es-es\/samples\/microsoft\/quantum\/quantum-teleportation\/","key":"9574_CR25"},{"unstructured":"Microsoft QDK. Simple quantum algorithms sample. (2020d). Available from: https:\/\/docs.microsoft.com\/es-es\/samples\/microsoft\/quantum\/simple-quantum-algorithms\/","key":"9574_CR26"},{"unstructured":"MIT Quantua Group. Quantum circuit viewer: qasm2circ. (2020). [cited 2020 20\/11\/2020]; Available from: https:\/\/www.media.mit.edu\/quanta\/qasm2circ\/","key":"9574_CR27"},{"doi-asserted-by":"crossref","unstructured":"M\u00fcller, H. A., Jahnke,\u00a0J. H., Smith,\u00a0D. B., Storey,\u00a0M. -A., Tilley,\u00a0S. R., & Wong, K. (2000).\u00a0Reverse engineering: a roadmap, in Proceedings of the conference on the future of software engineering. ACM: Limerick, Ireland.","key":"9574_CR28","DOI":"10.1145\/336512.336526"},{"unstructured":"OMG. (2016). Architecture-driven modernization (ADM): Knowledge discovery meta-model (KDM), v1.4. https:\/\/www.omg.org\/spec\/KDM\/1.4\/PDF","key":"9574_CR29"},{"unstructured":"Panetta, K. (2019). The CIO\u2019s guide to quantum computing. https:\/\/www.gartner.com\/smarterwithgartner\/the-cios-guide-to-quantum-computing\/","key":"9574_CR30"},{"unstructured":"Parr, T. (2014).\u00a0ANTLR. [cited 2020 26\/11\/2020]; Available from: https:\/\/www.antlr.org\/","key":"9574_CR31"},{"doi-asserted-by":"crossref","unstructured":"P\u00e9rez-Castillo, R., De Guzm\u00e1n, I. G. R., & Piattini, M. (2011b). Knowledge discovery metamodel-ISO\/IEC 19506: A standard to modernize legacy systems. Computer Standards and Interfaces, 33, 519\u2013532.","key":"9574_CR32","DOI":"10.1016\/j.csi.2011.02.007"},{"doi-asserted-by":"crossref","unstructured":"P\u00e9rez-Castillo, R., de Guzm\u00e1n, I. G. -R., & Piattini, M. (2011c). Business process archeology using MARBLE. Information and Software Technology, 53(10), 1023\u20131044.","key":"9574_CR33","DOI":"10.1016\/j.infsof.2011.05.006"},{"doi-asserted-by":"crossref","unstructured":"P\u00e9rez-Castillo, R., Serrano,\u00a0M. A., & Piattini,\u00a0M. (2021).\u00a0Software modernization to embrace quantum technology. Advances in Engineering Software, 151,\u00a0102933.","key":"9574_CR34","DOI":"10.1016\/j.advengsoft.2020.102933"},{"unstructured":"P\u00e9rez-Castillo, R., & Jim\u00e9nez-Navajas,\u00a0L. (2020a). QRev case study material.\u00a0[cited 2020 25\/11\/2020]; Available from: https:\/\/github.com\/ricpdc\/smoquin\/tree\/master\/qkdm-api\/test\/casestudy","key":"9574_CR35"},{"doi-asserted-by":"crossref","unstructured":"P\u00e9rez-Castillo, R., de Guzm\u00e1n,\u00a0I. G. R., & Piattini,\u00a0M. (2011a).\u00a0Architecture-driven modernization, in Modern software engineering concepts and practices: Advanced Approaches. IGI Global. 75\u2013103.","key":"9574_CR36","DOI":"10.4018\/978-1-60960-215-4.ch004"},{"doi-asserted-by":"crossref","unstructured":"P\u00e9rez-Castillo, R., Weber,\u00a0B., Garc\u00eda Rodr\u00edguez de Guzm\u00e1n,\u00a0I., & Piattini,\u00a0M. (2012).\u00a0Integrating event logs into KDM repositories, in 27th Annual ACM Symposium on Applied Computing (SAC'12).\u00a0ACM: Riva del Garda (Trento), Italy. 1095\u20131102.","key":"9574_CR37","DOI":"10.1145\/2245276.2231949"},{"unstructured":"P\u00e9rez-Castillo, R., & Jim\u00e9nez-Navajas.\u00a0L. (2020b). ANTLR Q sharp grammar.\u00a0Available from: https:\/\/github.com\/ricpdc\/smoquin\/tree\/master\/qkdm-api\/src\/es\/alarcos\/qkdm\/parser\/grammar\/qsharp","key":"9574_CR38"},{"doi-asserted-by":"crossref","unstructured":"Piattini, M., Peterssen, G., Serrano, M. A., Hevia, J. L., & P\u00e9rez-Castillo, R. (2021). Towards a quantum software engineering. IT Professional, 23(1), 62\u201366.","key":"9574_CR39","DOI":"10.1109\/MITP.2020.3019522"},{"doi-asserted-by":"crossref","unstructured":"Piattini, M., Peterssen,\u00a0G., & P\u00e9rez-Castillo,\u00a0R. (2020).\u00a0Quantum computing: A new software engineering Golden Age.\u00a045(J SIGSOFT Softw. Eng. Notes), 12\u201314.","key":"9574_CR40","DOI":"10.1145\/3402127.3402131"},{"unstructured":"Piattini, M., et al. (2020). The Talavera manifesto for quantum software engineering and programming, in QANSWER 2020. QuANtum SoftWare Engineering & pRogramming, M. Piattini, et al., Editors. CEUR-WS: Talavera de la Reina. 1\u20135.","key":"9574_CR41"},{"unstructured":"Quantastica. (2019).\u00a0Quantum Programming Studio. [cited 2020]; Available from: https:\/\/quantum-circuit.com\/","key":"9574_CR42"},{"unstructured":"quiskit.org. (2020).\u00a0QuisKit SDK.\u00a0Available from: https:\/\/qiskit.org\/","key":"9574_CR43"},{"unstructured":"Rieffel, E. G., & Polak,\u00a0W. H. (2011).\u00a0Quantum computing: A gentle introduction (scientific and engineering computation),\u00a0The MIT Press.","key":"9574_CR44"},{"doi-asserted-by":"crossref","unstructured":"Runeson, P., Host,\u00a0M., Rainer,\u00a0A., & Regnell,\u00a0B. (2012). Case study research in software engineering: Guidelines and examples.\u00a0John Wiley & Sons.","key":"9574_CR45","DOI":"10.1002\/9781118181034"},{"doi-asserted-by":"crossref","unstructured":"Schmidt, D. C. (2006). Developing applications using model-driven design environments. IEEE Computer Society, 39(2), 25\u201332.","key":"9574_CR46","DOI":"10.1109\/MC.2006.54"},{"doi-asserted-by":"crossref","unstructured":"Schr\u00f6dinger, E. (1935). Die gegenw\u00e4rtige Situation in der Quantenmechanik. Die Naturwissenschaften, 23, 807\u2013812.","key":"9574_CR47","DOI":"10.1007\/BF01491891"},{"doi-asserted-by":"crossref","unstructured":"Sneed, H. M. (2005).\u00a0Estimating the costs of a reengineering project. Proceedings of the 12th Working Conference on Reverse Engineering. IEEE Computer Society. 111\u2013119.","key":"9574_CR48","DOI":"10.1109\/WCRE.2005.18"},{"doi-asserted-by":"crossref","unstructured":"Svore, K. M., Aho, A. V., Cross, A. W., Chuang, I., & Markov, I. L. (2006). A layered software architecture for quantum computing design tools. Computer, 39(1), 74\u201383.","key":"9574_CR49","DOI":"10.1109\/MC.2006.4"},{"doi-asserted-by":"crossref","unstructured":"Svore, K., et al. (2018).\u00a0Q#: Enabling scalable quantum computing and development with a high-level DSL, in Proceedings of the real world domain specific languages workshop 2018. 2018, Association for Computing Machinery: Vienna, Austria. p. Article 7.","key":"9574_CR50","DOI":"10.1145\/3183895.3183901"},{"unstructured":"Ulrich, W. M. (2002).\u00a0Legacy systems: Transformation strategies.\u00a0","key":"9574_CR51"},{"unstructured":"Ulrich, W. M. & Newcomb,\u00a0P. H. (2010).\u00a0Information systems transformation. Information Systems Transformation.","key":"9574_CR52"},{"unstructured":"Vernacchia, S. (2019).\u00a0Quantum Leap. Advancing a strategy for quantum computing that will inspire, support and safeguard economic growth in the Middle East.https:\/\/www.pwc.com\/m1\/en\/world-government-summit\/documents\/wgs-quantum-leap.pdf, in World Government Summit 2019.\u00a0PricewaterhouseCoopers (PwC) 44.","key":"9574_CR53"}],"container-title":["Software Quality Journal"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11219-021-09574-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s11219-021-09574-x\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11219-021-09574-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,1,14]],"date-time":"2023-01-14T03:30:50Z","timestamp":1673667050000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s11219-021-09574-x"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,10,29]]},"references-count":53,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2022,6]]}},"alternative-id":["9574"],"URL":"https:\/\/doi.org\/10.1007\/s11219-021-09574-x","relation":{},"ISSN":["0963-9314","1573-1367"],"issn-type":[{"type":"print","value":"0963-9314"},{"type":"electronic","value":"1573-1367"}],"subject":[],"published":{"date-parts":[[2021,10,29]]},"assertion":[{"value":"14 September 2021","order":1,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"29 October 2021","order":2,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}