qrisp.QuantumCircuit.barrier#

QuantumCircuit.barrier(qubits=None, clbits=None)[source]#

Instruct a Barrier onto the given Qubit. Barriers can be used as visual markers and compiler directives.

Parameters:
qubitsQubit

The Qubit to apply the barrier on.

clbitsClbit

The Clbits to apply the barrier on.