|
1 | 1 | {
|
2 | 2 | "cells": [
|
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": {}, |
| 6 | + "source": [ |
| 7 | + "Run the commands below to check all the installed python libraries in your machine. \n", |
| 8 | + "`!pip list` \n", |
| 9 | + "`!pip freeze`" |
| 10 | + ] |
| 11 | + }, |
3 | 12 | {
|
4 | 13 | "cell_type": "markdown",
|
5 | 14 | "metadata": {},
|
|
12 | 21 | "cell_type": "markdown",
|
13 | 22 | "metadata": {},
|
14 | 23 | "source": [
|
15 |
| - "Run the commands below to check all the installed python libraries in your machine. \n", |
16 |
| - "`!pip list` \n", |
17 |
| - "`!pip freeze`" |
| 24 | + "To check Qiskit Version \n", |
| 25 | + "\n", |
| 26 | + "`import qiskit` \n", |
| 27 | + "`qiskit.__qiskit_version__`" |
18 | 28 | ]
|
19 | 29 | },
|
20 | 30 | {
|
21 | 31 | "cell_type": "markdown",
|
22 | 32 | "metadata": {},
|
23 | 33 | "source": [
|
| 34 | + "#### If plot_bloch_multivector is not running follow these steps\n", |
| 35 | + "\n", |
| 36 | + "First upgrade pip \n", |
| 37 | + "`!pip install --upgrade pip --user`\n", |
| 38 | + "\n", |
24 | 39 | "This version of qiskit that will run plot_bloch_multivector is 0.19.0 . If you are having issues with plot_bloch_multivector, run the command below in Juputer Notebook or the terminal. \n",
|
25 | 40 | "`!pip install qiskit==0.19.0` \n",
|
26 | 41 | "If the current user does not have root previleges use the following command. \n",
|
|
31 | 46 | "cell_type": "markdown",
|
32 | 47 | "metadata": {},
|
33 | 48 | "source": [
|
34 |
| - "To check Qiskit Version \n", |
| 49 | + "#### Installing the qiskit_textbook Package \n", |
| 50 | + "The Qiskit Textbook provides some tools and widgets specific to the Textbook. This is not part of Qiskit and is available through the qiskit_textbook package. The quickest way to install this with [Pip](https://pypi.org/project/pip/) and [Git](https://git-scm.com/) is through the command:\n", |
35 | 51 | "\n",
|
36 |
| - "`import qiskit` \n", |
37 |
| - "`qiskit.__qiskit_version__`" |
| 52 | + "`pip install git+https://github.com/qiskit-community/qiskit-textbook.git#subdirectory=qiskit-textbook-src`\n", |
| 53 | + "\n", |
| 54 | + "Alternatively, you can download the folder [qiskit-textbook-src](https://github.com/qiskit-community/qiskit-textbook) from the Github and run:\n", |
| 55 | + "\n", |
| 56 | + "`pip install ./qiskit-textbook-src`\n", |
| 57 | + "from the directory that contains this folder.\n", |
| 58 | + "\n" |
38 | 59 | ]
|
39 | 60 | },
|
40 | 61 | {
|
41 | 62 | "cell_type": "markdown",
|
42 | 63 | "metadata": {},
|
43 | 64 | "source": [
|
44 |
| - "To check git version on the **terminal** \n", |
45 |
| - "`git --version`\n" |
| 65 | + "If required check your git version and upgrade. \n", |
| 66 | + "\n", |
| 67 | + "* To check git version on the **terminal** \n", |
| 68 | + "`git --version`" |
46 | 69 | ]
|
47 | 70 | },
|
48 | 71 | {
|
|
0 commit comments