added flatten of state in pytest instead of using within eval_qu
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user