Ry: Rotation operation about y-axis of the Bloch sphere

Description Usage Arguments Value References Examples

View source: R/Ry.R

Description

This function operates the Rotation gate about the y-axis of the Bloch sphere by an angle theta on a conformable input matrix n.

Usage

1
Ry(n, theta)

Arguments

n

a vector/matrix

theta

an angle

Value

A vector or a matrix after operating the Rotation gate about the y-axis of the Bloch sphere, by an angle theta, on a conformable input matrix or a vector n.

References

https://en.wikipedia.org/wiki/Quantum_logic_gate
http://www2.optics.rochester.edu/~stroud/presentations/muthukrishnan991/LogicGates.pdf
http://www.physics.udel.edu/~msafrono/650/Lecture%204%20-%205.pdf

Examples

1
2
init()
Ry(Q$Q1, pi/3)

QGameTheory documentation built on July 8, 2020, 7:27 p.m.

Related to Ry in QGameTheory...