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
In file nv.py classes ControlledRotXInstruction and ControlledRotYInstruction both use axis = [1, 0, 0] as the rotation axis.
It seems to me that ControlledRotYInstruction should use axis = [0, 1, 0] as the rotation axis.
Although this seems "obvious", I don't dare to make the change and issue a pull request, because ControlledRotYInstruction is used twice in transpile.py to implement NV operations _move_electron_carbon and _move_carbon_electron. If ControlledRotYInstruction was really wrong, surely those move operations would not work correctly?
In file
nv.py
classesControlledRotXInstruction
andControlledRotYInstruction
both useaxis = [1, 0, 0]
as the rotation axis.It seems to me that
ControlledRotYInstruction
should useaxis = [0, 1, 0]
as the rotation axis.Although this seems "obvious", I don't dare to make the change and issue a pull request, because
ControlledRotYInstruction
is used twice intranspile.py
to implement NV operations_move_electron_carbon
and_move_carbon_electron
. IfControlledRotYInstruction
was really wrong, surely those move operations would not work correctly?The text was updated successfully, but these errors were encountered: