I have a 2-dimensional symbolic Matrix and I compute the eigenvectors of it:
OP_2 = MatrixSpace(CDF,2,2)
sigma_x = OP_2([0,1,1,0])
sigma_y = OP_2([0,i,-i,0])
sigma_z = OP_2([1,0,0,-1])
t=var('t')
H1=(1-t)*sigma_x+t*sigma_z
H1.eigenvectors_left()
Now my idea was to use
H1.eigenvectors_left()[0][1] as a vector with
v1={SR,2,H1.eigenvectors_left()[0][1]}
But this does not work because the types seems to mismatch.
TypeError: unhashable type: 'list'
Does anyone have an idea?
Thanks :-)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.