Skip to content

Commit

Permalink
added flatten of state in pytest instead of using within eval_qu
Browse files Browse the repository at this point in the history
  • Loading branch information
vinitha-balachandran committed Feb 8, 2024
1 parent 764c0bd commit 773953e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_quimb_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_eval(nqubits: int, tolerance: float, is_mps: bool):
# Test quimb
result_tn = qibotn.eval_qu.dense_vector_tn_qu(
qasm_circ, init_state_tn, is_mps, backend=config.quimb.backend
)
).flatten()


assert np.allclose(result_sv, result_tn,
Expand Down

0 comments on commit 773953e

Please sign in to comment.