Learn R Programming

QCSimulator (version 0.0.1)

T1Gate: Apply a T1Gate

Description

This function applies a T1Gate on its input

Usage

T1Gate(a)

Arguments

a
The input

Value

result The result of applying the T1Gate gate

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 CNOT3_12

Examples

Run this code
# Initialze global variables
init()
T1Gate(q1_)
T1Gate(SGate(Hadamard(I2)))


Run the code above in your browser using DataLab