MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / getTransportLayer

Method getTransportLayer

python/utils/LinkedLibraryHolder.cpp:529–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529std::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

Callers

nothing calls this directly

Calls 4

canModifyTargetFunction · 0.85
getTargetMethod · 0.80
getCodeGenSpecMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected