The current decompositions treat R with PauliI as identity, which can create confusion when comparing to mathematical behavior where Ri is expected to introduce a global phase. Instead, we should introduce a global phase intrinsic that is used during simulation to apply expected global phase changes and incorporate that into the behavior of the R1 gate as well. This global phase intrinsic should be treated as a no-op during compilation for hardware, so it is not a __quantum__qis__ intrinsic but rather a simulation specific intrinsic.
The current decompositions treat
R
withPauliI
as identity, which can create confusion when comparing to mathematical behavior where Ri is expected to introduce a global phase. Instead, we should introduce a global phase intrinsic that is used during simulation to apply expected global phase changes and incorporate that into the behavior of theR1
gate as well. This global phase intrinsic should be treated as a no-op during compilation for hardware, so it is not a__quantum__qis__
intrinsic but rather a simulation specific intrinsic.