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

Function validate_target

quest/src/core/validation.cpp:3603–3606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3601}
3602
3603void validate_target(Qureg qureg, int target, const char* caller) {
3604
3605 assertValidQubit(qureg, target, report::INVALID_TARGET_QUBIT, caller);
3606}
3607
3608void validate_targets(Qureg qureg, int* targets, int numTargets, const char* caller) {
3609

Callers 15

applySFunction · 0.85
applyTFunction · 0.85
applyHadamardFunction · 0.85
applyPauliXFunction · 0.85
applyPauliYFunction · 0.85
applyPauliZFunction · 0.85
applyRotateXFunction · 0.85
applyRotateYFunction · 0.85
applyRotateZFunction · 0.85
applyRotateAroundAxisFunction · 0.85
applyPhaseShiftFunction · 0.85
applyPhaseFlipFunction · 0.85

Calls 1

assertValidQubitFunction · 0.85

Tested by

no test coverage detected