qiskit.circuit.QuantumCircuit.x¶
- QuantumCircuit.x(qubit, label=None)[소스]¶
Apply
XGate
.For the full matrix form of this gate, see the underlying gate documentation.
- 매개변수
qubit (QubitSpecifier) – The qubit(s) to apply the gate to.
label (str | None) – The string label of the gate in the circuit.
- 반환
A handle to the instructions created.
- 반환 형식