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

Method insert

Core/Module/Ansatz.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void AnsatzCircuit::insert(QGate& gate)
125{
126 execute(gate.getImplementationPtr(), nullptr);
127 return;
128}
129
130
131void AnsatzCircuit::insert(AnsatzGate& ansatz)

Callers 15

calcGraphParaMethod · 0.45
genAnsatzMethod · 0.45
sortVectorMethod · 0.45
build_cir_PiMethod · 0.45
recursiveMatchMethod · 0.45
feasibilityRulesMethod · 0.45
circuitRewriteMethod · 0.45
DAGPartitionMethod · 0.45
append_sub_cirMethod · 0.45
CutQC.cppFile · 0.45

Calls 8

get_thetas_listMethod · 0.80
executeFunction · 0.50
getImplementationPtrMethod · 0.45
emplace_backMethod · 0.45
get_ansatz_listMethod · 0.45
emptyMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by 9

gorver_test_fun2Function · 0.36
TESTFunction · 0.36
test_layer_1Function · 0.36
parity_check_circuitFunction · 0.36
simulateZTermFunction · 0.36
TESTFunction · 0.36