powered by
If no argument is supplied, returns the matrix of BELL gate. If ket given as input, applies a BELL gate to the input ket and returns the resulting ket
BELL(...)
No argument, or 4 dimensional (2 qubit) ket (column vector) that is input to the gate
Matix of the BELL gate or ket after a BELL gate is applied
# NOT RUN { BELL(ket(1,1,1,1)) BELL() # }
Run the code above in your browser using DataLab