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
Something is wrong with long-range CNOT's, likely based on the generator. It works for nearest-neighbor and other long-range gates like two-qubit rotations seem fine.
Environment information
N/A
Description
Something is wrong with long-range CNOT's, likely based on the generator. It works for nearest-neighbor and other long-range gates like two-qubit rotations seem fine.
Expected behavior
Expected statevector:
[0.70710678+0.j, 0. +0.j, 0. +0.j,
0. +0.j, 0. +0.j, 0.70710678+0.j,
0. +0.j, 0. +0.j]]
Result:
[-5.00000000e-01+1.62588398e-17j -1.22519038e-16+5.00000000e-01j
-0.00000000e+00+0.00000000e+00j -0.00000000e+00+0.00000000e+00j
-9.47634627e-17-5.00000000e-01j -5.00000000e-01-4.40144154e-17j
0.00000000e+00+0.00000000e+00j 0.00000000e+00+0.00000000e+00j]
How to Reproduce
You can recreate this with a long-range Bell state
H [0]
CX [0, 2]
The text was updated successfully, but these errors were encountered: