RotationGate: This fucntion applies the rotation gate

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/RotationGate.R

Description

This function applies the rotation gate on its input through an angle 't'

Usage

1

Arguments

t

The angle to rotate

a

The vector

Value

result The result of applying the Rotation gate

Note

Maintainer: Tinniam V Ganesh [email protected]

Author(s)

Tinniam V Ganesh

References

https://quantumexperience.ng.bluemix.net/
https://gigadom.wordpress.com/2016/06/23/introducing-qcsimulator-a-5-qubit-quantum-computing-simulator-in-r/

See Also

CNOT2_10
PauliX
measurement
plotMeasurement
CNOT5_03
CNOT4_13

Examples

1
2
3
# Initialze global variables
init()
RotationGate(30,q0_)

QCSimulator documentation built on May 29, 2017, 11:18 p.m.