| 9 | #include "quest.h" |
| 10 | |
| 11 | int main(void) { |
| 12 | |
| 13 | initQuESTEnv(); |
| 14 | reportQuESTEnv(); |
| 15 | |
| 16 | Qureg qureg = createForcedQureg(20); |
| 17 | reportQuregParams(qureg); |
| 18 | |
| 19 | initRandomPureState(qureg); |
| 20 | reportQureg(qureg); |
| 21 | |
| 22 | qreal prob = calcTotalProb(qureg); |
| 23 | reportScalar("Total probability", prob); |
| 24 | |
| 25 | destroyQureg(qureg); |
| 26 | finalizeQuESTEnv(); |
| 27 | |
| 28 | return 0; |
| 29 | } |
nothing calls this directly
no test coverage detected