Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.17 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.17 KB

Quantum Computing with ProjectQ.

Install Python packages

Installing Anaconda

For Linux

#wget https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh #sh ./Anaconda3-5.2.0-Linux-x86_64.sh

For MacOS

wget https://repo.anaconda.com/archive/Anaconda3-5.2.0-MacOSX-x86_64.pkg sudo installer -pkg Anaconda3-5.2.0-MacOSX-x86_64.pkg -target /

Installing ProjectQ

pip install projectq

Installing QuTip

pip install qutip

Test whether your installation is successful

#Please try to execute the jupyter notebook. Type jupyter-notebook in your terminal, this will lead you to the browser, and then navigate to the notebooks in the folders IntroQM and Deutsch, click the ‘*.ipynb’ file. This should open another browser window. Execute the first cell, which should have ‘import’ statements. If ‘nothing’ happens (i.e., there is no error message), everything should work!

Use binder

#In case you could not install the mentioned packages, you could run the tutorials online through “binder”. Go to https://mybinder.org/v2/gh/zhenghh04/QCWorkshop/master, wait a minute or two, and then you should be able to execute our notebooks in the browser.