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

Function leftapplyMultiQubitNot

quest/src/api/multiplication.cpp:536–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534extern "C" {
535
536void leftapplyMultiQubitNot(Qureg qureg, int* targets, int numTargets) {
537 validate_quregFields(qureg, __func__);
538 validate_targets(qureg, targets, numTargets, __func__);
539
540 // harmlessly re-validates
541 PauliStr str = getPauliStr(std::string(numTargets, 'X'), targets, numTargets);
542 leftapplyPauliStr(qureg, str);
543}
544
545void rightapplyMultiQubitNot(Qureg qureg, int* targets, int numTargets) {
546 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 4

validate_quregFieldsFunction · 0.85
validate_targetsFunction · 0.85
getPauliStrFunction · 0.85
leftapplyPauliStrFunction · 0.85

Tested by

no test coverage detected