[Learn-data-science] DS meeting today: Variation Quantum Classifier

Wojtek Fedorko wfedorko at triumf.ca
Wed Mar 31 09:59:44 PDT 2021


Hello,

As announced last week we'll meet today, Wednesday, March 31st at 03:30pm on bluejeans [1]. Abhi will introduce the Variational Quantum Classifier.

You will need to get yourself running with pennylane. I repeat below [2] previous instructions from Eric that should get you going. Any other means of running pennylane in a notebool (e.g. colab) will probably work also.

See you all at 3:30!


[1] https://bluejeans.com/788204027<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbluejeans.com%2F788204027&data=04%7C01%7Cwfedorko%40triumf.ca%7Cefe240bfb38e494eccc608d8de815a16%7Cc20535109cb34679a2d38f442e03b587%7C1%7C0%7C637503994462369357%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=h3oeh5Cj4e%2BfJEMn51WpkB86t3Lhi8H%2BnGC9zUhBX1g%3D&reserved=0>
[2]
- Tested with Python 3.9.1
- for conda users: an environment file environment.yml is available

##########
- Get the package:
https://github.com/triumfmlutils/QHack21<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftriumfmlutils%2FQHack21&data=04%7C01%7Cwfedorko%40triumf.ca%7Cefe240bfb38e494eccc608d8de815a16%7Cc20535109cb34679a2d38f442e03b587%7C1%7C0%7C637503994462379345%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PCzd7Ner%2BhPAoNVqJkBArrrN8rC3aD2Gyb0N0amp8Wc%3D&reserved=0>

- install a local virtual environment and source it
python3 -m venv PATH/TO/MYVENV
source PATH/TO/VENV/bin/activate

- install the requirements:
python3 -m pip install -r QML_Challenges/requirements.txt

- add environment as jupyter kernel
ipython kernel install --name "MYVENV" --user

- start jupyter notebook from terminal
jupyter notebook VQE/VQE.ipynb

- this will open a browser window. Select the kernel "MYENV" and enjoy :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.triumf.ca/pipermail/learn-data-science/attachments/20210331/231c64f6/attachment.html>


More information about the Learn-data-science mailing list