Skip to content

remove internal PassPipelineWrapper/QNodeWrapper in favour of PennyLane's new unified transforms API #2525

Merged
andrijapau merged 86 commits intomainfrom
andrija/apply_pass_raises_error
Mar 12, 2026
Merged

remove internal PassPipelineWrapper/QNodeWrapper in favour of PennyLane's new unified transforms API #2525
andrijapau merged 86 commits intomainfrom
andrija/apply_pass_raises_error

Conversation

@andrijapau
Copy link
Contributor

@andrijapau andrijapau commented Feb 26, 2026

Copies some of the changes made here: #2487.

The goal of this PR is to get rid of PassPipelineWrapper and QNodeWrapper and use the new unified transforms API.

Complimentary PR in PennyLane that follows up on the removal: PennyLaneAI/pennylane#9123

[sc-112140][sc-104261]

@andrijapau andrijapau changed the title push fix fix: #2487 Feb 26, 2026
Co-authored-by: Christina Lee <chrissie.c.l@gmail.com>
Copy link
Contributor

@albi3ro albi3ro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@andrijapau
Copy link
Contributor Author

Do not merge until someone from @PennyLaneAI/compilation has time to take a look 🙏🏼

@andrijapau andrijapau changed the title remove PassPipelineWrapper/QNodeWrapper in favour of unified qml.transform/CompilePipeline API remove internal PassPipelineWrapper/QNodeWrapper in favour of unified qml.transform/CompilePipeline API Mar 11, 2026
@andrijapau andrijapau changed the title remove internal PassPipelineWrapper/QNodeWrapper in favour of unified qml.transform/CompilePipeline API remove internal PassPipelineWrapper/QNodeWrapper in favour of PennyLane's new unified transforms API Mar 11, 2026
Copy link
Member

@paul0403 paul0403 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Music to my ears 🤩

@andrijapau andrijapau requested a review from paul0403 March 11, 2026 19:10
@andrijapau
Copy link
Contributor Author

@paul0403 are you planning on doing a full review? I.e., providing an approval if you're happy with the changes?

@paul0403
Copy link
Member

@paul0403 are you planning on doing a full review? I.e., providing an approval if you're happy with the changes?

Oh it was already a full review, everything looks good!

I'll click the approve button once the hardcoded branches in CI is removed!

@andrijapau
Copy link
Contributor Author

andrijapau commented Mar 11, 2026

@paul0403 are you planning on doing a full review? I.e., providing an approval if you're happy with the changes?

Oh it was already a full review, everything looks good!

I'll click the approve button once the hardcoded branches in CI is removed!

Ok, that won't happen until PennyLaneAI/pennylane#9123 goes in 👍🏼. I'll re-tag you when it's ready.

github-merge-queue bot pushed a commit to PennyLaneAI/pennylane that referenced this pull request Mar 12, 2026
Must be merged *before*
PennyLaneAI/catalyst#2525 (the PR that removes
`PassPipelineWrapper`.

[sc-104261]

---------

Co-authored-by: Christina Lee <christina@xanadu.ai>
@andrijapau
Copy link
Contributor Author

andrijapau commented Mar 12, 2026

@paul0403 are you planning on doing a full review? I.e., providing an approval if you're happy with the changes?

Oh it was already a full review, everything looks good!
I'll click the approve button once the hardcoded branches in CI is removed!

Ok, that won't happen until PennyLaneAI/pennylane#9123 goes in 👍🏼. I'll re-tag you when it's ready.

Ready to go @paul0403! Just waiting on your approval. 🫡

@andrijapau andrijapau merged commit c6cf95d into main Mar 12, 2026
38 checks passed
@andrijapau andrijapau deleted the andrija/apply_pass_raises_error branch March 12, 2026 14:26
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.

5 participants