mindquantum.core.gates.RZ

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

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

RZ=(exp(iθ/2)00exp(iθ/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.