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

Function assert_bufferPackerGivenIncreasingQubits

quest/src/core/errors.cpp:400–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void assert_bufferPackerGivenIncreasingQubits(int qubit1, int qubit2, int qubit3) {
401
402 if (qubit1 >= qubit2 || qubit2 >= qubit3)
403 raiseInternalError("A function attempted to pack a buffer using non-increasing qubit indices.");
404}
405
406
407

Calls 1

raiseInternalErrorFunction · 0.85

Tested by

no test coverage detected