Skip to content

Add backline frontend - #3068

Open
mehrdad2m wants to merge 152 commits into
mainfrom
add-backline-frontend
Open

Add backline frontend#3068
mehrdad2m wants to merge 152 commits into
mainfrom
add-backline-frontend

Conversation

@mehrdad2m

@mehrdad2m mehrdad2m commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Context:
we need to make sure PennyLane Backline device is serialized to the catalyst.backline module attribute and compiled through the transport passes

Related PennyLane PR PennyLaneAI/pennylane#9772

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

josephleekl and others added 30 commits July 20, 2026 13:24
Assisted-by: Claude Opus 4.8
Assisted-by: Claude Opus 4.8
Co-authored-by: Mehrdad Malek <39844030+mehrdad2m@users.noreply.github.com>
Co-authored-by: Mehrdad Malek <39844030+mehrdad2m@users.noreply.github.com>
Co-authored-by: Mehrdad Malek <39844030+mehrdad2m@users.noreply.github.com>
Co-authored-by: Mehrdad Malek <39844030+mehrdad2m@users.noreply.github.com>
@multiphaseCFD multiphaseCFD self-assigned this Jul 30, 2026
Base automatically changed from lower-decode-to-transport to main July 31, 2026 20:55
)


def test_executor_node_mapping():

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should we mark these xfail for now since the pennylane PR is not merged yet?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Done here e79e248. and a small fix to apply use_capture fixture

@multiphaseCFD
multiphaseCFD self-requested a review August 4, 2026 19:40
@multiphaseCFD
multiphaseCFD removed their request for review August 4, 2026 19:43
nodes = []
for coproc in backline.coprocessors:
node = _node_dict(coproc)
fn = coproc.coprocessor_fn

@multiphaseCFD multiphaseCFD Aug 4, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@mehrdad2m @josephleekl Is coprocessor_fn optional? The runtime binds a default when symbol is empty, so if it's optional, I would suggest:

if symbol := getattr(fn, "symbol_name",""):
            node["symbol"] = symbol

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants