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

Commit

Permalink
Merge pull request #972 from Vismai-Khanderao/qiskitissue983
Browse files Browse the repository at this point in the history
Fix for plot_state list and reordered functions
  • Loading branch information
nonhermitian committed Jul 31, 2020
2 parents 4c68381 + b5d6cb8 commit 2083518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tutorials/circuits/2_plotting_data_in_qiskit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@
"\n",
"```\n",
"plot_state_city(quantum_state)\n",
"plot_state_paulivec(quantum_state)\n",
"plot_state_qsphere(quantum_state)\n",
"plot_state_paulivec(quantum_state)\n",
"plot_state_hinton(quantum_state)\n",
"plot_bloch_multivector(quantum_state)\n",
"```\n",
Expand All @@ -203,6 +203,7 @@
"$$\\rho = \\sum_k p_k |\\psi_k\\rangle\\langle \\psi_k |.$$\n",
"\n",
"The visualizations generated by the functions are:\n",
"\n",
"- `'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",
"\n",
"- `'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",
Expand Down

0 comments on commit 2083518

Please sign in to comment.