supergrad.utils.gates.cnot

Contents

supergrad.utils.gates.cnot#

supergrad.utils.gates.cnot(n=None, control=0, target=1)[source]#

Quantum object representing the CNOT gate.

SuperGrad-supported implementation of qutip_qip.operations.gates.cnot().

Original docstring below.

Returns:

cnot_gate – Quantum object representation of CNOT gate

Return type:

qobj