RYYGate
class qiskit.circuit.library.RYYGate(theta, label=None)
Bases: Gate
A parametric 2-qubit interaction (rotation about YY).
This gate is symmetric, and is maximally entangling at .
Can be applied to a QuantumCircuit
with the ryy()
method.
Circuit Symbol:
┌─────────┐
q_0: ┤1 ├
│ Ryy(ϴ) │
q_1: ┤0 ├
└─────────┘
Matrix Representation:
Examples:
Create new RYY 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 RYY 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.