RZZGate
class qiskit.circuit.library.RZZGate(theta, label=None)
Bases: Gate
A parametric 2-qubit interaction (rotation about ZZ).
This gate is symmetric, and is maximally entangling at .
Can be applied to a QuantumCircuit
with the rzz()
method.
Circuit Symbol:
q_0: ───■────
│zz(θ)
q_1: ───■────
Matrix Representation:
This is a direct sum of RZ rotations, so this gate is equivalent to a uniformly controlled (multiplexed) RZ gate:
Examples:
Create new RZZ 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 RZZ gate (i.e. with the negative rotation angle).
power
power(exponent)
Raise gate to a power.