| 1468 | } |
| 1469 | |
| 1470 | std::string QPilotOSMachine::noise_learning(const std::string& parameter_json) |
| 1471 | { |
| 1472 | try |
| 1473 | { |
| 1474 | if (m_machine_type == "Pilot") |
| 1475 | { |
| 1476 | std::string task_id; |
| 1477 | m_pilot_machine->execute_noise_learning_task(parameter_json, task_id); |
| 1478 | return task_id; |
| 1479 | } |
| 1480 | } |
| 1481 | catch (const std::exception& e) |
| 1482 | { |
| 1483 | PTraceInfo("Catch unknow exception" << e.what()); |
| 1484 | } |
| 1485 | } |
| 1486 | |
| 1487 | std::string QPilotOSMachine::async_em_compute(const std::string& parameter_json) |
| 1488 | { |