Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Infleqtion/client-superstaq into re…
Browse files Browse the repository at this point in the history
…trieve-ibm-credentials
  • Loading branch information
natibek committed Dec 30, 2024
2 parents 08f05ea + 7744a71 commit 8da0575
Show file tree
Hide file tree
Showing 12 changed files with 249 additions and 285 deletions.
4 changes: 4 additions & 0 deletions cirq-superstaq/cirq_superstaq/daily_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,15 @@ def test_get_resource_estimate(service: css.Service) -> None:

def test_get_targets(service: css.Service) -> None:
result = service.get_targets()
filtered_result = service.get_my_targets()
ibmq_target_info = gss.typing.Target(
target="ibmq_brisbane_qpu",
supports_submit=True,
supports_submit_qubo=False,
supports_compile=True,
available=True,
retired=False,
accessible=True,
)
aqt_target_info = gss.typing.Target(
target="aqt_keysight_qpu",
Expand All @@ -169,10 +171,12 @@ def test_get_targets(service: css.Service) -> None:
supports_compile=True,
available=True,
retired=False,
accessible=True,
)

assert ibmq_target_info in result
assert aqt_target_info in result
assert all(target in result for target in filtered_result)


def test_qscout_compile(service: css.Service) -> None:
Expand Down
Loading

0 comments on commit 8da0575

Please sign in to comment.