<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ricardo Pérez-del Castillo</string-name>
          <email>ricardo.pdelcastillo@uclm.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mario Piattini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guido Peterssen</string-name>
          <email>guido.peterssen@a-e.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jose Luis Hevia</string-name>
          <email>jluis.hevia@a-</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Reina</institution>
          ,
          <addr-line>45600</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Social Sciences &amp; IT Faculty, University of Castilla-La Mancha</institution>
          ,
          <addr-line>Av. Real Fábrica de Seda s/n, Talavera de la</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Castilla-La Macha, Paseo de la Universidad 4, Ciudad Real</institution>
          ,
          <addr-line>13071</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>aQuantum by Alarcos Research Group, Paseo de la Universidad 4, Ciudad Real</institution>
          ,
          <addr-line>13071</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>aQuantum by Alhambra</institution>
          ,
          <addr-line>Albasanz 16, Madrid, 28037</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>With the rise of the first quantum computers and programming languages, first quantum algorithms came up, which yield promising results. Quantum Computing is becoming more and more a mature area while an investment scalation is happening in public and private sectors. There are a lot of promising application that never comes true with quantum computers in isolation. Quantum software is necessary to achieve all the claimed, cutting-edge applications in almost every business sector. Quantum software, as other kind of software, need to be planned, designed, coded, estimated, tested, quality-assured, evolved, among other things. This means, quantum software engineering needs to be developed as a new discipline, both in academia and industry. This column provides an overview for this need, and the main challenges in the next years. Quantum computing; Quantum software engineering; Quantum Programming design, etc. Economics, and financial services: Portfolio risk optimization and fraud detection, actual randomness for financial models, simulations and scenario analysis, etc. Energy and agriculture: production of ammonia, better distribution of resources, asset degradation modelling, etc. Medicine and health: Protein folding and drug discovery, disease detection, non-invasive and high-precision surgeries, targeted drugs design, tailored medicine, improvement of the quality of life, prediction of therapeutic prescriptions, etc.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>1. Introduction
•
•
•
•
•</p>
      <p>
        Quantum technologies with the raise of quantum computers are changing the world. Quantum
computing is based on quantum mechanism principles such as superposition or entanglement [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Thus,
quantum computing is not an evolution of classical computer science; it is actually a revolution that
completely changes the computing paradigm
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Such quantum
computing foundations (i.e.,
superposition and entanglement) makes it possible to address computational problems that have been
unaffordable till now through classical computing. Quantum computers will be orders of magnitude
more powerful than anything we have today [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. This fact opens the door to many potential applications,
influencing most business sectors, like for example [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]:
      </p>
      <p>Privacy and cryptography: certification of randomness, authentication.</p>
      <p>Supply chain and logistics: optimization problems in procurement, production and distribution,
vehicle routing optimization, etc.</p>
      <p>Chemistry: simulations of complex molecules, discovery of new materials, advanced molecular</p>
      <p>Defence and national security programs.</p>
      <p>2020 Copyright for this paper by its authors.</p>
      <p>
        Quantum computing is actually, a transversal and interdisciplinary opportunity for digital
transformation and social impact [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. However, these applications will not be achieved with quantum
computers in isolation. The industry also needs quantum software to make such applications become
reality, i.e., quantum algorithms that are specifically coded for those extremely different computers [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Today, some key quantum algorithms have been proposed [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], for example, unstructured or heuristic
search, simulation, quantum walks, adiabatic-based optimization, among others. First quantum
algorithms came up with promising results. However, whole applications for end users need to be
proliferated in the next years. Actually, according to a 2019 Gartner study [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], “by 2023, 20 percent of
organizations will be budgeting for QC projects, up from less than 1 percent in 2018”.
      </p>
      <p>
        In this scenario, quantum software is going to be produced in a more industrial manner, where
aspects like quality, delivery, project management, or evolution of quantum software will be a must [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
In other words, quantum software engineering will be developed as a mature research field in the next
years. Even more, it is expected a new software engineering golden age for the decade of 2020s [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. The Quantum Software Engineering</title>
      <p>
        Quantum software engineering was first coined in 2004 by Stepney et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], although has been
gained importance today with the last advances in quantum computing. It seems clear that quantum
computers cannot exploit the whole power of such computers without software. Also, quantum software
cannot be developed without the foundations and basis of discipline like quantum software engineering.
Although, we can extract many learned lessons from the past and try to apply the hands-on experience
of classical software engineering, the usage or adaptation of current techniques is not enough. New
knowledge base, methods and techniques must be developed for the new computing and software
production paradigm. There are some challenges that needs to be addressed in the following years.
2.1.
      </p>
    </sec>
    <sec id="sec-3">
      <title>Hybrid information systems</title>
      <p>Quantum software engineering needs to integrate new quantum algorithms with the existing classical
information systems. Typically, a quantum computers are remotely accessible in the cloud. So, classical
computers send requests (in a form of quantum algorithms) to be executed. Then, results are received
and interpreted to provide the solution for a specific problem. Actually, not every functionality will
make sense to be computed quantum machines. The prohibitive costs and many simplistic
functionalities still in the daily business operations of many companies prevent that. Thereby, hybrid
systems (see Figure 1) will become the mainstream, at least in a near future.</p>
      <p>In order to deal with legacy, critical business operations embedded in classical information systems
and the need of integrating new quantum algorithms, techniques such as reengineering or software
modernization will become necessary. On the one hand, the reverse engineering stage can be used to
abstract representations of quantum programs that then can be easily integrated with other abstract
representations coming from the classical systems. On the other hand, new functionality coded for
quantum computers, can be incorporated during the restructuring stage of the reengineering model.</p>
      <p>Additionally, quantum software should be maintained and evolved from inception to removal.
Consequently, quantum software evolution must be handled throughout the whole quantum software
lifecycle.
2.2.</p>
    </sec>
    <sec id="sec-4">
      <title>Quantum software quality</title>
      <p>Other important issue will be the quality of quantum software (as a product) but also the quality of
the development processed carried out to produce this kind of software. The control and assurance of
software quality (both, product and process) have been extensively studied for the classical software
engineering field. However, this has to be re-think for quantum software. The main questions to be
addressed in this area is how quantum software quality is measured? This is the first step since what is
not measured cannot be improved. Then, how can we use such metrics in the development process?</p>
      <p>Together with this, testing of quantum programs is another challenges that need to be addressed.
The testing of quantum software is quite different to the classical one. The main goal of testing is not
verifying that the software works properly, the main goal is to detect the high number of defects. In this
sense, classical software is certainly deterministic under a lot of conditions and constraints. Thus, the
main goal is to execute the system and check the expected value with the actual value. On the contrary,
quantum software is not so deterministic, it explores a search space in order to figure out the best
solution. Actually, various executions of the same piece of quantum software might lead to different
solutions. That is the reason for which a quantum algorithm is usually executed a certain number of
times and then the most repeated solution is taken. In this non-deterministic and uncertainty context,
the testing of quantum software becomes harder. New method for detecting defects in quantum software
needs to be investigated in the next years.
2.3.</p>
    </sec>
    <sec id="sec-5">
      <title>Project management for quantum software development</title>
      <p>Quantum software engineering will also support the management of quantum software development
projects. This means, that quantum software engineering must deliver quantum software that meet the
initial business goal and requirements, while at the same time quality, time, and cost constraints are
satisfied. Methodologies for developing quantum programs must be created or adapted from the existing
ones. Effort estimation methods for quantum software development need to be provided as well, which
will of course differ from the classical software estimation methods. Among other things because
quantum software is developed through a highly multidisciplinary team.</p>
    </sec>
    <sec id="sec-6">
      <title>3. Discussion</title>
      <p>There is a certain urgence to develop the knowledge background and foundations for the new
discipline of Quantum Software Engineering. The quantum computing race speeded up in the last
couple of years, so the demand of quantum software will be increased in short-, medium-term. Hence,
researchers and practitioners must provide methods, techniques, and tools to develop large-scale
quantum software in an appropriate way.</p>
      <p>
        During this path towards achieving an efficient software engineering we have to into account the
Grady Booch advice: “No matter the medium or the technology or the domain, the fundamentals of
sound software engineering will always apply: craft sound abstractions” [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>This research has been partially funded by the SMOQUIN
funded by Spanish Ministry of Science and Innovation (MICINN).
project (PID2019-104791RB-I00)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Rieffel</surname>
            ,
            <given-names>E.G.</given-names>
          </string-name>
          and
          <string-name>
            <given-names>W.H.</given-names>
            <surname>Polak</surname>
          </string-name>
          , Quantum Computing:
          <article-title>A Gentle Introduction (Scientific</article-title>
          and Engineering Computation).
          <year>2014</year>
          , The MIT Press.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Piattini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Peterssen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Pérez-Castillo</surname>
          </string-name>
          ,
          <source>Quantum Computing: A New Software Engineering Golden Age</source>
          .
          <year>2020</year>
          . 45
          <string-name>
            <given-names>SIGSOFT</given-names>
            <surname>Softw</surname>
          </string-name>
          .
          <source>Eng. Notes</source>
          , p.
          <fpage>12</fpage>
          -
          <lpage>14</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Hunter</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>The Quantum Computing Era Is Here. Why It</surname>
          </string-name>
          Matters-And How It May Change Our World.
          <source>2020 Jan 16</source>
          ,
          <year>2020</year>
          ,
          <volume>01</volume>
          :07pm EST [cited
          <year>2020</year>
          19/10/2020]; Available from: https://www.forbes.com/sites/ibm/2020/01/16/the-quantum
          <article-title>-computing-era-is-here-why-itmattersand-how-it-may-change-our-world/.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Piattini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Peterssen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Perez-Castillo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.L.</given-names>
            <surname>Hevia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.A.</given-names>
            <surname>Serrano</surname>
          </string-name>
          , G. Hernández,
          <string-name>
            <surname>I.G</surname>
          </string-name>
          .R.d. Guzmán,
          <string-name>
            <given-names>C.A.</given-names>
            <surname>Paradela</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Polo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Murina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jiménez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.C.</given-names>
            <surname>Marqueño</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Gallego</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Tura</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Phillipson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.M.</given-names>
            <surname>Murillo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Niño</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Rodríguez</surname>
          </string-name>
          ,
          <article-title>The Talavera Manifesto for Quantum Software Engineering and Programming, in QANSWER 2020</article-title>
          .
          <article-title>QuANtum SoftWare Engineering</article-title>
          &amp; pRogramming,
          <string-name>
            <given-names>M.</given-names>
            <surname>Piattini</surname>
          </string-name>
          , et al.,
          <source>Editors</source>
          .
          <year>2020</year>
          , CEUR-WS: Talavera de la Reina. p.
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>IDB</surname>
          </string-name>
          (
          <year>2019</year>
          ).
          <article-title>Quantum technologies. Digital transformation, social impact, and cross-sector disruption</article-title>
          .
          <source>Interamerican Development Bank.</source>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Montanaro</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>Quantum algorithms: an overview</article-title>
          .
          <source>npj Quantum Information</source>
          ,
          <year>2016</year>
          .
          <volume>2</volume>
          (
          <issue>1</issue>
          ): p.
          <fpage>15023</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Burke</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Cearley</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Horvath</surname>
          </string-name>
          .
          <source>Top 10 Strategic Technology Trends for 2019: Quantum Computing. 2019 13 March</source>
          <year>2019</year>
          [cited
          <year>2020</year>
          19/10/2020]; Available from: https://www.gartner.com/en/documents/3904279/top-10
          <string-name>
            <surname>-</surname>
          </string-name>
          strategic
          <article-title>-technology-trends-</article-title>
          <string-name>
            <surname>for-</surname>
          </string-name>
          2019
          <string-name>
            <surname>-</surname>
          </string-name>
          quantum-comp.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Stepney</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>S.L.</given-names>
            <surname>Braunstein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.A.</given-names>
            <surname>Clark</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Tyrrell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Adamatzky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.E.</given-names>
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Addis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Johnson</surname>
          </string-name>
          , J. Timmis,
          <string-name>
            <given-names>P.</given-names>
            <surname>Welch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Milner</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Partridge</surname>
          </string-name>
          , Journeys in Non-Classical
          <string-name>
            <surname>Computation</surname>
          </string-name>
          .
          <source>A Grand Challenge for Computing Research</source>
          .
          <year>2004</year>
          , University of York. p.
          <fpage>30</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Sodhi</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <source>Quality Attributes on Quantum Computing Platforms</source>
          .
          <year>2018</year>
          . arXiv:
          <year>1803</year>
          .07407
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Booch</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          (
          <year>2018</year>
          ).
          <article-title>The History of Software Engineering</article-title>
          .
          <source>IEEE Software 35 (5)</source>
          ,
          <fpage>108</fpage>
          -
          <lpage>114</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>