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

Function applyMultiQubitNot

quest/src/api/operations.cpp:1490–1496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1488extern "C" {
1489
1490void applyMultiQubitNot(Qureg qureg, int* targets, int numTargets) {
1491 validate_quregFields(qureg, __func__);
1492 validate_targets(qureg, targets, numTargets, __func__);
1493
1494 // harmlessly re-validates
1495 applyMultiStateControlledMultiQubitNot(qureg, nullptr, nullptr, 0, targets, numTargets);
1496}
1497
1498void applyControlledMultiQubitNot(Qureg qureg, int control, int* targets, int numTargets) {
1499 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85
validate_targetsFunction · 0.85

Tested by

no test coverage detected