Skip to content

Add single-measure key option for Cirq converison#1043

Merged
Strilanc merged 5 commits intoquantumlib:mainfrom
chriseclectic:cirq_flat_key
Mar 11, 2026
Merged

Add single-measure key option for Cirq converison#1043
Strilanc merged 5 commits intoquantumlib:mainfrom
chriseclectic:cirq_flat_key

Conversation

@chriseclectic
Copy link
Contributor

This adds an optional kwarg to stimcirq.stim_circuit_to_cirq_circuit for using a fixed measure key for a all cirq.MeasurementGate ops. This will result in cirq.Result containing a single measure record array with all measurements ordered along the "instance" axis in the order they appear in the stim circuit.

This adds an optional kwarg to `stimcirq.stim_circuit_to_cirq_circuit` for using a fixed measure key for a all cirq.MeasurementGate ops. This will result in cirq.Result containing a single measure record array with all measurements ordered along the "instance" axis in the order they appear in the stim circuit.
@Strilanc Strilanc merged commit 12a10a8 into quantumlib:main Mar 11, 2026
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants