I’m building Cirq circuits programmatically and I need to rename measurement keys after the circuit already…
I’m building Cirq circuits programmatically and I need to rename measurement keys after the circuit already…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). It would be really nice if Cirq had a single way to take a circuit or operation and apply a measurement-key rename…
The task
It would be really nice if Cirq had a single way to take a circuit or operation and apply a measurement-key rename map, leaving everything else alone. Expected outcomes: Public API: cirq.with_measurement_key_mapping(val, key_map) is available as the single entry point for…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.