Skip to content

Supporting Stopping Condition with qml.decompose#2486

Merged
lazypanda10117 merged 23 commits intomainfrom
lazypanda10117/stop-condition
Feb 23, 2026
Merged

Supporting Stopping Condition with qml.decompose#2486
lazypanda10117 merged 23 commits intomainfrom
lazypanda10117/stop-condition

Conversation

@lazypanda10117
Copy link
Copy Markdown
Member

@lazypanda10117 lazypanda10117 commented Feb 18, 2026

Context: Supporting stopping_condition when user supplies it in qml.decompose with capture enabled. This will use the plxpr transform to handle the decomposition with stopping condition.

This PR is a subset of #2472. See that PR for a more detailed discussion.

[[sc-110276]]

@lazypanda10117 lazypanda10117 added the wip PRs that are a Work-In-Progress label Feb 18, 2026
@lazypanda10117 lazypanda10117 marked this pull request as ready for review February 18, 2026 19:50
@codecov

This comment was marked as resolved.

@lazypanda10117 lazypanda10117 removed the wip PRs that are a Work-In-Progress label Feb 18, 2026
@lazypanda10117 lazypanda10117 requested review from a team and maliasadi February 18, 2026 20:51
Copy link
Copy Markdown
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

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

Thanks @lazypanda10117!

Comment thread doc/releases/changelog-dev.md Outdated
Comment thread frontend/test/pytest/from_plxpr/test_decompose_transform.py
Comment thread frontend/catalyst/from_plxpr/from_plxpr.py Outdated
Comment thread frontend/catalyst/from_plxpr/from_plxpr.py
Comment thread frontend/catalyst/from_plxpr/from_plxpr.py Outdated
Comment thread frontend/catalyst/from_plxpr/from_plxpr.py
Comment thread frontend/catalyst/from_plxpr/from_plxpr.py
Comment thread frontend/test/pytest/test_pauli_rot_and_measure.py Outdated
Comment thread runtime/lib/backend/null_qubit/null_qubit.toml
Comment thread frontend/test/pytest/from_plxpr/test_decompose_transform.py
Copy link
Copy Markdown
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.

Looks great! 💯

Comment thread frontend/test/pytest/test_pauli_rot_and_measure.py Outdated
Copy link
Copy Markdown
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

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

🪂

@lazypanda10117 lazypanda10117 merged commit 06b405a into main Feb 23, 2026
39 checks passed
@lazypanda10117 lazypanda10117 deleted the lazypanda10117/stop-condition branch February 23, 2026 19:53
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.

3 participants