qiskit/unroll/_printerbackend.py
def new_qreg(self, name, size):
        """Create a new quantum register.

        name = name of the register
        sz = size of the register
        """
        assert size >= 0, "invalid qreg size"
        print("qreg %s[%d];" % (name, size))
Create a new quantum register.

        name = name of the register
        sz = size of the register
        
Create a new quantum register.
name = name of the register
sz = size of the register
Create a new quantum register . name = name of the register sz = size of the register
def new_qreg(self, name, size):
        assert size >= 0, "invalid qreg size"
        print("qreg %s[%d];" % (name, size))
def new_qreg ( self , name , size ) : assert size >= 0 , "invalid qreg size" print ( "qreg %s[%d];" % ( name , size ) )
Create a new quantum register.
Create a new quantum register .
"""Create a new quantum register.

        name = name of the register
        sz = size of the register
        """
self
name
size