RZZGate
class RZZGate(theta, label=None)
Bases: qiskit.circuit.gate.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.
Methods Defined Here
inverse
RZZGate.inverse()
Return inverse RZZ gate (i.e. with the negative rotation angle).
power
RZZGate.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.