| 986 | } |
| 987 | |
| 988 | std::string QPilotOSMachine::async_real_chip_measure(const QProg& prog, const int shot, const int chip_id, const bool is_amend, |
| 989 | const bool is_mapping, const bool is_optimization, const std::vector<uint32_t> &specified_block, const bool is_prob_counts, |
| 990 | const std::string& task_describe, const int point_lable) |
| 991 | { |
| 992 | try |
| 993 | { |
| 994 | std::vector<QPanda::QProg> prog_vec; |
| 995 | prog_vec.emplace_back(prog); |
| 996 | std::string task_id = async_real_chip_measure_vec(prog_vec, shot, chip_id, is_amend, is_mapping, is_optimization, specified_block, is_prob_counts, task_describe, point_lable); |
| 997 | return task_id; |
| 998 | } |
| 999 | catch (const std::exception& e) |
| 1000 | { |
| 1001 | PTraceInfo("Catch unknow exception" << e.what()); |
| 1002 | } |
| 1003 | } |
| 1004 | |
| 1005 | std::string QPilotOSMachine::async_real_chip_measure(const std::string& ir, const int shot, const int chip_id, const bool is_amend, |
| 1006 | const bool is_mapping, const bool is_optimization, const std::vector<uint32_t> &specified_block, const bool is_prob_counts, |
nothing calls this directly
no test coverage detected