From a5e07c6e96ce16646fbdaa077390512fdfc8c831 Mon Sep 17 00:00:00 2001 From: Kaelyn Ferris <43348706+kaelynj@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:36:28 -0400 Subject: [PATCH] Fix pass manager bug from CI --- docs/guides/fractional-gates.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/fractional-gates.ipynb b/docs/guides/fractional-gates.ipynb index 4336078ad2c..4ac46d74d41 100644 --- a/docs/guides/fractional-gates.ipynb +++ b/docs/guides/fractional-gates.ipynb @@ -223,8 +223,8 @@ "backend_fractional = service.least_busy(use_fractional_gates=True)\n", "backend_conventional = service.least_busy(use_fractional_gates=False)\n", "\n", - "pm_fractional = generate_preset_pass_manager(optimization_level=3, backend=backend_fractional)\n", - "pm_conventional = generate_preset_pass_manager(optimization_level=3, backend=backend_conventional)\n", + "pm_fractional = generate_preset_pass_manager(optimization_level=3, backend=backend_fractional, scheduling_method=\"alap\")\n", + "pm_conventional = generate_preset_pass_manager(optimization_level=3, backend=backend_conventional, scheduling_method=\"alap\")\n", "\n", "ising_circuit_fractional = pm_fractional.run(ising_circuit)\n", "ising_circuit_conventional = pm_conventional.run(ising_circuit)" @@ -356,7 +356,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3" + "version": "3.11.7" }, "title": "Fractional gates" },