Python Instructions
Python Libraries
Python codes will be provided in this course in notebook form (.ipynb extension), intended to be run using Jupyter, Visual Studio, or Google Colab. Note that you can convert these notebooks to regular Python files (.py extension) and run the codes on an IDE such as Spyder if you desire.
We will make use of the following common Python libraries throughout this course. If you already use Python, you likely already have these installed. If you are not a Python user already, see the Installing Python section below.
In addition the the common Python libraries, we will also need the following libraries from Qiskit, IBM’s quantum programming organization. These libraries are installed with pip. You can find the instructions for installing the libraries here from IBM.
- qiskit
- qiskit-ibm-runtime
- qiskit-aer
Installing Python for the First Time
A Python Alternative
Google Colab is a cloud-based Python notebook alternative to Jupyter notebooks.
!pip install qiskit
!pip install qiskit-ibm-runtime
!pip install qiskit-aer