From 56ce77195e719d0ed5fcc1b43d5a2d1ec474e5db Mon Sep 17 00:00:00 2001 From: Roland Siegbert Date: Sun, 21 Apr 2024 21:22:25 +0200 Subject: [PATCH] Add FIXME for additional OpenQASM example --- doc/source/tutorials/includes/circuits/circuits2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/tutorials/includes/circuits/circuits2.py b/doc/source/tutorials/includes/circuits/circuits2.py index 68e7600c8..33c3bbed4 100644 --- a/doc/source/tutorials/includes/circuits/circuits2.py +++ b/doc/source/tutorials/includes/circuits/circuits2.py @@ -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