tlquantum.tt_gates.CNOTL

class tlquantum.tt_gates.CNOTL(device=None)[source]

Left (control-qubit) core of a CNOT gate.

Parameters
devicestring, device on which to run the computation.
Returns
Left core of CNOT gate.

Methods

forward()

Prepares the left qubit of the CNOT gate for forward contraction by calling the forward method and preparing the tt-factorized form of matrix representation.

forward()[source]

Prepares the left qubit of the CNOT gate for forward contraction by calling the forward method and preparing the tt-factorized form of matrix representation.

Returns
Gate tensor for general forward pass.