-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Problem: Cirq’s implementation of measurements is a model in which binary outcomes come from measurements in the computational basis. There are a variety of cases in which measurements are more general than this. For experimental implementation measurement results are often not just binary, but can correspond to more general floating point data, such as IQ points in superconducting qubits. Another example is that the outcomes may be more rich, such as ternary outcomes. Further measurements in Cirq are simple key value maps, but if measurements are to be used in feedforward or data flow, then these may need to be stored in classical registers and used later in a circuit. Further there is inconsistent use of these measurement results in the results produced by simulators, samplers, and run methods.
Depends on: Classical data (#3231).
Rough requirements:
- Allow more than just binary values to be used for measurements
- Be compatible with solutions to classical data / feedforward.