| 1540 | } |
| 1541 | |
| 1542 | std::map<std::string, double> QPilotOSMachine::noise_measure(QProg& prog, int shot) |
| 1543 | { |
| 1544 | std::map<std::string, double> result; |
| 1545 | PilotQVM::ErrorCode m_error = m_pilot_machine->execute_noise_measure_task( |
| 1546 | convert_qprog_to_originir(prog, this), |
| 1547 | *m_noise_params, |
| 1548 | result, |
| 1549 | ANY_CLUSTER_BACKEND /*200*/, |
| 1550 | shot); |
| 1551 | if (m_error != PilotQVM::ErrorCode::NO_ERROR_FOUND) |
| 1552 | { |
| 1553 | QCERR_AND_THROW(run_fail, "QPILOTOS MACHINE ERROR"); |
| 1554 | } |
| 1555 | return result; |
| 1556 | } |
| 1557 | |
| 1558 | std::map<std::string, double> QPilotOSMachine::full_amplitude_measure(QProg&prog, int shot) |
| 1559 | { |
nothing calls this directly
no test coverage detected