View on GitHub
Open this notebook in GitHub to run it yourself
unitary
Arguments:
-
elements: CArray[CArray[CReal]] - A 2d array of complex numbers representing the unitary matrix.
-
target: QArray[QBit] - The quantum state to apply the unitary on.
unitary
Arguments:
elements: CArray[CArray[CReal]]
target: QArray[QBit]