From e43e8d1e2f1e5da5e446b37101e0fe0ee67b9e74 Mon Sep 17 00:00:00 2001 From: Ed Younis Date: Tue, 12 Sep 2023 21:28:18 -0400 Subject: [PATCH] Updated build_workflow with default model --- bqskit/compiler/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bqskit/compiler/compile.py b/bqskit/compiler/compile.py index c0073828f..c65743b9f 100644 --- a/bqskit/compiler/compile.py +++ b/bqskit/compiler/compile.py @@ -645,7 +645,7 @@ def type_and_check_input(input: CompilationInputLike) -> CompilationInput: def build_workflow( input: Circuit | UnitaryMatrix | StateVector | StateSystem, - model: MachineModel | None, + model: MachineModel | None = None, optimization_level: int = 1, synthesis_epsilon: float = 1e-8, max_synthesis_size: int = 3,