redfx-quantum/strange

Exception when Program has 0 qubits

johanvos opened this issue · 0 comments

java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 0

at com.gluonhq.strange.Result.calculateQubits(Result.java:70)
at com.gluonhq.strange.Result.getQubits(Result.java:63)
at com.gluonhq.strange.Result.measureSystem(Result.java:119)