diff --git a/tutorials/algorithms/01_algorithms_introduction.ipynb b/tutorials/algorithms/01_algorithms_introduction.ipynb index 808ccda3a..fbe64f29f 100644 --- a/tutorials/algorithms/01_algorithms_introduction.ipynb +++ b/tutorials/algorithms/01_algorithms_introduction.ipynb @@ -52,19 +52,9 @@ "outputs": [ { "data": { - "text/html": [ - "
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐\n", - "q_0: ┤ RY(θ[0]) ├─■─┤ RY(θ[2]) ├─■─┤ RY(θ[4]) ├─■─┤ RY(θ[6]) ├\n", - " ├──────────┤ │ ├──────────┤ │ ├──────────┤ │ ├──────────┤\n", - "q_1: ┤ RY(θ[1]) ├─■─┤ RY(θ[3]) ├─■─┤ RY(θ[5]) ├─■─┤ RY(θ[7]) ├\n", - " └──────────┘ └──────────┘ └──────────┘ └──────────┘" - ], + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAB7CAYAAACIG9xhAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Il7ecAAAACXBIWXMAAAsTAAALEwEAmpwYAAAV50lEQVR4nO3de1hUBf7H8ffMgAKCCqKSWAoilCiUl1K8oOWurD9/pmuWl9o0f1nolkputam1G6Vl2br7VFZb6rabukmmrmuWJeAFu2ipoBbeyUupqQmKIDC/PyZRAoajyJyZ6fN6nnmEc87DfPg4zHfOmcPBYrfb7YiIiBhgNTuAiIh4Dg0NERExTENDREQM09AQERHDNDRERMQwDQ0RETFMQ0NERAzT0BAREcM0NERExDANDRERMUxDQ0REDNPQEBERwzQ0RETEMA0NERExTENDREQM09AQERHDNDRERMQwDQ0RETFMQ0NERAzT0BAREcM0NERExDANDRERMUxDQ0REDNPQEBERwzQ0RETEMA0NERExzMfsAO7umzWQf9Sc+w5qBjG3mnPfZlDXrqOuXcesruuqZw2NGuQfhVMHzU7xy6CuXUddu463da3DUyIiYpiGhoiIGKahISIihmloi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LEWHt8bH58sic3vjYfPGr16DC+tR/3snmXR8xc9G9ZOUsMymld3DW9Z7DW0iZk8jk1/rwxder+FWn35mY1PM56/rQsV38/m9dSHm1F8dOfUvPuDucfCWpSU3PIV/tXsONbW41KV1lOjx1FYzpP6P847Xb0liU/hzhoW2Jb5PItHverbBtYVEBzy28m5hru7g6pldw1vVLyZkVtlXXteOs6zkTK/+RlalzBxDS8BpXRvQazrruEtOPLjH9KmxvZtcWu059cMrMa/Q0bgmdh5lz32ZQ166jrl3HrK7rqmftadQgyMQTocy8bzOoa9dR165j1vdbV/erPQ0RETFMb4SLiIhhGhoiImKYhoaIiBimoSEiIoZpaIiIiGEaGiIiYpiGhoiIGKahISIihmloiIiIYRoaIiJimIaGiIgYpqEhIiKGaWiIiIhhGhoiImKYhoaIiBimoSEiIoZpaIiIiGEaGiIiYtj/AztR363q98R/AAAAAElFTkSuQmCC\n", "text/plain": [ - " ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐\n", - "q_0: ┤ RY(θ[0]) ├─■─┤ RY(θ[2]) ├─■─┤ RY(θ[4]) ├─■─┤ RY(θ[6]) ├\n", - " ├──────────┤ │ ├──────────┤ │ ├──────────┤ │ ├──────────┤\n", - "q_1: ┤ RY(θ[1]) ├─■─┤ RY(θ[3]) ├─■─┤ RY(θ[5]) ├─■─┤ RY(θ[7]) ├\n", - " └──────────┘ └──────────┘ └──────────┘ └──────────┘" + "
Qiskit Software | Version |
---|---|
Qiskit | 0.23.1 |
Terra | 0.16.1 |
Aer | 0.7.1 |
Ignis | 0.5.1 |
Aqua | 0.8.1 |
IBM Q Provider | 0.11.1 |
System information | |
Python | 3.6.1 |Continuum Analytics, Inc.| (default, May 11 2017, 13:09:58) \n", - "[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] |
OS | Linux |
CPUs | 1 |
Memory (Gb) | 5.827335357666016 |
Tue Nov 17 08:50:18 2020 EST |
Qiskit Software | Version |
---|---|
Qiskit | 0.23.1 |
Terra | 0.16.1 |
Aer | 0.7.1 |
Ignis | 0.5.1 |
Aqua | 0.8.1 |
IBM Q Provider | 0.11.1 |
System information | |
Python | 3.7.8 | packaged by conda-forge | (default, Jul 31 2020, 02:25:08) \n", + "[GCC 7.5.0] |
OS | Linux |
CPUs | 8 |
Memory (Gb) | 31.40900421142578 |
Fri Jan 15 12:11:24 2021 UTC |
© Copyright IBM 2017, 2020.
This code is licensed under the Apache License, Version 2.0. You may
obtain a copy of this license in the LICENSE.txt file in the root directory
of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
Any modifications or derivative works of this code must retain this
copyright notice, and modified files need to carry a notice indicating
that they have been altered from the originals.
© Copyright IBM 2017, 2021.
This code is licensed under the Apache License, Version 2.0. You may
obtain a copy of this license in the LICENSE.txt file in the root directory
of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
Any modifications or derivative works of this code must retain this
copyright notice, and modified files need to carry a notice indicating
that they have been altered from the originals.