5 qubit CNOT gate (control-0,target-1)

Share:

Description

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

Usage

1

Arguments

a

The input

Value

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

1
2
3
4
# Initialze global variables
init()
CNOT5_01(q10010_)
CNOT5_01(I32)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.