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

        qubitlists is a list of lists of (regname, idx) tuples.
        """
        if self.listen:
            if "barrier" not in self.basis:
                self.basis.append("barrier")
            qubit_indices = []
            for qubitlist in qubitlists:
                for qubits in qubitlist:
                    qubit_indices.append(self._qubit_order_internal.get(qubits))
            self.circuit['instructions'].append({
                'name': 'barrier',
                'qubits': qubit_indices,
            })
            # no conditions on barrier, even when it appears
            # in body of conditioned gate
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:
            if "barrier" not in self.basis:
                self.basis.append("barrier")
            qubit_indices = []
            for qubitlist in qubitlists:
                for qubits in qubitlist:
                    qubit_indices.append(self._qubit_order_internal.get(qubits))
            self.circuit['instructions'].append({
                'name': 'barrier',
                'qubits': qubit_indices,
            })
def barrier ( self , qubitlists ) : if self . listen : if "barrier" not in self . basis : self . basis . append ( "barrier" ) qubit_indices = [ ] for qubitlist in qubitlists : for qubits in qubitlist : qubit_indices . append ( self . _qubit_order_internal . get ( qubits ) ) self . circuit [ 'instructions' ] . append ( { 'name' : 'barrier' , 'qubits' : qubit_indices , } )
Barrier instruction.
Barrier instruction .
"""Barrier instruction.

        qubitlists is a list of lists of (regname, idx) tuples.
        """ # no conditions on barrier, even when it appears # in body of conditioned gate
self
qubitlists