Japanese
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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 (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) – The qubit(s) to apply the gate to.

  • label (Optional[str]) – The string label of the gate in the circuit.

戻り値の型

InstructionSet

戻り値

A handle to the instructions created.