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

Method cFreeAll

Core/Core.cpp:458–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void QPanda::cFreeAll()
459{
460 if (nullptr == global_quantum_machine)
461 {
462 QCERR("global_quantum_machine init fail");
463 throw init_fail("global_quantum_machine init fail");
464 }
465
466 global_quantum_machine->cFreeAll();
467 return ;
468}
469
470void QPanda::qFree(Qubit *q)
471{

Callers 3

TESTFunction · 0.45
TESTFunction · 0.45
QFinalizeMethod · 0.45

Calls 1

init_failClass · 0.85

Tested by 1

TESTFunction · 0.36