qrisp.xxyy#

xxyy(phi, beta, qubits_0, qubits_1)[source]#

Applies an XXYY interaction gate.

Parameters:
phifloat or sympy.Symbol

The global phase to apply.

betafloat or sympy.Symbol

The other angle parameter.

qubits_0Qubit or list[Qubit] or QuantumVariable

The first Qubit to perform the XXYY gate on.

qubits_1Qubit or list[Qubit] or QuantumVariable

The second Qubit to perform the XXYY gate on.