| 1596 | } |
| 1597 | |
| 1598 | qcomplex_t QPilotOSMachine::single_amplitude_pmeasure(QProg& prog, std::string amplitude) |
| 1599 | { |
| 1600 | qcomplex_t result; |
| 1601 | PilotQVM::ErrorCode m_error = m_pilot_machine->execute_single_amplitude_task( |
| 1602 | convert_qprog_to_originir(prog, this), amplitude, result, ANY_CLUSTER_BACKEND /*201*/); |
| 1603 | if (m_error != PilotQVM::ErrorCode::NO_ERROR_FOUND) |
| 1604 | { |
| 1605 | QCERR_AND_THROW(run_fail, "QPILOTOS MACHINE ERROR"); |
| 1606 | } |
| 1607 | return result; |
| 1608 | } |
| 1609 | |
| 1610 | void QPilotOSMachine::real_chip_task_validation(int shots, QProg& prog) |
| 1611 | { |
nothing calls this directly
no test coverage detected