pennylane icon indicating copy to clipboard operation
pennylane copied to clipboard

Support parameter broadcasting with `GlobalPhase`

Open dwierichs opened this issue 7 months ago • 0 comments

Context: GlobalPhase does not support broadcasting yet.

Description of the Change: Introduce broadcasting to GlobalPhase, using the code from PauliRot with set(pauli_word) == {"I"}. The latter falls back to the GlobalPhase implementation.

Benefits:

Possible Drawbacks:

Related GitHub Issues: Implements #5815

[sc-65316]

dwierichs avatar Jul 01 '24 13:07 dwierichs