From 49b27dc12fcf813a2db042ff174072e5036db389 Mon Sep 17 00:00:00 2001 From: Fionn Malone Date: Thu, 12 Dec 2024 09:42:10 -0800 Subject: [PATCH] Remove print autogen notebooks --- qualtran/bloqs/chemistry/trotter/hubbard/hubbard.ipynb | 2 +- qualtran/bloqs/chemistry/trotter/hubbard/trotter_step_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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