tlquantum.tt_gates.CZR

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

Right (transformed qubit) core of a CZ gate.

Parameters
devicestring, device on which to run the computation.
Returns
Right core of CZ gate.

Methods

forward()

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

forward()[source]

Prepares the right qubit of the CZ 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.