| 196 | } |
| 197 | |
| 198 | void assert_commPayloadIsPowerOf2(qindex numAmps) { |
| 199 | |
| 200 | if (!isPowerOf2(numAmps)) |
| 201 | raiseInternalError("A communication function was given a payload which was unexpectedly not a power of 2, as implied by preconditions."); |
| 202 | } |
| 203 | |
| 204 | void assert_commQuregIsDistributed(Qureg qureg) { |
| 205 |
no test coverage detected