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

Function validate_twoTargets

quest/src/core/validation.cpp:3618–3622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3616 report::INVALID_TARGET_QUBIT, report::DUPLICATE_TARGET_QUBITS);
3617}
3618void validate_twoTargets(Qureg qureg, int target1, int target2, const char* caller) {
3619
3620 int targs[] = {target1, target2};
3621 validate_targets(qureg, targs, 2, caller);
3622}
3623
3624void validate_controls(Qureg qureg, int* ctrls, int numCtrls, const char* caller) {
3625

Callers 12

applySwapFunction · 0.85
applySqrtSwapFunction · 0.85
applyTwoQubitPhaseShiftFunction · 0.85
applyTwoQubitPhaseFlipFunction · 0.85
mixTwoQubitDephasingFunction · 0.85
mixTwoQubitDepolarisingFunction · 0.85
leftapplyCompMatr2Function · 0.85
rightapplyCompMatr2Function · 0.85
leftapplyDiagMatr2Function · 0.85
rightapplyDiagMatr2Function · 0.85
leftapplySwapFunction · 0.85
rightapplySwapFunction · 0.85

Calls 1

validate_targetsFunction · 0.85

Tested by

no test coverage detected