def __init__(self, qubit, circ=None):
    'Create new X gate.'
    super(XGate, self).__init__('x', [], [qubit], circ)
Create new X gate.
def __init__(self, qubit, circ=None):
    
    super(XGate, self).__init__('x', [], [qubit], circ)