RYGate¶
-
class
RYGate
(theta, label=None)[source]¶ Bases:
qiskit.circuit.gate.Gate
Single-qubit rotation about the Y axis.
Circuit symbol:
┌───────┐ q_0: ┤ Ry(ϴ) ├ └───────┘
Matrix Representation:
\[ \begin{align}\begin{aligned}\newcommand{\th}{\frac{\theta}{2}}\\\begin{split}RY(\theta) = exp(-i \th Y) = \begin{pmatrix} \cos{\th} & -\sin{\th} \\ \sin{\th} & \cos{\th} \end{pmatrix}\end{split}\end{aligned}\end{align} \]Create new RY gate.
Methods Defined Here
Return a (multi-)controlled-RY gate.
Return inverted RY gate.
Attributes
-
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
-
params
¶ return instruction params.
-
unit
¶ Get the time unit of duration.
-