Skip to content

tests: more fun with workers making graphs#392

Merged
acl-cqc merged 5 commits intomainfrom
acl/test_worker_graphs
Mar 9, 2026
Merged

tests: more fun with workers making graphs#392
acl-cqc merged 5 commits intomainfrom
acl/test_worker_graphs

Conversation

@acl-cqc
Copy link
Contributor

@acl-cqc acl-cqc commented Mar 5, 2026

These all work as things stand, but are intended as fodder for #381 - they need a lot of manual typing with opportunities for error....



class ApplyTwiceInput(NamedTuple):
# Note we mangle this as the stub generator does, unlike
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a wee bit ugh, but seems correct for now, maybe we can improve it in #381

just stubs-generate-new 'tierkreis_workers/pytket_worker'
just stubs-generate 'tierkreis_workers/quantinuum_worker'
just stubs-generate 'tierkreis_workers/qulacs_worker'
just stubs-generate 'tierkreis/tests/workers/graph'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was added in #322 but lost in #314

@acl-cqc acl-cqc requested a review from mwpb March 5, 2026 10:43
@acl-cqc acl-cqc merged commit 5b5939a into main Mar 9, 2026
13 checks passed
@acl-cqc acl-cqc deleted the acl/test_worker_graphs branch March 9, 2026 10:26
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