| 2797 | |
| 2798 | #ifdef USE_CURL |
| 2799 | ErrorCode QPilotMachine::execute_expectation_task(const CalcConfig &config, const std::vector<uint32_t> &qubits, std::vector<double>& result) |
| 2800 | { |
| 2801 | if (m_imp_obj->init(m_pilot_url, m_log_cout)) |
| 2802 | { |
| 2803 | return m_imp_obj->execute_expectation_task(config, qubits, result); |
| 2804 | } |
| 2805 | return ErrorCode::ERR_TCP_INIT_FATLT; |
| 2806 | } |
| 2807 | |
| 2808 | //ErrorCode QPilotMachine::execute_expectation_task_vec(const CalcConfig& config, const std::vector<uint32_t>& qubits, std::vector<double>& result) |
| 2809 | //{ |
no test coverage detected