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
From looking at the documentation, the Givens rotation has only one parameter, theta. I couldn't find the documentation of the gate matrix, but I believe it is
[ c s ]
[ -s c ]
where c = cos(theta) and s = sin(theta). In general however, a Givens rotation can be complex with the form
The complex Givens rotation can be accommodated by adding a parameter phi and replacing s with s * e^{i phi}. I don't know if the current gate should be modified, or a new gate added.
Describe alternatives you've considered
A workaround is to use the Givens gate together with two Rz gates. But it's more convenient to have a single gate to represent the concept, and it might enable better performance optimizations (I'm not sure).
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
From looking at the documentation, the Givens rotation has only one parameter,
theta
. I couldn't find the documentation of the gate matrix, but I believe it iswhere
c = cos(theta)
ands = sin(theta)
. In general however, a Givens rotation can be complex with the formFor example, see https://www.cs.cornell.edu/~bindel/papers/2002-toms.pdf.
Describe the solution you'd like
The complex Givens rotation can be accommodated by adding a parameter
phi
and replacings
withs * e^{i phi}
. I don't know if the current gate should be modified, or a new gate added.Describe alternatives you've considered
A workaround is to use the Givens gate together with two Rz gates. But it's more convenient to have a single gate to represent the concept, and it might enable better performance optimizations (I'm not sure).
Additional context
No response
The text was updated successfully, but these errors were encountered: