We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e0c0b commit 0bf8393Copy full SHA for 0bf8393
1 file changed
python/tests/backends/test_Infleqtion.py
@@ -188,8 +188,8 @@ def kernel(vec: list[complex]):
188
state = [1. / np.sqrt(2.), 1. / np.sqrt(2.), 0., 0.]
189
counts = cudaq.sample(kernel, state, shots_count=shots)
190
counts.dump()
191
- assert assert_close(counts["00"], shots / 2, 10)
192
- assert assert_close(counts["10"], shots / 2, 10)
+ assert assert_close(shots / 2, counts["00"], 10)
+ assert assert_close(shots / 2, counts["10"], 10)
193
194
195
def test_state_preparation_builder():
@@ -199,8 +199,8 @@ def test_state_preparation_builder():
199
200
201
202
203
204
205
206
def test_exp_pauli():
0 commit comments