Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit 2083518

Browse files
authored
Merge pull request #972 from Vismai-Khanderao/qiskitissue983
Fix for plot_state list and reordered functions
2 parents 4c68381 + b5d6cb8 commit 2083518

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tutorials/circuits/2_plotting_data_in_qiskit.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188
"\n",
189189
"```\n",
190190
"plot_state_city(quantum_state)\n",
191-
"plot_state_paulivec(quantum_state)\n",
192191
"plot_state_qsphere(quantum_state)\n",
192+
"plot_state_paulivec(quantum_state)\n",
193193
"plot_state_hinton(quantum_state)\n",
194194
"plot_bloch_multivector(quantum_state)\n",
195195
"```\n",
@@ -203,6 +203,7 @@
203203
"$$\\rho = \\sum_k p_k |\\psi_k\\rangle\\langle \\psi_k |.$$\n",
204204
"\n",
205205
"The visualizations generated by the functions are:\n",
206+
"\n",
206207
"- `'plot_state_city'`: The standard view for quantum states where the real and imaginary (imag) parts of the state matrix are plotted like a city.\n",
207208
"\n",
208209
"- `'plot_state_qsphere'`: The Qiskit unique view of a quantum state where the amplitude and phase of the state vector are plotted in a spherical ball. The amplitude is the thickness of the arrow and the phase is the color. For mixed states it will show different `'qsphere'` for each component.\n",

0 commit comments

Comments
 (0)