Description Usage Arguments Value Examples
If no second argument is supplied, returns the matrix of an Ry rotation gate of the specified radians. If ket given as second argument, applies the Ry gate to the input ket and returns the resulting ket.
1 |
theta |
Radians to phase rotate the ket around the y-axis |
... |
No argument, or ket (column vector) that is input to the gate |
Matix of the Rz gate or ket after an Rz gate is applied
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.