ubsuny / 23-Homework1G3

Homework 1 Repository Group 3
0 stars 7 forks source link

Circuit Error #55

Closed pratibha77118 closed 11 months ago

pratibha77118 commented 11 months ago

While executing the python code I got the error:" CircuitError: Index 2 out of range for size ) " which means that there is an issue with my quantum circuit. It might be saying that I am trying to access or measure a qubit at index 2 but my quantum circuit does not have that many qubit. Are there any other possible reason due to which I might have encountered this error?

reshnashrestha commented 11 months ago

Yes, this is the restriction we face while trying to run classical function on quantum computer.