def _define(self):
    '\n        gate cu3(theta,phi,lambda) c, t\n        { u1(pi/2) t;\n          cx c,t;\n          u3(-theta/2,0,0) t;\n          cx c,t;\n          u3(theta/2,-pi/2,0) t;\n        }\n        '
    from qiskit.circuit.quantumcircuit import QuantumCircuit
    from .u1 import U1Gate
    from .u3 import U3Gate
    from .x import CXGate
    q = QuantumRegister(2, 'q')
    qc = QuantumCircuit(q, name=self.name)
    rules = [(U1Gate((pi / 2)), [q[1]], []), (CXGate(), [q[0], q[1]], []), (U3Gate(((- self.params[0]) / 2), 0, 0), [q[1]], []), (CXGate(), [q[0], q[1]], []), (U3Gate((self.params[0] / 2), ((- pi) / 2), 0), [q[1]], [])]
    qc._data = rules
    self.definition = qc
gate cu3(theta,phi,lambda) c, t
{ u1(pi/2) t;
  cx c,t;
  u3(-theta/2,0,0) t;
  cx c,t;
  u3(theta/2,-pi/2,0) t;
}
def _define(self):
    '\n        gate cu3(theta,phi,lambda) c, t\n        { u1(pi/2) t;\n          cx c,t;\n          u3(-theta/2,0,0) t;\n          cx c,t;\n          u3(theta/2,-pi/2,0) t;\n        }\n        '
    from qiskit.circuit.quantumcircuit import QuantumCircuit
    from .u1 import U1Gate
    from .u3 import U3Gate
    from .x import CXGate
    q = QuantumRegister(2, 'q')
    qc = QuantumCircuit(q, name=self.name)
    rules = [(U1Gate((pi / 2)), [q[1]], []), (CXGate(), [q[0], q[1]], []), (U3Gate(((- self.params[0]) / 2), 0, 0), [q[1]], []), (CXGate(), [q[0], q[1]], []), (U3Gate((self.params[0] / 2), ((- pi) / 2), 0), [q[1]], [])]
    qc._data = rules
    self.definition = qc