Skip to content

Remove additional resource estimator files #669

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 0 additions & 13 deletions azure-quantum/azure/quantum/chemistry/__init__.py

This file was deleted.

142 changes: 0 additions & 142 deletions azure-quantum/azure/quantum/target/microsoft/target.py

This file was deleted.

2 changes: 1 addition & 1 deletion azure-quantum/azure/quantum/target/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ def as_dict(self, validate=True) -> Dict[str, Any]:
if len(self.file_uris) > 0:
result["fileUris"] = self.file_uris

return result
return result
2 changes: 1 addition & 1 deletion azure-quantum/azure/quantum/target/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(
:type output_data_format: str
:param capability: QIR capability. Deprecated, use `target_profile`
:type capability: str
:param provider_id: Id of provider (ex. "microsoft-qc")
:param provider_id: Id of provider
:type provider_id: str
:param content_type: "Content-Type" attribute value to set on input blob (ex. "application/json")
:type content_type: azure.quantum.job.ContentType
Expand Down
3 changes: 0 additions & 3 deletions azure-quantum/tests.live/Run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ function PyTestMarkExpr() {
if ($AzureQuantumCapabilities -notcontains "submit.quantinuum") {
$MarkExpr += " and not quantinuum"
}
if ($AzureQuantumCapabilities -notcontains "submit.microsoft-qc") {
$MarkExpr += " and not microsoft_qc"
}
if ($AzureQuantumCapabilities -notcontains "submit.microsoft-elements") {
$MarkExpr += " and not microsoft_elements_dft"
}
Expand Down
12 changes: 6 additions & 6 deletions azure-quantum/tests/unit/test_pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ def test_list_jobs_filtered_by_job_type(self):
def test_list_jobs_filtered_by_provider(self):
ws = self.create_workspace()

jobs = ws.list_jobs(provider = ["microsoft-qc", "ionq"])
jobs = ws.list_jobs(provider = ["ionq"])
for job in jobs:
self.assertEqual(job.item_type, "Job")

check_job_provider = job.details.provider_id == "microsoft-qc" or job.details.provider_id == "ionq"
check_job_provider = job.details.provider_id == "ionq"
self.assertTrue( check_job_provider, job.details.provider_id)

@pytest.mark.live_test
Expand Down Expand Up @@ -215,11 +215,11 @@ def test_list_sessions(self):
def test_list_sessions_filtered_by_provider(self):
ws = self.create_workspace()

sessions = ws.list_sessions(provider = ["microsoft-qc", "ionq"])
sessions = ws.list_sessions(provider = ["ionq"])
for session in sessions:
self.assertEqual(session.item_type, "Session")

check_session_provider = session._details.provider_id == "microsoft-qc" or session._details.provider_id == "ionq"
check_session_provider = session._details.provider_id == "ionq"
self.assertTrue( check_session_provider, session._details.provider_id)

@pytest.mark.live_test
Expand Down Expand Up @@ -489,13 +489,13 @@ def test_list_top_level_items_filtered_by_provider(self):
resource_group = ws.resource_group
workspace_name = ws.name

items = ws.list_top_level_items(provider = ["microsoft-qc", "ionq"])
items = ws.list_top_level_items(provider = ["ionq"])
for item in items:
self.assertEqual(item.workspace.subscription_id, subscription_id)
self.assertEqual(item.workspace.resource_group, resource_group)
self.assertEqual(item.workspace.name, workspace_name)

check_item_provider = item.details.provider_id == "microsoft-qc" or item.details.provider_id == "ionq"
check_item_provider = item.details.provider_id == "ionq"
self.assertTrue( check_item_provider, item.details.provider_id)

@pytest.mark.live_test
Expand Down
Loading