McKinsey tutorial: Qiskit (May 2023)
Preparation:
tl;dr: run Qiskit on a Jupyter notebook in a Python virtual environment
guide using Anaconda:
- install Anaconda (Python version 3 or later), should include Jupyter notebook
- run Anaconda prompt interface, set up virtual environment (
conda create -n env_qiskit python=3
) and activate it (conda activate env_qiskit
)
- install qiskit (
pip install qiskit qiskit[visualization]
)
- start Jupyter notebook (
jupyter notebook
), download and run the following notebooks (Notebook basics, Running code, Qiskit test)
Tutorial: