qiskit.circuit.QuantumCircuit.barrier¶
- QuantumCircuit.barrier(*qargs, label=None)[código fonte]¶
Apply
Barrier
. Ifqargs
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