Closed vtomole closed 7 months ago
cirq-cync: needs to invistigate whether the input is valid (and add input validation) and if it's find out the bug in printing.
update: the bug is in the __str__
and __repr__
which use measurements instead of records.
Description of the issue
cirq.ResultDict(records={'c': np.array([[[True], [True]]])})
can be created but it can't be printed .How to reproduce the issue
Will throw
ValueError: Cannot extract 2D measurements for repeated keys
Cirq version
1.4.0.dev20240126200039