machi...@gmail.com
unread,Aug 7, 2013, 5:21:37 AM8/7/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qu...@googlegroups.com
Hi,
I'm trying to make a plot representing an (increasingly) mixed state on the Bloch sphere.
Both for the Bloch() and Bloch3d() class, I see some rescaling of the z-component of the vector, even though I only vary the y-component.
Here is an example:
z=0.75
y=0.911
vecs=[
[0,0*y,z],
[0,y*0.5,z],
[0,0.75*y,z]]
sphere = Bloch()
sphere.view=[90,0]
sphere.add_vectors(vecs)
sphere.show()
I also tried to input a few density matrices in the Bloch 3d class (using the add_states function) with constant z, decreasing x and got a similar result.
(see two pictures).
Any suggestions?
Best,
Machiel