CPauliX {QCSimulator} | R Documentation |
Controlled Pauli X gate
Description
This function applies a controlled Pauli X gate on its input
Usage
CPauliX(q)
Arguments
q |
The input |
Value
2 The result of applying the CPauliX gate
Note
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
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
CNOT5_13
Examples
# Initialze global variables
init()
CPauliX(q11_)
CPauliX(I4)
[Package QCSimulator version 0.0.1 Index]