def _define(self):
    '\n        gate rx(theta) a {r(theta, 0) a;}\n        '
    from qiskit.circuit.quantumcircuit import QuantumCircuit
    from .r import RGate
    q = QuantumRegister(1, 'q')
    qc = QuantumCircuit(q, name=self.name)
    rules = [(RGate(self.params[0], 0), [q[0]], [])]
    qc._data = rules
    self.definition = qc
gate rx(theta) a {r(theta, 0) a;}
def _define(self):
    '\n        \n        '
    from qiskit.circuit.quantumcircuit import QuantumCircuit
    from .r import RGate
    q = QuantumRegister(1, 'q')
    qc = QuantumCircuit(q, name=self.name)
    rules = [(RGate(self.params[0], 0), [q[0]], [])]
    qc._data = rules
    self.definition = qc