Skip to content

Conversation

ElePT
Copy link
Collaborator

@ElePT ElePT commented Jul 9, 2025

Summary

This PR proposes a custom transpiler pass implementation that detects non-terminal Measure instructions in the circuit and converts them to MidCircuitMeasure instances found in the target.

Open points:

  • Behavior if the target contains more than one MidCircuitMeasure
  • Is it expected to have an analogous pass that converts MidCircuitMeasure instances at the end of the circuit to terminal Measure instances

Details and comments

This is part of the implementation of #2287

Built on top of #2316. Should be rebased after merge.

@ElePT ElePT added the Changelog: New Feature Include in the Added section of the changelog label Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant