Learn R Programming

qsimulatR (version 1.1.1)

CNOT: The CNOT gate

Description

The CNOT gate

Usage

CNOT(bits = c(1, 2))

Value

An S4 class 'cnotgate' object is returned

Arguments

bits

integer vector of length two, the first bit being the control and the second the target bit.