Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stimcirq tag conversions #866

Merged
merged 5 commits into from
Dec 5, 2024
Merged

Add stimcirq tag conversions #866

merged 5 commits into from
Dec 5, 2024

Conversation

Strilanc
Copy link
Collaborator

@Strilanc Strilanc commented Dec 4, 2024

  • Add tag: str = "" to stim.Circuit.append
  • Stim tags now become string tags on cirq circuit operations
  • A string tag on a cirq operation will turn into a stim tag by default if there is exactly one such string tag
  • Add optional tag_func argument to stimcirq.cirq_circuit_to_stim_circuit

Some inspiration from #862

- Add `tag: str = ""` to `stim.Circuit.append`
- Stim tags now become string tags on cirq circuit operations
- A string tag on a cirq operation will turn into a stim tag by default if there is exactly one such string tag
- Add optional  `tag_func` argument to `stimcirq.cirq_circuit_to_stim_circuit`
@Strilanc Strilanc mentioned this pull request Dec 4, 2024
@Strilanc Strilanc enabled auto-merge (squash) December 5, 2024 17:11
@Strilanc Strilanc merged commit 8767124 into main Dec 5, 2024
55 checks passed
@Strilanc Strilanc deleted the stimcirqtags branch December 5, 2024 17:38
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.

1 participant