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
It was a copy and paste error when I tried to fixORNL-QCI#89
I copied the leg pattern from Hadamard gate which was actually not generally correct (okay for H matrix, which is symmetric).
Effectively, it was applying U gates in reverse.
Need to swap the leg order.
Tested by: running both the Python test scripts.
Signed-off-by: Thien Nguyen <[email protected]>
The following circuit ansatz (rz evaled at optimal param)
produces the incorrect energy for the operator
using the Itensor MPS TNQVM backend. The ExaTN backend produces the correct result, as well as aer and qpp.
The text was updated successfully, but these errors were encountered: