Skip to content

Add support for lowering adjoint and control with Operator2#2980

Open
mudit2812 wants to merge 8 commits into
handle-operator2from
operator2-adj-ctrl
Open

Add support for lowering adjoint and control with Operator2#2980
mudit2812 wants to merge 8 commits into
handle-operator2from
operator2-adj-ctrl

Conversation

@mudit2812

@mudit2812 mudit2812 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Context:
Follow up for supporting lowering of Operator2

Description of the Change:

  • Add support for translating adjoint and control to Catalyst jaxpr and MLIR.
  • Change the adjoint input of qref/quantum.operator from a property to an attribute.
    • Without this change, adjoint was not able to be lowered. There weren't any errors; the value of adjoint was just not being propagated by the Python binding.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

[sc-123426]

@mudit2812 mudit2812 marked this pull request as ready for review June 29, 2026 17:45
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