Skip to content

Commit

Permalink
forgot another skipped test case
Browse files Browse the repository at this point in the history
Signed-off-by: Bettina Heim <[email protected]>
  • Loading branch information
bettinaheim committed Nov 21, 2024
1 parent f9487dc commit 06e8d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/sphinx/examples/python/dynamics/transmon_resonator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
chi_01 = 0.025 * 2 * np.pi
chi_12 = 0.0

# See equation 3.8
omega_01_prime = omega_01 + chi_01
omega_r_prime = omega_r - chi_12 / 2.0
chi = chi_01 - chi_12 / 2.0
Expand Down
3 changes: 2 additions & 1 deletion python/tests/operator/test_evolve_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
import cudaq
# Note: the test model may create state, hence need to set the target to "dynamics"
cudaq.set_target("dynamics")
from system_models import *

if cudaq.num_available_gpus() == 0:
pytest.skip("Skipping GPU tests", allow_module_level=True)
else:
from system_models import *


@pytest.fixture(autouse=True)
Expand Down

0 comments on commit 06e8d35

Please sign in to comment.