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

Method runWithConfiguration

Core/QuantumMachine/OriginQVM.cpp:1523–1531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1521
1522
1523map<string, size_t> QVM::
1524runWithConfiguration(QProg& qProg, vector<ClassicalCondition>& vCBit, int shots, const NoiseModel& noise_model)
1525{
1526 rapidjson::Document doc;
1527 doc.Parse("{}");
1528 auto& alloc = doc.GetAllocator();
1529 doc.AddMember("shots", shots, alloc);
1530 return runWithConfiguration(qProg, vCBit, doc, noise_model);
1531}
1532
1533map<string, size_t> QVM::
1534runWithConfiguration(QProg& qProg, vector<int>& cibts_addr, int shots, const NoiseModel& noise_model)

Callers

nothing calls this directly

Calls 15

sortFunction · 0.85
ClassicalConditionClass · 0.85
run_failClass · 0.85
AddMemberMethod · 0.80
get_cbit_by_addrMethod · 0.80
readout_error_enabledMethod · 0.80
HasMemberMethod · 0.80
GetIntMethod · 0.80
ParseMethod · 0.45
push_backMethod · 0.45
executeMethod · 0.45
getImplementationPtrMethod · 0.45

Tested by

no test coverage detected