From 2b08a895cf6ba35df859da7679e1bc44baced7ff Mon Sep 17 00:00:00 2001 From: Esteban Ginez <175813+eginez@users.noreply.github.com> Date: Thu, 14 Sep 2023 12:08:32 -0700 Subject: [PATCH] Adjusts default value for optimization_level (#1082) --- qiskit_ibm_runtime/utils/qctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_ibm_runtime/utils/qctrl.py b/qiskit_ibm_runtime/utils/qctrl.py index 221ae65b0..f3acd1ec2 100644 --- a/qiskit_ibm_runtime/utils/qctrl.py +++ b/qiskit_ibm_runtime/utils/qctrl.py @@ -57,7 +57,7 @@ def _raise_if_error_in_options(options: Dict[str, Any]) -> None: arguments={}, ) - optimization_level = options.get("optimization_level", 1) + optimization_level = options.get("optimization_level", 3) _check_argument( optimization_level > 0, description="Q-CTRL Primitives do not support optimization level 0. Please\