mindquantum.core.gates.RY
- class mindquantum.core.gates.RY(pr)[source]
Rotation gate around y-axis. More usage, please see
RX
.\[\begin{split}{\rm RY}=\begin{pmatrix}\cos(\theta/2)&-\sin(\theta/2)\\ \sin(\theta/2)&\cos(\theta/2)\end{pmatrix}\end{split}\]- Parameters
pr (Union[int, float, str, dict, ParameterResolver]) – the parameters of parameterized gate, see above for detail explanation.