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
Consult the security policy. If reporting a security vulnerability, do not report the bug using this form. Use the process described in the policy to report the issue.
Make sure you've read the documentation. Your issue may be addressed there.
Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
If possible, make a PR with a failing test to give us a starting point to work on!
Describe the bug
the r1 and rz have descriptions in the API as rotations about the |1> state and the z-axis, respectively. These are identical rotations, yet the gates are not identical. A sentence mentioning how the phase differs would be useful.
Required prerequisites
Describe the bug
the
r1
andrz
have descriptions in the API as rotations about the |1> state and the z-axis, respectively. These are identical rotations, yet the gates are not identical. A sentence mentioning how the phase differs would be useful.I'll submit a PR with a suggestion for clarity.
Steps to reproduce the bug
compare the descriptions of
r1
andrz
https://nvidia.github.io/cuda-quantum/latest/api/default_ops.html
Expected behavior
Reader should recognize the different behavior of the 2 gates through the verbal descriptions (without having to dive into the matrix multiplication)
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
Suggestions
No response
The text was updated successfully, but these errors were encountered: