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

Function applyControlledMultiQubitNot

quest/src/api/operations.cpp:1498–1504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1496}
1497
1498void applyControlledMultiQubitNot(Qureg qureg, int control, int* targets, int numTargets) {
1499 validate_quregFields(qureg, __func__);
1500 validate_controlAndTargets(qureg, control, targets, numTargets, __func__);
1501
1502 // harmlessly re-validates
1503 applyMultiStateControlledMultiQubitNot(qureg, &control, nullptr, 1, targets, numTargets);
1504}
1505
1506void applyMultiControlledMultiQubitNot(Qureg qureg, int* controls, int numControls, int* targets, int numTargets) {
1507 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Tested by

no test coverage detected