| 527 | } |
| 528 | |
| 529 | std::string python::getTransportLayer(LinkedLibraryHolder *holder) { |
| 530 | if (holder && cudaq::detail::canModifyTarget()) { |
| 531 | auto runtimeTarget = holder->getTarget(); |
| 532 | const std::string codegenEmission = |
| 533 | runtimeTarget.config.getCodeGenSpec(runtimeTarget.runtimeConfig); |
| 534 | if (!codegenEmission.empty()) |
| 535 | return codegenEmission; |
| 536 | } |
| 537 | // Default is full QIR. |
| 538 | return "qir:0.1"; |
| 539 | } |
| 540 | } // namespace cudaq |
nothing calls this directly
no test coverage detected