CNOT4_13 {QCSimulator} | R Documentation |
4 qubit CNOT gate (control-1,target-3)
Description
This function applies a CNOT gate to 4 qubits. The qubits start from 0,1,2,3,4. Here control is qubit 1 and target is qubit 3
Usage
CNOT4_13(a)
Arguments
a |
The input |
Value
result The result of applying the CNOT4_13 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
CNOT3_12
Examples
# Initialze global variables
init()
CNOT4_13(q1001_)
CNOT4_13(I16)
[Package QCSimulator version 0.0.1 Index]