MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / rightapplyMultiQubitNot

Function rightapplyMultiQubitNot

quest/src/api/multiplication.cpp:545–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545void rightapplyMultiQubitNot(Qureg qureg, int* targets, int numTargets) {
546 validate_quregFields(qureg, __func__);
547 validate_quregIsDensityMatrix(qureg, __func__);
548 validate_targets(qureg, targets, numTargets, __func__);
549
550 // harmlessly re-validates
551 PauliStr str = getPauliStr(std::string(numTargets, 'X'), targets, numTargets);
552 rightapplyPauliStr(qureg, str);
553}
554
555} // end de-mangler
556

Callers

nothing calls this directly

Calls 5

validate_quregFieldsFunction · 0.85
validate_targetsFunction · 0.85
getPauliStrFunction · 0.85
rightapplyPauliStrFunction · 0.85

Tested by

no test coverage detected