<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hybrid Quantum-Classical application tutorial in Intel® Quantum SDK</title>
    <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465248#M58</link>
    <description>&lt;P&gt;I omitted a step in explaining how to modify the .txt to become a job file, and that may be causing the error. Try changing the first line of the script to&lt;/P&gt;
&lt;PRE&gt;#!/bin/bash&lt;/PRE&gt;
&lt;P&gt;i.e., remove 1 "#".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding an extra # was necessary because the forum wants to protect you from downloading a potentially-immediately dangerous file, and considers bash scripts to be to ready-to-go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also check to make sure that the end of the compile_and_run_vqe has the lines&lt;/P&gt;
&lt;PRE class="bp-text bp-text-plain hljs bp-is-scrollable" tabindex="0"&gt;&lt;CODE class="bp-text-code txt"&gt;# move to the directory run the executable
cd vqe_outputs/
./simple_vqe&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 23:06:55 GMT</pubDate>
    <dc:creator>KevinR_Intel</dc:creator>
    <dc:date>2023-03-13T23:06:55Z</dc:date>
    <item>
      <title>Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1461946#M54</link>
      <description>&lt;P&gt;Look for upcoming sessions of introductions to the features and programming applications with the&amp;nbsp;Intel® Quantum SDK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached are updated versions an example of a hybrid quantum-classical application, a variational quantum eigensolver.&amp;nbsp;It contains the essential components of processing information in both classic bit representation and quantum qubit representation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example solves a single matrix, but can be extended with the&amp;nbsp;Intel® Hybrid Quantum-Classical library&amp;nbsp;&lt;A href="https://github.com/IntelLabs/Hybrid-Quantum-Classical-Library" target="_blank" rel="noopener"&gt;https://github.com/IntelLabs/Hybrid-Quantum-Classical-Library&lt;/A&gt;&amp;nbsp; to treat arbitrary matrices.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KevinR_Intel_0-1678051120869.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/38651iAD9566574E4879AD/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="KevinR_Intel_0-1678051120869.png" alt="KevinR_Intel_0-1678051120869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 21:15:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1461946#M54</guid>
      <dc:creator>KevinR_Intel</dc:creator>
      <dc:date>2024-04-18T21:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465099#M55</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying out the example and am getting an error when running the executable simple_vqe, something about GLIBC.&lt;/P&gt;
&lt;P&gt;Please assist.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshdumo_0-1678728673266.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/39055i22156FA3D49F5D49/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="joshdumo_0-1678728673266.png" alt="joshdumo_0-1678728673266.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:33:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465099#M55</guid>
      <dc:creator>joshdumo</dc:creator>
      <dc:date>2023-03-13T17:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465101#M56</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;
&lt;P&gt;It's because you're trying to run on the login node. The login node is only there to provide communication and access to the job queue.&lt;/P&gt;
&lt;P&gt;To use the compile_and_run.txt as a job script, put it in the same directory as simple_vqe.cpp, remove the '.txt' suffix, and type&lt;/P&gt;
&lt;PRE&gt;qsub compile_and_run&lt;/PRE&gt;
&lt;P&gt;The 'qsub' command submits the "job script" to the machine and when it's turn in the queue comes, your job runs. If you read compile_and_run, it is basically just the sequence of things you would have typed if you had done then yourself on the Command-Line-Interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The output of your job will be in the file 'initial_test.oNNNN' where the NNN's are the number of your job in the total queue. Alternatively, you can also modify the source code to write out any data you'd like to preserve.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:42:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465101#M56</guid>
      <dc:creator>KevinR_Intel</dc:creator>
      <dc:date>2023-03-13T17:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465237#M57</link>
      <description>&lt;P&gt;Thank you for the prompt assist.&lt;/P&gt;
&lt;P&gt;Previously I was running "qsub compile_and_run_vqe.txt" still with the suffix attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then followed the correct outlined procedure but still i get no output, instead getting 'No such process'. Please find attached the screenshot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshdumo_0-1678747439288.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/39067iBEC65980AEBAF718/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="joshdumo_0-1678747439288.png" alt="joshdumo_0-1678747439288.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 22:48:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465237#M57</guid>
      <dc:creator>joshdumo</dc:creator>
      <dc:date>2023-03-13T22:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465248#M58</link>
      <description>&lt;P&gt;I omitted a step in explaining how to modify the .txt to become a job file, and that may be causing the error. Try changing the first line of the script to&lt;/P&gt;
&lt;PRE&gt;#!/bin/bash&lt;/PRE&gt;
&lt;P&gt;i.e., remove 1 "#".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding an extra # was necessary because the forum wants to protect you from downloading a potentially-immediately dangerous file, and considers bash scripts to be to ready-to-go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also check to make sure that the end of the compile_and_run_vqe has the lines&lt;/P&gt;
&lt;PRE class="bp-text bp-text-plain hljs bp-is-scrollable" tabindex="0"&gt;&lt;CODE class="bp-text-code txt"&gt;# move to the directory run the executable
cd vqe_outputs/
./simple_vqe&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 23:06:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1465248#M58</guid>
      <dc:creator>KevinR_Intel</dc:creator>
      <dc:date>2023-03-13T23:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1466060#M59</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried running with the updated simple_vqe and compile_and_run_vqe. This time the compilation has errors. Please see screenshot and attached job output.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshdumo_0-1678881467298.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/39185i854C42C181616B26/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="joshdumo_0-1678881467298.png" alt="joshdumo_0-1678881467298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 11:58:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1466060#M59</guid>
      <dc:creator>joshdumo</dc:creator>
      <dc:date>2023-03-15T11:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1466145#M60</link>
      <description>&lt;P&gt;That simple_vqe.cpp was stale--it used the beta version API calls and that is what the compiler is (rightly) complaining about. That is my mistake; I've uploaded an updated version that is consistent with version 1.0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TLDR:&amp;nbsp; I uploaded the .cpp file from the wrong directory.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 15:30:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1466145#M60</guid>
      <dc:creator>KevinR_Intel</dc:creator>
      <dc:date>2023-03-15T15:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hybrid Quantum-Classical application tutorial</title>
      <link>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1466310#M61</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The updated version runs as expected. Thank you very much for the support!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joshdumo_0-1678913902145.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/39214iC8B9B6C260E9D2B2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="joshdumo_0-1678913902145.png" alt="joshdumo_0-1678913902145.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 20:58:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Quantum-SDK/Hybrid-Quantum-Classical-application-tutorial/m-p/1466310#M61</guid>
      <dc:creator>joshdumo</dc:creator>
      <dc:date>2023-03-15T20:58:42Z</dc:date>
    </item>
  </channel>
</rss>

