MCPcopy Create free account
hub / github.com/OriginQ/QPanda-2 / execute

Method execute

Core/Utilities/Compiler/QProgToOriginIR.cpp:406–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406void QProgToOriginIR::execute(std::shared_ptr<AbstractQGateNode> cur_node, std::shared_ptr<QNode> parent_node)
407{
408 transformQGate(cur_node.get());
409}
410
411void QProgToOriginIR::execute(std::shared_ptr<AbstractQuantumMeasure> cur_node, std::shared_ptr<QNode> parent_node)
412{

Callers

nothing calls this directly

Calls 14

transformQubitFormatFunction · 0.85
getExprPtrMethod · 0.80
getCExprMethod · 0.80
getTrueBranchMethod · 0.80
getFalseBranchMethod · 0.80
traversalInOrderPCtrFunction · 0.70
traversalFunction · 0.50
getMethod · 0.45
getNodeTypeMethod · 0.45
emptyMethod · 0.45
emplace_backMethod · 0.45
isDaggerMethod · 0.45

Tested by

no test coverage detected