From 2d6609fe335e8787e94a451dc0893cea5de04251 Mon Sep 17 00:00:00 2001 From: DanPuzzuoli Date: Fri, 16 Jun 2023 15:03:22 -0700 Subject: [PATCH] formatting --- qiskit_dynamics/dispatch/backends/jax.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qiskit_dynamics/dispatch/backends/jax.py b/qiskit_dynamics/dispatch/backends/jax.py index 1ca89bdca..9c0642185 100644 --- a/qiskit_dynamics/dispatch/backends/jax.py +++ b/qiskit_dynamics/dispatch/backends/jax.py @@ -26,7 +26,11 @@ if version.parse(jax.__version__) >= version.parse("0.4.4"): import os - if version.parse(jax.__version__) > version.parse("0.4.6") or os.environ.get('JAX_JIT_PJIT_API_MERGE', None) != '0': + + if ( + version.parse(jax.__version__) > version.parse("0.4.6") + or os.environ.get("JAX_JIT_PJIT_API_MERGE", None) != "0" + ): warnings.warn( "The functionality in the perturbation module of Qiskit Dynamics requires a JAX " "version <= 0.4.6, due to a bug in JAX versions > 0.4.6. For versions 0.4.4, "