diff --git a/qualtran/bloqs/chemistry/trotter/hubbard/hubbard.ipynb b/qualtran/bloqs/chemistry/trotter/hubbard/hubbard.ipynb index 54fab69e6..0d46f45fd 100644 --- a/qualtran/bloqs/chemistry/trotter/hubbard/hubbard.ipynb +++ b/qualtran/bloqs/chemistry/trotter/hubbard/hubbard.ipynb @@ -616,7 +616,7 @@ "outputs": [], "source": [ "length = 8\n", - "angle = 0.5\n", + "angle = 0.52728\n", "hubb_u = 4.0\n", "interaction_hwp = InteractionHWP(length, angle, hubb_u)" ] diff --git a/qualtran/bloqs/chemistry/trotter/hubbard/trotter_step_test.py b/qualtran/bloqs/chemistry/trotter/hubbard/trotter_step_test.py index c69b7b196..0bcdb6e32 100644 --- a/qualtran/bloqs/chemistry/trotter/hubbard/trotter_step_test.py +++ b/qualtran/bloqs/chemistry/trotter/hubbard/trotter_step_test.py @@ -29,7 +29,7 @@ def test_second_order_suzuki_costs(): # there are 3 hopping unitaries contributing 8 Ts from from the F gate assert costs.total_t_count(ts_per_rotation=0) == (3 * length**2 // 2) * 8 # 3 hopping unitaries and 2 interaction unitaries - assert costs.rotation == (3 * length**2 + 2 * length**2), 3 * length**2 + 2 * length**2 + assert costs.rotation == (3 * length**2 + 2 * length**2) @pytest.mark.notebook