diff --git a/tests/test_tensor/test_tensor_2d.py b/tests/test_tensor/test_tensor_2d.py index 710498f6..8adb951b 100644 --- a/tests/test_tensor/test_tensor_2d.py +++ b/tests/test_tensor/test_tensor_2d.py @@ -273,7 +273,7 @@ def test_contract_hotrg_two_layer_rand_peps(self): bond_dim=2, ) norm = psi.make_norm() - xe = norm.contract(all, optimize="auto-hq") + xe = norm.contract(all, optimize="auto-hq", cache_expression=False) xt = norm.contract_hotrg(max_bond=5) assert xt == pytest.approx(xe, rel=1e-4)