CNOT4_32: 4 qubit CNOT gate (control-3,target-2)

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

View source: R/CNOT4_32.R

Description

This function applies a CNOT gate to 4 qubits. The qubits start from 0,1,2,3,4. Here control is qubit 3 and target is qubit 2

Usage

1

Arguments

a

The input

Value

result The result of applying the CNOT4_32 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
CNOT3_12

Examples

1
2
3
4
# Initialze global variables
init()
CNOT4_32(q1001_)
CNOT4_32(I16)

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