qiskit/unroll/_printerbackend.py
def cx(self, qubit0, qubit1):
        """Fundamental two qubit gate.

        qubit0 is (regname,idx) tuple for the control qubit.
        qubit1 is (regname,idx) tuple for the target qubit.
        """
        if self.listen:
            if "CX" not in self.basis:
                self.basis.append("CX")
            if self.creg is not None:
                print("if(%s==%d) " % (self.creg, self.cval), end="")
            print("CX %s[%d],%s[%d];" % (qubit0[0], qubit0[1],
                                         qubit1[0], qubit1[1]))
Fundamental two qubit gate.

        qubit0 is (regname,idx) tuple for the control qubit.
        qubit1 is (regname,idx) tuple for the target qubit.
        
Fundamental two qubit gate.
qubit0 is (regname,idx) tuple for the control qubit.
qubit1 is (regname,idx) tuple for the target qubit.
Fundamental two qubit gate . qubit0 is ( regname idx ) tuple for the control qubit . qubit1 is ( regname idx ) tuple for the target qubit .
def cx(self, qubit0, qubit1):
        if self.listen:
            if "CX" not in self.basis:
                self.basis.append("CX")
            if self.creg is not None:
                print("if(%s==%d) " % (self.creg, self.cval), end="")
            print("CX %s[%d],%s[%d];" % (qubit0[0], qubit0[1],
                                         qubit1[0], qubit1[1]))
def cx ( self , qubit0 , qubit1 ) : if self . listen : if "CX" not in self . basis : self . basis . append ( "CX" ) if self . creg is not None : print ( "if(%s==%d) " % ( self . creg , self . cval ) , end = "" ) print ( "CX %s[%d],%s[%d];" % ( qubit0 [ 0 ] , qubit0 [ 1 ] , qubit1 [ 0 ] , qubit1 [ 1 ] ) )
Fundamental two qubit gate.
Fundamental two qubit gate .
"""Fundamental two qubit gate.

        qubit0 is (regname,idx) tuple for the control qubit.
        qubit1 is (regname,idx) tuple for the target qubit.
        """
self
qubit0
qubit1