You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in this image, the plane at z=0 is drawn in front of some of the positive columns. Surprisingly most, but not all, of the columns are drawn this way.
Other examples:
Steps to reproduce the problem
Plot a state vector with positive amplitudes.
What is the expected behavior?
Positive columns (z>0) should be drawn in front of the plane, negative columns behind it (this second part seems to work already).
Suggested solutions
Don't know what is causing this.
The text was updated successfully, but these errors were encountered:
✅ Issue still reproducible as per original author. Any plot with positive and negative columns should reproduce the issue. Example code to reproduce first image:
from qiskit.tools.visualization import plot_state_city
plot_state_city([0.5+0.5j , 0.5 +0.5j ,0.5 +0.5j ,-0.5-0.5j],
title="Ghosts from qiskit past")
Not sure if the right section but it seems to completely mess up for different states! (State vectors are on top of the ss)
Information
What is the current behavior?
As seen in this image, the plane at z=0 is drawn in front of some of the positive columns. Surprisingly most, but not all, of the columns are drawn this way.
Other examples:
Steps to reproduce the problem
Plot a state vector with positive amplitudes.
What is the expected behavior?
Positive columns (z>0) should be drawn in front of the plane, negative columns behind it (this second part seems to work already).
Suggested solutions
Don't know what is causing this.
The text was updated successfully, but these errors were encountered: