Skip to content

[Backline] Accept transports from Catalyst's backend registry - #10353

Merged
josephleekl merged 5 commits into
mainfrom
josephleekl/backline-registry-forward
Oct 20, 2026
Merged

josephleekl merged 5 commits into
mainfrom
josephleekl/backline-registry-forward

Conversation

@josephleekl

@josephleekl josephleekl commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Context:
Catalyst now selects transport backends from a registry that backend packages can extend (PennyLaneAI/catalyst#3362). PennyLane still only accepted the transport names it registers itself, so a new transport still needed a PennyLane change.

Description of the Change:

Benefits:

  • A backend package adds a transport with no PennyLane change.

Possible Drawbacks:

  • Breaking: qp.Backline.backline is removed (experimental API). Use placement.

Testing:

  • New tests: an unknown transport is rejected; a registry transport is accepted; any name is accepted without Catalyst.
  • tests/backline: 227 passed. The Catalyst Backline suite passes against this branch, and qp.Backline(transport="example") resolves to a registered example backend end to end.

Related GitHub Issues:

[sc-134377]

get_transport accepts transports implemented by backends in Catalyst's
registry (lazy import; unchecked without Catalyst). Remove the
Backline.backline alias and update the executor port docstring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@josephleekl
josephleekl requested a review from rniczh October 19, 2026 14:23
@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 69.23077% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.43%. Comparing base (1806cda) to head (1ebd539).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pennylane/backline/transports.py 63.63% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10353      +/-   ##
==========================================
- Coverage   99.44%   99.43%   -0.01%     
==========================================
  Files         617      617              
  Lines       68037    68043       +6     
==========================================
+ Hits        67656    67657       +1     
- Misses        381      386       +5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@josephleekl
josephleekl enabled auto-merge October 20, 2026 21:14
@josephleekl
josephleekl added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit f1fec97 Oct 20, 2026
53 of 54 checks passed
@josephleekl
josephleekl deleted the josephleekl/backline-registry-forward branch October 20, 2026 22:00
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