Skip to content

Add Q-CTRL integration tests #1173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
096480b
add initial qctrl test file
kt474 Oct 25, 2023
949a372
add test & decorator
kt474 Oct 25, 2023
81d0d49
add tests from Mirko
kt474 Oct 25, 2023
cf5d284
Merge branch 'main' into qctrl-integration-tests
kt474 Nov 13, 2023
8a71575
Merge branch 'main' into qctrl-integration-tests
kt474 Nov 18, 2023
f34cd3a
Added assertness for preciseness of results
merav-aharoni Nov 23, 2023
79c1ff1
Merge branch 'main' into qctrl-integration-tests
kt474 Nov 28, 2023
2a20d47
Merge pull request #1 from merav-aharoni/qctrl_assertions
kt474 Nov 28, 2023
6420996
remove print statements
kt474 Nov 28, 2023
09161e9
move into e2e folder
kt474 Nov 28, 2023
730145a
Merge branch 'main' into qctrl-integration-tests
kt474 Nov 28, 2023
77dd09b
Merge branch 'main' into qctrl-integration-tests
kt474 Dec 12, 2023
bb62fbe
setup ci
kt474 Dec 12, 2023
6a1256b
Update q-ctrl-tests.yml
kt474 Dec 12, 2023
c46e25e
add account test
kt474 Dec 12, 2023
21a9735
Merge branch 'qctrl-integration-tests' of https://github.com/kt474/qi…
kt474 Dec 12, 2023
c87a0f8
add more account tests
kt474 Dec 12, 2023
b5c85ba
Update test/qctrl/test_qctrl.py
kt474 Dec 14, 2023
0d2a0a9
address comments
kt474 Dec 14, 2023
827280b
Merge branch 'qctrl-integration-tests' of https://github.com/kt474/qi…
kt474 Dec 14, 2023
6a45d78
Merge branch 'Qiskit:main' into qctrl-integration-tests
kt474 Dec 14, 2023
68577a1
Merge branch 'main' into qctrl-integration-tests
kt474 Dec 20, 2023
292e4fe
update date to 2023
kt474 Dec 20, 2023
79c676c
Update test/qctrl/test_qctrl.py
kt474 Dec 20, 2023
4b81f9a
Update test/qctrl/test_qctrl.py
kt474 Dec 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions test/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ def _wrapper(self, service):
return _wrapper


def cloud_only(func):
"""Decorator that runs a test using only ibm_cloud services."""

@wraps(func)
def _wrapper(self, service):
if service._channel != "ibm_cloud":
raise SkipTest(
f"Skipping integration test. {self} does not support channel type {service._channel}"
)
func(self, service)

return _wrapper


def run_quantum_and_cloud_fake(func):
"""Decorator that runs a test using both quantum and cloud fake services."""

Expand Down
Loading