qiskit.circuit.QuantumCircuit.x¶
- QuantumCircuit.x(qubit, label=None)[source]¶
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.
- রিটার্ন টাইপ