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 mis
On Mon, 21 Nov 2022 at 16:51, Iman wrote:
>
> 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 d
It runs on my PC.
I imported additional modules:
from sympy.physics.quantum import *
from sympy.physics.quantum.qubit import *
from sympy.physics.quantum.gate import *
from sympy.physics.quantum.grover import *
from sympy.physics.quantum.qft import QFT, IQFT, Fourier
from sympy.physics.quantum.ci
This is perhaps related to this issue:
https://github.com/sympy/sympy/issues/24153
On Mon, 21 Nov 2022 at 17:03, Iman wrote:
>
> It runs on my PC.
> I imported additional modules:
> from sympy.physics.quantum import *
> from sympy.physics.quantum.qubit import *
> from sympy.physics.quantum.gate i