qiskit.circuit.QuantumCircuit.rxx¶
- QuantumCircuit.rxx(theta, qubit1, qubit2)[source]¶
Apply
RXXGate
.For the full matrix form of this gate, see the underlying gate documentation.
- Paramètres
theta (Union[ParameterExpression, float]) – The angle of the rotation.
qubit1 (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) – The qubit(s) to apply the gate to.
qubit2 (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) – The qubit(s) to apply the gate to.
- Renvoie
A handle to the instructions created.
- Type renvoyé