Closed junnaka51 closed 2 years ago
Before:
QuantestPyAssertionError:
Not equal to tolerance rtol=0, atol=1e-08
Up to global phase: False
Mismatched elements: 4 / 4 (100%)
Max absolute difference: 1.
Max relative difference: 1.
x: array([-1., -0., -0., -1.])
y: array([0, 1, 1, 0])
After:
Not equal to tolerance rtol=0, atol=1e-08
Up to global phase: False
Mismatched elements: 4 / 4 (100%)
Max absolute difference: 1.
Max relative difference: 1.
x: array([[-1., -0.],
[-0., -1.]])
y: array([[0, 1],
[1, 0]])
What we have:
What we want: