def __init__(self, theta, label=None):
    'Create new RX gate.'
    super().__init__('rx', 1, [theta], label=label)
Create new RX gate.
def __init__(self, theta, label=None):
    
    super().__init__('rx', 1, [theta], label=label)