Skip to content

Expand measurement results #3233

@balopat

Description

@balopat

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.

Metadata

Metadata

Labels

area/classicalroadmapfor higher level roadmap items to capture conversations and feedback (not for project tracking)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions