The test script is using ITensor-based visitor and the U3 impl. is not accurate. Hence, fixed by using the direct matrix form of U3 (should be faster).
Also, it turns out I didn't forward U3 parameters to exatn-based visitors as well. Fixed accordingly.
Tested by: running the Python test case and comparing the result w/ qpp.
The test script is using ITensor-based visitor and the U3 impl. is not accurate. Hence, fixed by using the direct matrix form of U3 (should be faster).
Also, it turns out I didn't forward U3 parameters to exatn-based visitors as well. Fixed accordingly.
Tested by: running the Python test case and comparing the result w/ qpp.
Signed-off-by: Thien Nguyen nguyentm@ornl.gov