#10895: add qitensor spkg (tensors for quantum information)
------------------------------------+---------------------------------------
   Reporter:  dstahlke              |          Owner:  tbd                      
 
       Type:  enhancement           |         Status:  needs_review             
 
   Priority:  major                 |      Milestone:                           
 
  Component:  optional packages     |       Keywords:  quantum spkg tensor 
sd35.5
Work_issues:  documentation to fix  |       Upstream:  N/A                      
 
   Reviewer:                        |         Author:  dstahlke                 
 
     Merged:                        |   Dependencies:                           
 
------------------------------------+---------------------------------------
Changes (by dstahlke):

  * status:  needs_work => needs_review


Comment:

 Replying to [comment:6 zimmerma]:
 > sage: qudit()
 >
 ---------------------------------------------------------------------------
 > NameError                                 Traceback (most recent call
 last)
 >
 > /tmp/sage-4.8.alpha6/<ipython console> in <module>()
 >
 > NameError: name 'qudit' is not defined

 Paul,

 You need to first do "from qitensor import *".  If the spkg is supposed to
 import itself automatically, then I don't know how to make that happen
 (and can't see anything about that in the sage documentation).  On my box
 the qudit() function works if I first import:



 {{{
 sage: from qitensor import *
 sage: qudit()
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /home/dstahlke/<ipython console> in <module>()

 TypeError: qudit() takes at least 2 arguments (0 given)

 }}}

 - Dan

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10895#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to