<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div data-pm-slice="1 1 []" data-en-clipboard="true">Hallo Data
      Scientist,</div>
    <div><br>
    </div>
    <div>we will meet today, Wednesday, March 3rd at 03:30pm in [1] for
      a rather exciting session: You can get your hands dirty on the
      challenges of the recent qHack event. </div>
    <div><br>
    </div>
    <div>After a quick warm-up with the easy problem set mentioned in
      the last e-mail, Peter will guide us through a more sophisticated
      demonstration of a very popular algorithm: the Variational Quantum
      Eigensolver.</div>
    <div><br>
    </div>
    <div>In order for you to run the provided notebooks, please follow
      the instructions in [2] and let me know if you encounter any
      issues. </div>
    <div><br>
    </div>
    <div>See q later!</div>
    <div><br>
    </div>
    <div>[1] <a href="https://bluejeans.com/788204027" rev="en_rl_none">https://bluejeans.com/788204027</a></div>
    <div>[2]<br>
      <font face="monospace">- Tested with <span style="color:rgb(0, 0,
          0);">Python 3.9.1</span></font></div>
    <div><font face="monospace"><span style="color:rgb(0, 0, 0);">- for
          conda users: an environment file <span data-code="true">environment.yml</span>
          is available <br>
        </span></font></div>
    <div><font face="monospace"><span style="color:rgb(0, 0, 0);"><br>
          ##########<br>
        </span></font></div>
    <div><font face="monospace"><span style="color:rgb(0, 0, 0);"><span data-markholder="true"></span></span></font></div>
    <div><font face="monospace">- Get the package:</font></div>
    <div><font face="monospace"><a href="https://github.com/triumfmlutils/QHack21">https://github.com/triumfmlutils/QHack21</a></font></div>
    <div><font face="monospace"><br>
      </font></div>
    <div><font face="monospace">- install a local virtual environment
        and source it</font></div>
    <div><font face="monospace">python3 -m venv PATH/TO/MYVENV</font></div>
    <div><font face="monospace">source PATH/TO/VENV/bin/activate</font></div>
    <div><font face="monospace"><br>
      </font></div>
    <div><font face="monospace">- install the requirements:</font></div>
    <div><font face="monospace">python3 -m pip install -r <span style="color:rgb(0, 0, 0);">QML_Challenges/requirements.txt</span></font></div>
    <div><font face="monospace"><br>
      </font></div>
    <div><font face="monospace">- add environment as jupyter kernel</font></div>
    <div><font face="monospace">ipython kernel install --name "MYVENV"
        --user</font></div>
    <div><font face="monospace"><br>
      </font></div>
    <div><font face="monospace">- start jupyter notebook from terminal</font></div>
    <div><font face="monospace">jupyter notebook <span style="color:rgb(0, 0, 0);">VQE/VQE.ipynb</span></font></div>
    <div><font face="monospace"><br>
      </font></div>
    <div><font face="monospace">- this will open a browser window.
        Select the kernel "MYENV" and enjoy :)</font></div>
  </body>
</html>