SIProp Project, 2006-2019 1
The easiest way of setup QuTiP
on Windows
Noritsuna Imamura
noritsuna@siprop.org
SIProp Project, 2006-2019 2
Agenda
Enable Windows Subsystem for Linux
Setup Ubuntu18.04LTS on WSL
Install Applications on Ubuntu18.04LTS
Install QuTiP on Ubuntu18.04LTS
Run a QuTiP Sample on jupyter-notbook
SIProp Project, 2006-2019 3
Enable Windows Subsystem for Linux 1/4
Click [Apps] in Windows Settings
SIProp Project, 2006-2019 4
Enable Windows Subsystem for Linux 2/4
Click [Programs and Features] in Apps &
features Pane
SIProp Project, 2006-2019 5
Enable Windows Subsystem for Linux 3/4
Click [Turn Windows features on or off] in left Pane
SIProp Project, 2006-2019 6
Enable Windows Subsystem for Linux 4/4
Check [Windows Subsystem for Linux]
Click [OK]
Reboot Windows
SIProp Project, 2006-2019 7
Setup Ubuntu18.04LTS on WSL 1/2
Run [Microsoft Store]
Input [Linux] in Search
Click [Ubuntu18.04LTS] icon
SIProp Project, 2006-2019 8
Setup Ubuntu18.04LTS on WSL 2/2
Click [Get]
Download & Install Ubuntu18.04LTS on Your
Windows
SIProp Project, 2006-2019 9
First Run Setup
Copy Ubuntu18.04LTS’s Files on Your System
Input [Your User ID]
Input [Your Passward]
SIProp Project, 2006-2019 10
Install Applications on Ubuntu18.04LTS
Input Under Commands on Ubuntu18.04LTS
sudo apt update
sudo apt upgrade
sudo apt install build-essential cmake git python3-dev
python3-pip python3-sklearn
sudo apt install jupyter-notebook
sudo apt install libomp-dev
sudo pip3 install Cython
SIProp Project, 2006-2019 11
Install QuTiP on Ubuntu18.04LTS
Input Under Commands on Ubuntu18.04LTS
wget http://qutip.org/downloads/4.4.1/qutip-4.4.1.tar.gz
tar zxfv qutip-4.4.1.tar.gz
cd qutip-4.4.1
sudo python3 setup.py install --with-openmp
SIProp Project, 2006-2019 12
Run jupyter-notebook on Ubuntu18.04LTS
Input Under Commands on Ubuntu18.04LTS
jupyter-notebook
SIProp Project, 2006-2019 13
Run jupyter-notebook on Windows
Run a Browser on Windows
Copy [http://localhost:8888/?token=xxx] from
Ubuntu18.04LTS
Paste the Browser’s URL Bar
SIProp Project, 2006-2019 14
Change to Quick Edit Mode
If you can’t copy URL on Ubuntu18.04LTS,
please change Ubuntu18.04LTS’s property.
Click Ubuntu18.04LTS’s Menu Bar
Click [properties]
Check [Quick Edit Mode]
SIProp Project, 2006-2019 15
Run a QuTiP Sample on jupyter-notbook
Enjoy!!!

The easiest way of setup QuTiP on Windows

  • 1.
    SIProp Project, 2006-20191 The easiest way of setup QuTiP on Windows Noritsuna Imamura noritsuna@siprop.org
  • 2.
    SIProp Project, 2006-20192 Agenda Enable Windows Subsystem for Linux Setup Ubuntu18.04LTS on WSL Install Applications on Ubuntu18.04LTS Install QuTiP on Ubuntu18.04LTS Run a QuTiP Sample on jupyter-notbook
  • 3.
    SIProp Project, 2006-20193 Enable Windows Subsystem for Linux 1/4 Click [Apps] in Windows Settings
  • 4.
    SIProp Project, 2006-20194 Enable Windows Subsystem for Linux 2/4 Click [Programs and Features] in Apps & features Pane
  • 5.
    SIProp Project, 2006-20195 Enable Windows Subsystem for Linux 3/4 Click [Turn Windows features on or off] in left Pane
  • 6.
    SIProp Project, 2006-20196 Enable Windows Subsystem for Linux 4/4 Check [Windows Subsystem for Linux] Click [OK] Reboot Windows
  • 7.
    SIProp Project, 2006-20197 Setup Ubuntu18.04LTS on WSL 1/2 Run [Microsoft Store] Input [Linux] in Search Click [Ubuntu18.04LTS] icon
  • 8.
    SIProp Project, 2006-20198 Setup Ubuntu18.04LTS on WSL 2/2 Click [Get] Download & Install Ubuntu18.04LTS on Your Windows
  • 9.
    SIProp Project, 2006-20199 First Run Setup Copy Ubuntu18.04LTS’s Files on Your System Input [Your User ID] Input [Your Passward]
  • 10.
    SIProp Project, 2006-201910 Install Applications on Ubuntu18.04LTS Input Under Commands on Ubuntu18.04LTS sudo apt update sudo apt upgrade sudo apt install build-essential cmake git python3-dev python3-pip python3-sklearn sudo apt install jupyter-notebook sudo apt install libomp-dev sudo pip3 install Cython
  • 11.
    SIProp Project, 2006-201911 Install QuTiP on Ubuntu18.04LTS Input Under Commands on Ubuntu18.04LTS wget http://qutip.org/downloads/4.4.1/qutip-4.4.1.tar.gz tar zxfv qutip-4.4.1.tar.gz cd qutip-4.4.1 sudo python3 setup.py install --with-openmp
  • 12.
    SIProp Project, 2006-201912 Run jupyter-notebook on Ubuntu18.04LTS Input Under Commands on Ubuntu18.04LTS jupyter-notebook
  • 13.
    SIProp Project, 2006-201913 Run jupyter-notebook on Windows Run a Browser on Windows Copy [http://localhost:8888/?token=xxx] from Ubuntu18.04LTS Paste the Browser’s URL Bar
  • 14.
    SIProp Project, 2006-201914 Change to Quick Edit Mode If you can’t copy URL on Ubuntu18.04LTS, please change Ubuntu18.04LTS’s property. Click Ubuntu18.04LTS’s Menu Bar Click [properties] Check [Quick Edit Mode]
  • 15.
    SIProp Project, 2006-201915 Run a QuTiP Sample on jupyter-notbook Enjoy!!!