Convert with_measurement_key_mapping
to use Mapping
#5552
Labels
area/measurements
area/protocols
kind/feature-request
Describes new functionality
triage/accepted
A consensus emerged that this bug report, feature request, or other action should be worked on
The
with_measurement_key_mapping
currently asks for aDict
, but really only needs aMapping
. This hurts us in #5548, where we have access to a mapping and are forced to copy it into a dict.Note that this may be a breaking change, as code outside of Cirq may also implement this protocol.
The text was updated successfully, but these errors were encountered: