Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
124
void AnsatzCircuit::insert(QGate& gate)
125
{
126
execute(gate.getImplementationPtr(), nullptr);
127
return;
128
}
129
130
131
void AnsatzCircuit::insert(AnsatzGate& ansatz)
Callers
15
calcGraphPara
Method · 0.45
genAnsatz
Method · 0.45
matrix_decompose_hamiltonian
Method · 0.45
sortVector
Method · 0.45
build_cir_Pi
Method · 0.45
recursiveMatch
Method · 0.45
feasibilityRules
Method · 0.45
circuitRewrite
Method · 0.45
DAGPartition
Method · 0.45
append_sub_cir
Method · 0.45
get_continue_qubit_map
Method · 0.45
CutQC.cpp
File · 0.45
Calls
8
get_thetas_list
Method · 0.80
execute
Function · 0.50
getImplementationPtr
Method · 0.45
emplace_back
Method · 0.45
get_ansatz_list
Method · 0.45
empty
Method · 0.45
end
Method · 0.45
begin
Method · 0.45
Tested by
9
gorver_test_fun2
Function · 0.36
TEST
Function · 0.36
test_layer_1
Function · 0.36
QuantumChipAdapter_test_3
Function · 0.36
get_qubit_topology_test_1
Function · 0.36
parity_check_circuit
Function · 0.36
simulateZTerm
Function · 0.36
simulatePauliZHamiltonian
Function · 0.36
TEST
Function · 0.36