Skip to content

Conversation

@andrijapau
Copy link
Contributor

See associated deprecation PR in PennyLane: PennyLaneAI/pennylane#8906

[sc-105439]

@andrijapau andrijapau changed the title update deprecated QNode.transform_program code fix: update deprecated QNode.transform_program code Jan 12, 2026
Copy link
Contributor

@kipawaa kipawaa left a comment

Choose a reason for hiding this comment

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

I think there's also a reference to transform_program in jax_extras/tracing, transform_program = getattr(qnode, "transform_program", []). I think that's all though, looks good!

@github-actions
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md on your branch with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@andrijapau
Copy link
Contributor Author

I think there's also a reference to transform_program in jax_extras/tracing, transform_program = getattr(qnode, "transform_program", []). I think that's all though, looks good!

Nice catch!

@andrijapau
Copy link
Contributor Author

I think there's also a reference to transform_program in jax_extras/tracing, transform_program = getattr(qnode, "transform_program", []). I think that's all though, looks good!

Nice catch!

Done: a46e508

Copy link
Contributor

@kipawaa kipawaa left a comment

Choose a reason for hiding this comment

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

Thanks! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants