def __init__(self): BasicGate.__init__(self) self.cnt = 0
def __init__(self): BasicGate.__init__(self) self.cnt = 0 self._matrix = [[0, 1, 0, 0], [1, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]
def __init__(self, *args): BasicGate.__init__(self) self.params = args
def __init__(self): r""" Abstract XmonGate class to distinguish mon from regular proejctq gates. """ BasicGate.__init__(self)