You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PennyLane produces batches through broadcasting, measurement grouping, differentiation, and shot vectors. Native batching should improve these workflows without undoing concurrent single-program execution.
Current state
python/mqt/core/plugins/pennylane/device.py maps preprocessed tapes to jobs. #2349 submits individual jobs before waiting and preserves ordered results and best-effort cleanup.
Tests compare native and fallback results for ordinary tapes, broadcasts, non-commuting groups, parameter-shift batches, and shot vectors.
Failure and KeyboardInterrupt cleanup preserves the first error and attempts cancellation of submitted work.
Unsupported batching does not regress asynchronous overlap.
Run focused PennyLane/DDSIM tests, supported/minimum sessions, and full lint.
Non-goals
Requiring the MQT compiler for batching; payload capability design; changing supported gate decomposition or sampling semantics.
Provider compatibility evidence
Contribute an end-to-end example to #2359 using the matching provider implementation. Verify ordered SDK results and lifecycle behavior for both supported native batches and concurrent single-program fallback. Do not infer aggregate support from a provider SDK's batch convenience API.
🤖 AI text below 🤖
Elevator pitch
PennyLane produces batches through broadcasting, measurement grouping, differentiation, and shot vectors. Native batching should improve these workflows without undoing concurrent single-program execution.
Current state
python/mqt/core/plugins/pennylane/device.py maps preprocessed tapes to jobs. #2349 submits individual jobs before waiting and preserves ordered results and best-effort cleanup.
Work and decisions
Dependencies and release boundary
Parent: ✨ Adopt native multi-program QDMI jobs across Core and SDK plugins. Requires ✨ Extract QDMI multi-program Client and bundled-device support. Preserve #2349 and any successor fixes.
Acceptance and validation
Non-goals
Requiring the MQT compiler for batching; payload capability design; changing supported gate decomposition or sampling semantics.
Provider compatibility evidence
Contribute an end-to-end example to #2359 using the matching provider implementation. Verify ordered SDK results and lifecycle behavior for both supported native batches and concurrent single-program fallback. Do not infer aggregate support from a provider SDK's batch convenience API.