German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.barrier

QuantumCircuit.barrier(*qargs, label=None)[Quellcode]

Apply Barrier. If qargs is empty, applies to all qubits in the circuit.

Parameter
  • qargs (QubitSpecifier) – Specification for one or more qubit arguments.

  • label (str) – The string label of the barrier.

Rückgabe

handle to the added instructions.

Rückgabetyp

qiskit.circuit.InstructionSet