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

Method putReg

Core/Utilities/Tools/ArchGraph.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void ArchGraph::putReg(std::string id, std::string size) {
26 mRegs.push_back(std::make_pair(id, std::stoul(size)));
27}
28
29std::vector<std::vector<int>> ArchGraph::get_adjacent_matrix()
30{

Callers 4

build_sub_graphFunction · 0.80
build_arch_graphMethod · 0.80
initializeMethod · 0.80
ParseMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected