| 3115 | } |
| 3116 | |
| 3117 | ErrorCode QPilotMachine::execute_single_amplitude_task(const std::string& prog_str, |
| 3118 | const std::string& target_amplitude, |
| 3119 | Complex_& result, |
| 3120 | const uint32_t& cluster_id /*= ANY_CLUSTER_BACKEND*/) |
| 3121 | { |
| 3122 | if (m_imp_obj->init(m_pilot_url, m_log_cout)) |
| 3123 | { |
| 3124 | return m_imp_obj->execute_single_amplitude_task(prog_str, target_amplitude, result, cluster_id); |
| 3125 | } |
| 3126 | return ErrorCode::ERR_TCP_INIT_FATLT; |
| 3127 | } |
| 3128 | |
| 3129 | ErrorCode QPilotMachine::execute_single_amplitude_task(const std::string& prog_str, |
| 3130 | const std::string& target_amplitude, |
no test coverage detected