Skip to content

Conversation

@ihincks
Copy link
Collaborator

@ihincks ihincks commented Jan 14, 2026

Summary

This PR adds a guide to describe broadcasting semantics of the Executor and QuantumProgram in detail. IT also updates some docstrings to be consistent with the guide.

Details and comments

Fixes #

* - ``(4, 3)``
- ``(2, 4, 3)``
- 4×3=12 configs, 2 randomizations each

Copy link
Collaborator

Choose a reason for hiding this comment

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

It's an excellent document, clear and clean.

How about input extrinsic=(4, 3) and shape=(2, 1, 3)? Is (2, 1, 3) broadcastable from (4, 3)? Our code allows this example, and the result has 12 configs, 2 randomizations each. If it's valid then it deserves an example and a dedicated explanation.

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