qiskit/qasm/qasmparser.py
def p_unitary_op_0(self, program):
        """
          unitary_op : U '(' exp_list ')' primary
        """
        program[0] = node.UniversalUnitary([program[3], program[5]])
        self.verify_reg(program[5], 'qreg')
        self.verify_exp_list(program[3])
def p_unitary_op_0(self, program):
        """
          unitary_op : U '(' exp_list ')' primary
        """
        program[0] = node.UniversalUnitary([program[3], program[5]])
        self.verify_reg(program[5], 'qreg')
        self.verify_exp_list(program[3])
def p_unitary_op_0 ( self , program ) : program [ 0 ] = node . UniversalUnitary ( [ program [ 3 ] , program [ 5 ] ] ) self . verify_reg ( program [ 5 ] , 'qreg' ) self . verify_exp_list ( program [ 3 ] )
unitary_op : U '(' exp_list ')' primary
unitary_op : U ( exp_list ) primary