RXXGate
class RXXGate(theta, label=None)
Bases: qiskit.circuit.gate.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.
Methods Defined Here
inverse
RXXGate.inverse()
Return inverse RXX gate (i.e. with the negative rotation angle).
power
RXXGate.power(exponent)
Raise gate to a power.
Attributes
condition_bits
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
Return type
str
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.
Was this page helpful?
Report a bug or request content on GitHub.