mindquantum.core.gates.RY

View Source On Gitee
class mindquantum.core.gates.RY(pr)[source]

Rotation gate around y-axis. More usage, please see RX.

RY=(cos(θ/2)sin(θ/2)sin(θ/2)cos(θ/2))
Parameters

pr (Union[int, float, str, dict, ParameterResolver]) – the parameters of parameterized gate, see above for detail explanation.

get_cpp_obj()[source]

Construct cpp obj.