qiskit/qasm/qasmparser.py
def p_gate_op_3(self, program):
        """
        gate_op : id '(' ')' id_list ';'
        """
        program[0] = node.CustomUnitary([program[1], program[4]])
        self.verify_as_gate(program[1], program[4])
        self.verify_bit_list(program[4])
        self.verify_distinct([program[4]])
def p_gate_op_3(self, program):
        """
        gate_op : id '(' ')' id_list ';'
        """
        program[0] = node.CustomUnitary([program[1], program[4]])
        self.verify_as_gate(program[1], program[4])
        self.verify_bit_list(program[4])
        self.verify_distinct([program[4]])
def p_gate_op_3 ( self , program ) : program [ 0 ] = node . CustomUnitary ( [ program [ 1 ] , program [ 4 ] ] ) self . verify_as_gate ( program [ 1 ] , program [ 4 ] ) self . verify_bit_list ( program [ 4 ] ) self . verify_distinct ( [ program [ 4 ] ] )
gate_op : id '(' ')' id_list ';'
gate_op : id ( ) id_list ;