Function qcgpu::gates::r [] [src]

pub fn r(angle: f32) -> Gate

The Phase Shift / R gate. Note that this function has an argument of angle, which corresponds to the rotation angle of the gate.

[1 ,0]

[0, e^i*angle]