src/framework/operations.hpp
// Raise an exception if params is empty
Raise an exception if params is empty
Raise an exception if params is empty
inline void check_empty_params(const Op &op) {
  if (op.params.empty())
    throw std::invalid_argument("Invalid qobj \"" + op.name + 
                                "\" instruction (\"params\" is empty).");
}
inline void check_empty_params ( const Op & op ) { if ( op . params . empty ( ) ) throw std :: invalid_argument ( " \" " + op . name + " \" \" \" " ) ; }
Raise an exception if params is empty
Raise an exception if params is empty