We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699730f commit 9dfacf0Copy full SHA for 9dfacf0
src/bloqade/gemini/analysis/measurement_validation/impls.py
@@ -64,9 +64,7 @@ def terminal_measure(
64
65
# could make these proper exceptions but would be tricky to communicate to user
66
# without revealing under-the-hood details
67
- measure_lattice_element = measurement_analysis_results.get_values(stmt.results)
68
- assert len(measure_lattice_element) == 1
69
- measure_lattice_element = measure_lattice_element[0]
+ measure_lattice_element = measurement_analysis_results.get(stmt.result)
70
assert isinstance(measure_lattice_element, MeasureIdTuple)
71
72
if len(measure_lattice_element.data) != total_qubits_allocated:
0 commit comments