tlquantum.tt_gates.so4

tlquantum.tt_gates.so4(state1, state2, device=None)[source]

Pair of SO4 two-qubit rotation class instances, with rotations over different states.

Parameters
state1int, the first of 4 quantum states to undergo the 2-qubit rotations
state2int, the second of 4 quantum states to undergo the 2-qubit rotations
devicestring, device on which to run the computation.
Returns
(SO4L, SO4R)