Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.barrier

QuantumCircuit.barrier(*qargs, label=None)[código fonte]

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

Parâmetros
  • qargs (QubitSpecifier) – Specification for one or more qubit arguments.

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

Retorno

handle to the added instructions.

Tipo de retorno

qiskit.circuit.InstructionSet