Skip to content

[qref 3.6] Migrate conditionals' plxpr conversion to reference semantics#2740

Open
paul0403 wants to merge 4 commits intopaul0403/qref_frontend_mainfrom
paul0403/qref_frontend_cond
Open

[qref 3.6] Migrate conditionals' plxpr conversion to reference semantics#2740
paul0403 wants to merge 4 commits intopaul0403/qref_frontend_mainfrom
paul0403/qref_frontend_cond

Conversation

@paul0403
Copy link
Copy Markdown
Member

Context:
Migrate conditionals' plxpr conversion to reference semantics.

Description of the Change:
Add lowering for plxpr's cond primitive (@albi3ro )
Delete the conversion from plxpr cond primitive to catalyst cond primitive, so we just use the lowering of plxpr cond primitive directly.

Benefits:
Much cleaner conversion of plxpr to catalys jaxpr.

[sc-115872]

@paul0403 paul0403 requested review from JerryChen97 and albi3ro April 27, 2026 14:11
[(#2672)](https://github.com/PennyLaneAI/catalyst/pull/2672)
[(#2694)](https://github.com/PennyLaneAI/catalyst/pull/2694)
[(#2717)](https://github.com/PennyLaneAI/catalyst/pull/2717)
[(#2740)](https://github.com/PennyLaneAI/catalyst/pull/2740)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

self reminder to do measurement and reset

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.

2 participants