Skip to content

Commit

Permalink
Add FIXME for additional OpenQASM example
Browse files Browse the repository at this point in the history
  • Loading branch information
rscircus committed Apr 21, 2024
1 parent e14b739 commit 395e213
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/tutorials/includes/circuits/circuits2.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

measurement = execute_qasm(circuit, platform="dummy", nshots=4000)

# FIXME: This crashes - understand the MeasurementObject
freq = measurement.frequencies()
p0 = freq["0"] / 4000 if "0" in freq else 0
p1 = freq["1"] / 4000 if "1" in freq else 0
Expand Down

0 comments on commit 395e213

Please sign in to comment.