RXXGate
class qiskit.circuit.library.RXXGate(theta, label=None)
Bases: Gate
A parametric 2-qubit interaction (rotation about XX).
This gate is symmetric, and is maximally entangling at .
Can be applied to a QuantumCircuit
with the rxx()
method.
Circuit Symbol:
┌─────────┐
q_0: ┤1 ├
│ Rxx(ϴ) │
q_1: ┤0 ├
└─────────┘
Matrix Representation:
Examples:
Create new RXX gate.
Attributes
condition_bits
Get Clbits in condition.
decompositions
Get the decompositions of the instruction from the SessionEquivalenceLibrary.
definition
Return definition in terms of other basic gates.
duration
Get the duration.
label
Return instruction label
name
Return the name.
num_clbits
Return the number of clbits.
num_qubits
Return the number of qubits.
params
return instruction params.
unit
Get the time unit of duration.
Methods
inverse
inverse()
Return inverse RXX gate (i.e. with the negative rotation angle).
power
power(exponent)
Raise gate to a power.
Was this page helpful?
Report a bug or request content on GitHub.