Hello, I encountered a issue with the output of the following script:
from sympy.physics.quantum import * represent(Y(0)*Y(0),nqubits=1) I am expecting the ouput being a 2 by 2 identity matrix. But instead, the output is a single number 1. I don't know if it is a bug in the Python code or I misused the python function. Thank you, Iman -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/fe10f2b2-ef9e-4e69-9998-11485ab3c1e5n%40googlegroups.com.