qiskit.circuit.QuantumCircuit.rx¶
- QuantumCircuit.rx(theta, qubit, label=None)[fuente]¶
Apply
RXGate
.For the full matrix form of this gate, see the underlying gate documentation.
- Parámetros
theta (ParameterValueType) – The rotation angle of the gate.
qubit (QubitSpecifier) – The qubit(s) to apply the gate to.
label (str | None) – The string label of the gate in the circuit.
- Devuelve
A handle to the instructions created.
- Tipo del valor devuelto