Description Usage Arguments Value Examples
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
1 |
... |
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
1 2 |
Attaching package: ‘QuantumOps’
The following object is masked from ‘package:stats’:
dist
The following objects are masked from ‘package:base’:
I, norm, single
[,1]
[1,] 0.7071068+0i
[2,] 0.7071068+0i
[3,] 0.0000000+0i
[4,] 0.0000000+0i
[,1] [,2] [,3] [,4]
[1,] 0.7071068 0.0000000 0.7071068 0.0000000
[2,] 0.0000000 0.7071068 0.0000000 0.7071068
[3,] 0.0000000 0.7071068 0.0000000 -0.7071068
[4,] 0.7071068 0.0000000 -0.7071068 0.0000000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.