qiskit.circuit.QuantumCircuit.r¶
- QuantumCircuit.r(theta, phi, qubit)[source]¶
Apply
RGate
.For the full matrix form of this gate, see the underlying gate documentation.
- প্যারামিটার
theta (Union[ParameterExpression, float]) -- The angle of the rotation.
phi (Union[ParameterExpression, float]) -- The angle of the axis of rotation in the x-y plane.
qubit (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) -- The qubit(s) to apply the gate to.
- রিটার্নস
A handle to the instructions created.
- রিটার্ন টাইপ