Skip to content

Commit 008cfc3

Browse files
omarcostahamidojaygambetta
authored andcommitted
typos on tutorial and binder issues (Qiskit#560)
* slides typo corrections teach_me_quantum_2018/TeachMeQ/Week_0-Hello_Quantum_World/slides.pdf slides 9 and 12 * typo correction small typos on the qiskit/basics/getting_started_with_qiskit.ipynb * bold and italic correction bold and italic now correctly applied. * punctuation comma to collon * Update README.md trying to fix the binder notebooks * binder fixes trying to fix the binder notebooks * fixing binder i think i could fix the binder issues. simply by using lowercase on the username "qiskit" and correcting the the path to (...)tutorials instead of (...)tutorial forced it to rebuild the binder image. :) if this alone is not enough then we may try to specify python==3.6, because one guy here (https://gitter.im/jupyterhub/binder) was able to make it work just by doing so.
1 parent ccc16b7 commit 008cfc3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In this repository, we've put together a collection of Jupyter notebooks aimed a
1010

1111
The notebooks for these tutorials can be viewed here on GitHub. But for the full experience, you'll want to interact with them!
1212

13-
The easiest way to do this is using [the Binder image](https://mybinder.org/v2/gh/Qiskit/qiskit-tutorial/master?filepath=index.ipynb), which lets you use the notebooks via the web. This means that you don't need to download or install anything, but it also means that you should not insert any private information into the notebooks (such as your API key). We recommend as pointed out in [issue #231](https://github.com/Qiskit/qiskit-tutorial/issues/231) that after you are done using mybinder that you regenerate your token.
13+
The easiest way to do this is using [the Binder image](https://mybinder.org/v2/gh/qiskit/qiskit-tutorials/master?filepath=index.ipynb), which lets you use the notebooks via the web. This means that you don't need to download or install anything, but it also means that you should not insert any private information into the notebooks (such as your API key). We recommend as pointed out in [issue #231](https://github.com/Qiskit/qiskit-tutorial/issues/231) that after you are done using mybinder that you regenerate your token.
1414

1515
Please refer to this [installation guide](INSTALL.md) for setting up Qiskit and the tutorials on your own machine (this is the recommended way).
1616

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Qiskitenv
22
dependencies:
3-
- python=3
3+
- python==3.6
44
- pip=18
55
- matplotlib
66
- notebook

qiskit/basics/getting_started_with_qiskit.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
"<div class=\"alert alert-block alert-info\">\n",
206206
"\n",
207207
"\n",
208-
"When representing the state of a multi-qubit system, the tensor order used in qiskit is different than that use in most physics textbooks. Suppose there are $n$ qubits, and qubit $j$ is labeled as $Q_{j}$. In most textbooks (such as Nielsen and Chuang's \"Quantum Computation and Information\"), the basis vectors for the $n$-qubit state space would be labeled as $Q_{0}\\otimes Q_{1} \\otimes \\cdots \\otimes Q_{n}$. **This is not the ordering used by qiskit!** Instead, qiskit uses an ordering in which the $n^{\\mathrm{th}}$ qubit is on the _left_ side of the tesnsor product, so that the basis vectors are labeled as $Q_n\\otimes \\cdots \\otimes Q_1\\otimes Q_0$.\n",
208+
"When representing the state of a multi-qubit system, the tensor order used in qiskit is different than that use in most physics textbooks. Suppose there are $n$ qubits, and qubit $j$ is labeled as $Q_{j}$. In most textbooks (such as Nielsen and Chuang's \"Quantum Computation and Information\"), the basis vectors for the $n$-qubit state space would be labeled as $Q_{0}\\otimes Q_{1} \\otimes \\cdots \\otimes Q_{n}$. **This is not the ordering used by qiskit!** Instead, qiskit uses an ordering in which the $n^{\\mathrm{th}}$ qubit is on the <em><strong>left</strong></em> side of the tensor product, so that the basis vectors are labeled as $Q_n\\otimes \\cdots \\otimes Q_1\\otimes Q_0$.\n",
209209
"\n",
210210
"For example, if qubit zero is in state 0, qubit 1 is in state 0, and qubit 2 is in state 1, qiskit would represent this state as $|100\\rangle$, whereas most physics textbooks would represent it as $|001\\rangle$.\n",
211211
"\n",
@@ -588,7 +588,7 @@
588588
"cell_type": "markdown",
589589
"metadata": {},
590590
"source": [
591-
"After generating your API token, call, `IBMQ.save_account('MY_TOKEN')`. For Q Network users, you'll also need to include your access url: `IBMQ.save_account('MY_TOKEN', 'URL')`\n",
591+
"After generating your API token, call: `IBMQ.save_account('MY_TOKEN')`. For Q Network users, you'll also need to include your access url: `IBMQ.save_account('MY_TOKEN', 'URL')`\n",
592592
"\n",
593593
"This will store your IBMQ credentials in a local file. Unless your registration information has changed, you only need to do this once. You may now load your accounts by calling,"
594594
]

0 commit comments

Comments
 (0)