qiskit/unroll/_dagbackend.py
def barrier(self, qubitlists):
        """Barrier instruction.

        qubitlists is a list of lists of (regname, idx) tuples.
        """
        if self.listen:
            names = []
            for qubit in qubitlists:
                for j, _ in enumerate(qubit):
                    names.append(qubit[j])
            if "barrier" not in self.basis:
                self.basis.append("barrier")
                self.circuit.add_basis_element("barrier", -1)
            self.circuit.apply_operation_back("barrier", names)
Barrier instruction.

        qubitlists is a list of lists of (regname, idx) tuples.
        
Barrier instruction.
qubitlists is a list of lists of (regname, idx) tuples.
Barrier instruction . qubitlists is a list of lists of ( regname idx ) tuples .
def barrier(self, qubitlists):
        if self.listen:
            names = []
            for qubit in qubitlists:
                for j, _ in enumerate(qubit):
                    names.append(qubit[j])
            if "barrier" not in self.basis:
                self.basis.append("barrier")
                self.circuit.add_basis_element("barrier", -1)
            self.circuit.apply_operation_back("barrier", names)
def barrier ( self , qubitlists ) : if self . listen : names = [ ] for qubit in qubitlists : for j , _ in enumerate ( qubit ) : names . append ( qubit [ j ] ) if "barrier" not in self . basis : self . basis . append ( "barrier" ) self . circuit . add_basis_element ( "barrier" , - 1 ) self . circuit . apply_operation_back ( "barrier" , names )
Barrier instruction.
Barrier instruction .
"""Barrier instruction.

        qubitlists is a list of lists of (regname, idx) tuples.
        """
self
qubitlists